|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.model.container.IlpAbstractRepresentationNode
ilog.cpl.model.container.IlpAbstractRepresentationLink
public class IlpAbstractRepresentationLink
This class is the abstract implementation of
IlpRepresentationLink.
IlpDefaultNetworkLink,
IlpDefaultEquipmentLink| Field Summary |
|---|
| Fields inherited from interface ilog.cpl.model.IlpAttributeValueHolder |
|---|
VALUE_NOT_SET |
| Fields inherited from interface ilog.cpl.model.IlpAttributeValueHolder |
|---|
VALUE_NOT_SET |
| Constructor Summary | |
|---|---|
protected |
IlpAbstractRepresentationLink(IlpAttributeGroup model,
IlpExpansionStrategy strategy,
Logger logger)
Creates a new link. |
protected |
IlpAbstractRepresentationLink(IlpObject object,
IlpExtendedAttributeGroup model,
IlpExpansionStrategy strategy,
Logger logger)
Creates a new link attached to a business object. |
| Method Summary | |
|---|---|
void |
addRepresentationLinkListener(RepresentationLinkListener listener)
Adds a listener that is notified each time a change to this link occurs. |
void |
fireRepresentationLinkEvent(RepresentationLinkEvent event)
Notifies the listeners of a link event. |
IlpRepresentationNode |
getFromNode()
Returns the first end node of the link. |
IlpRepresentationNode |
getToNode()
Returns the second end node of the link. |
void |
removeRepresentationLinkListener(RepresentationLinkListener listener)
Removes a listener previously added with addRepresentationLinkListener. |
void |
setFromNode(IlpRepresentationNode node)
Changes the first end node of the link. |
void |
setToNode(IlpRepresentationNode node)
Changes the second end node of the link. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ilog.cpl.model.container.IlpMutableRepresentationNode |
|---|
addChild, addChildren, addChildren, removeChild, removeChildren, removeChildren, removeChildren |
| Methods inherited from interface ilog.cpl.model.container.IlpRepresentationNode |
|---|
addRepresentationNodeListener, getAllowsChildren, getChildren, getExpansionStrategy, getParent, isLeaf, removeRepresentationNodeListener |
| Methods inherited from interface ilog.cpl.model.IlpRepresentationObject |
|---|
getEditor, getIlpObject |
| Methods inherited from interface ilog.cpl.model.IlpAttributeValueHolder |
|---|
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValue |
| Methods inherited from interface ilog.cpl.model.container.IlpRepresentationNode |
|---|
addRepresentationNodeListener, getAllowsChildren, getChildren, getExpansionStrategy, getParent, isLeaf, removeRepresentationNodeListener |
| Methods inherited from interface ilog.cpl.model.IlpRepresentationObject |
|---|
getEditor, getIlpObject |
| Methods inherited from interface ilog.cpl.model.IlpAttributeValueHolder |
|---|
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValue |
| Constructor Detail |
|---|
protected IlpAbstractRepresentationLink(IlpAttributeGroup model,
IlpExpansionStrategy strategy,
Logger logger)
model - The attribute group.strategy - The child object loader, or null for
a leaf link.logger - Logger for handling log messages.
protected IlpAbstractRepresentationLink(IlpObject object,
IlpExtendedAttributeGroup model,
IlpExpansionStrategy strategy,
Logger logger)
object - The corresponding business object.model - The attribute group.strategy - The child object loader, or null for
a leaf link.logger - Logger for handling log messages.| Method Detail |
|---|
public IlpRepresentationNode getFromNode()
getFromNode in interface IlpRepresentationLinkpublic IlpRepresentationNode getToNode()
getToNode in interface IlpRepresentationLinkpublic void addRepresentationLinkListener(RepresentationLinkListener listener)
addRepresentationLinkListener in interface IlpRepresentationLinklistener - The listener to be added.public void removeRepresentationLinkListener(RepresentationLinkListener listener)
addRepresentationLinkListener.
removeRepresentationLinkListener in interface IlpRepresentationLinklistener - The listener to be removed.public void setFromNode(IlpRepresentationNode node)
setFromNode in interface IlpMutableRepresentationLinkpublic void setToNode(IlpRepresentationNode node)
setToNode in interface IlpMutableRepresentationLinkpublic void fireRepresentationLinkEvent(RepresentationLinkEvent event)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||