public interface BpelEntity extends DocumentComponent<BpelEntity>(Code)
Marker interface. Any element in OM will implement this interface. One should
use for keep reference to OM model element use BpelEement instead of Object.
author: ads
This method will apply visitor to each element in model starting from
this. visitor should not know nothing about OM tree
structure. It means it should not perfrom navigation through children
in "visit" method. Om element "accept" method will apply visitor
to any child itself.
Parameters: visitor - visitor for OM.
This method will apply visitor to this OM element.
visitor should perform navigation in tree ( if it wants by
itself ).
Parameters: visitor - visitor for OM.
Creates deep copy of OM element. uniqueMap is used for
storing correspondance between this element and return element. Uid of
this copied element ( end each deep child ) will be null. After attaching
element to OM it will have different uid . Cookies are not copied for
copy element ( and any child ).
Parameters: uniqueMap - map that will be used for filling unique ids. copy of this entity.
Returns element that is copy of this element. This element and all its
children will have the same unique ids. Original element ( this ) is
removed from tree. Uid of this element ( and each child ) will be null.
After pasting element into OM pasted element ( and its children
respectively ) will have the same uid as original. After pasting element
will be invalid and if you will use it for new pasting then it will be
the same as pasting of copy ( see copy method ). All cookies from
original element will be saved for cut element ( and any child ).
copy of this entity that could be used for inserting in OM.
Accessor to model. It should be used for getting reference to model
instead of acccessing to root process ( process could be got from Model ).
Note that this method returns always not null reference to model,
even if component is deleted. It differs from getModel() method
which return null in this case.
bpel OM model.
Returns stored object with given key that was previusly
put into this entity via setCookie.
Parameters: key - key for cookie retrieveing object that stored as cookie identified by key.
Returns ExNamespaceContext context for this element. This context can be
used for retrieving prefixes by uri, uri by prefixes.
namespace context object.
Returns unique id of element in OM. This uid will be null if element was
created via factory ( BpelElementBuilder class ). Element could have not
null uid even if it not in OM. This will be in case when it was copied or
cut.
unique id of this entity.