public class PositionHLAPI extends Object implements HLAPIClass, CoordinateHLAPI
Constructor and Description |
---|
PositionHLAPI(Integer x,
Integer y)
this constructor allows you to set all 'settable' values
excepted container.
|
PositionHLAPI(Integer x,
Integer y,
ArcGraphicsHLAPI containerArcGraphics)
this constructor allows you to set all 'settable' values, including container if any.
|
PositionHLAPI(Integer x,
Integer y,
NodeGraphicsHLAPI containerPNodeGraphics)
this constructor allows you to set all 'settable' values, including container if any.
|
PositionHLAPI(Position lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(PositionHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
Position |
getContainedItem()
Return encapsulated object
|
ArcGraphics |
getContainerArcGraphics()
Return the encapsulate Low Level API object.
|
ArcGraphicsHLAPI |
getContainerArcGraphicsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
NodeGraphics |
getContainerPNodeGraphics()
Return the encapsulate Low Level API object.
|
NodeGraphicsHLAPI |
getContainerPNodeGraphicsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Integer |
getX()
Return the encapsulate Low Level API object.
|
Integer |
getY()
Return the encapsulate Low Level API object.
|
void |
setContainerArcGraphicsHLAPI(ArcGraphicsHLAPI elem)
set ContainerArcGraphics
|
void |
setContainerPNodeGraphicsHLAPI(NodeGraphicsHLAPI elem)
set ContainerPNodeGraphics
|
void |
setXHLAPI(Integer elem)
set X
|
void |
setYHLAPI(Integer elem)
set Y
|
String |
toPNML()
Returns the PNML xml tree for this object.
|
void |
toPNML(FileChannel fc)
Writes the PNML XML tree of this object into file channel.
|
boolean |
validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public PositionHLAPI(Integer x, Integer y)
public PositionHLAPI(Integer x, Integer y, ArcGraphicsHLAPI containerArcGraphics)
public PositionHLAPI(Integer x, Integer y, NodeGraphicsHLAPI containerPNodeGraphics)
public PositionHLAPI(Position lowLevelAPI)
public Position getContainedItem()
getContainedItem
in interface HLAPIClass
public Integer getX()
getX
in interface CoordinateHLAPI
public Integer getY()
getY
in interface CoordinateHLAPI
public ArcGraphics getContainerArcGraphics()
public NodeGraphics getContainerPNodeGraphics()
public ArcGraphicsHLAPI getContainerArcGraphicsHLAPI()
public NodeGraphicsHLAPI getContainerPNodeGraphicsHLAPI()
public void setXHLAPI(Integer elem)
setXHLAPI
in interface CoordinateHLAPI
public void setYHLAPI(Integer elem)
setYHLAPI
in interface CoordinateHLAPI
public void setContainerArcGraphicsHLAPI(ArcGraphicsHLAPI elem)
public void setContainerPNodeGraphicsHLAPI(NodeGraphicsHLAPI elem)
public boolean equals(PositionHLAPI item)
public String toPNML()
toPNML
in interface HLAPIClass
HLAPIClass.toPNML(FileChannel)
public void toPNML(FileChannel fc)
toPNML
in interface HLAPIClass
fc
- the file channel into which to write the contentspublic void fromPNML(org.apache.axiom.om.OMElement subRoot, IdRefLinker idr) throws InnerBuildException, InvalidIDException, VoidRepositoryException
fromPNML
in interface HLAPIClass
subRoot
- the sub-tree to import.idr
- an idreflinker to solve idref.InnerBuildException
- .InvalidIDException
- .VoidRepositoryException
- .public boolean validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics)
validateOCL
in interface HLAPIClass
diagnostics
- for diagnostic informations.Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.