public interface IlpNodeHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
LINK_FROM_NODE
The
fromNodeproperty in a request to create an
IlpRepresentationLink. |
static String |
LINK_FROM_PORT
The
fromPort property in a request to create an
IlpRepresentationLink. |
static String |
LINK_TO_NODE
The
toNode property in a request to create an
IlpRepresentationLink. |
static String |
LINK_TO_PORT
The
toPort property in a request to create an
IlpRepresentationLink. |
| Modifier and Type | Method and Description |
|---|---|
void |
handleChangeRelationship(IlpRepresentationObject object,
IlpRepresentationObject parent,
IlpPosition position)
Requests the change in relationship of an object.
|
void |
handleCloneObject(Collection<? extends IlpRepresentationNode> objects)
Requests the creation of a set of copied objects.
|
Object |
handleCreateObject(Class<?> clazz,
IlpAttributeGroup attributes,
Map<String,Object> properties,
IlpPosition position)
Requests the creation of an object belonging to a given class,
with a set of attributes, and with a given position.
|
void |
handleRemoveObject(Collection<? extends IlpRepresentationNode> objects)
Requests the deletion of a set of objects.
|
void |
handleUpdateObject(IlpRepresentationObject object,
Map newValues)
Requests the change of some properties of an object.
|
static final String LINK_FROM_NODE
fromNodeproperty in a request to create an
IlpRepresentationLink.static final String LINK_TO_NODE
toNode property in a request to create an
IlpRepresentationLink.static final String LINK_FROM_PORT
fromPort property in a request to create an
IlpRepresentationLink.
This property has a value of type IltLinkPort
and is optional.
static final String LINK_TO_PORT
toPort property in a request to create an
IlpRepresentationLink.
This property has a value of type IltLinkPort
and is optional.
Object handleCreateObject(Class<?> clazz, IlpAttributeGroup attributes, Map<String,Object> properties, IlpPosition position)
The handler will:
clazz - An implementation of IlpRepresentationNode.attributes - A set of attributes for the object to be created,
or null.properties - A set of hints for the object to be created,
or null.position - The desired position/shape of the object,
or null.void handleRemoveObject(Collection<? extends IlpRepresentationNode> objects)
The handler will:
objects - A collection of IlpRepresentationNodes.void handleUpdateObject(IlpRepresentationObject object, Map newValues)
object - The representation object.newValues - A map, mapping each IlpAttribute to be
changed to its new values.void handleCloneObject(Collection<? extends IlpRepresentationNode> objects)
objects - A collection of IlpRepresentationNodes.void handleChangeRelationship(IlpRepresentationObject object, IlpRepresentationObject parent, IlpPosition position)
object - The representation object.parent - The new parent of the object; null
implies a root object.position - The position of the object.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.