|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperationType
Enumerates the different types of operations that may be performed on mutable MetadataObjects.
The Update, Create and Delete operations occur on a single node and can visibly modify the metadata tree. The NonVisible operation allows modfication to nodes. These modifications must not affect the rendering of the tree in the tool.
Field Summary | |
---|---|
static OperationType |
CREATE
This attribute defines the Create operation. |
static OperationType |
DELETE
This attribute defines the Delete operation. |
static OperationType |
NON_VISIBLE
This attribute defines the unknown operation.The Unknown operation is allowed only non-visible modifications to the tree. |
static OperationType |
UPDATE
This attribute defines the update operation. |
Field Detail |
---|
static final OperationType CREATE
On creating a new node in the metadata tree, the newly created metadata object is returned.The newly created must be the child of the context node. This newly created metadata object must not be returned from any active iterator. The tool may want to display this new node as not coming froming an active iterator.
For example, when a new node is created, it may be displayed in the tool as the last child node for the context node. The iterators at this point do not have this node in them. Refreshing the tree will result in the new iterators having this new node. Upon refreshing the tree, the location of the newly created node may have changed or may not even be visible because of the filter properties.
MetadataObject.getChildren(commonj.connector.metadata.discovery.properties.PropertyGroup)
,
MetadataObjectIterator
static final OperationType DELETE
This operation should only happen via the object wizard and the tool should not call remove on any active iterator. Once the node is deleted, any active iterator below it is invalid. The tool should release references to all active iterators below thw node.
MetadataObjectIterator
static final OperationType UPDATE
static final OperationType NON_VISIBLE
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |