public class DimensionHLAPI extends Object implements HLAPIClass, CoordinateHLAPI
Constructor and Description |
---|
DimensionHLAPI(Dimension lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
DimensionHLAPI(Integer x,
Integer y)
this constructor allows you to set all 'settable' values
excepted container.
|
DimensionHLAPI(Integer x,
Integer y,
NodeGraphicsHLAPI containerDNodeGraphics)
this constructor allows you to set all 'settable' values, including container if any.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(DimensionHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
Dimension |
getContainedItem()
Return encapsulated object
|
NodeGraphics |
getContainerDNodeGraphics()
Return the encapsulate Low Level API object.
|
NodeGraphicsHLAPI |
getContainerDNodeGraphicsHLAPI()
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 |
setContainerDNodeGraphicsHLAPI(NodeGraphicsHLAPI elem)
set ContainerDNodeGraphics
|
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 DimensionHLAPI(Integer x, Integer y)
public DimensionHLAPI(Integer x, Integer y, NodeGraphicsHLAPI containerDNodeGraphics)
public DimensionHLAPI(Dimension lowLevelAPI)
public Dimension getContainedItem()
getContainedItem
in interface HLAPIClass
public Integer getX()
getX
in interface CoordinateHLAPI
public Integer getY()
getY
in interface CoordinateHLAPI
public NodeGraphics getContainerDNodeGraphics()
public NodeGraphicsHLAPI getContainerDNodeGraphicsHLAPI()
public void setXHLAPI(Integer elem)
setXHLAPI
in interface CoordinateHLAPI
public void setYHLAPI(Integer elem)
setYHLAPI
in interface CoordinateHLAPI
public void setContainerDNodeGraphicsHLAPI(NodeGraphicsHLAPI elem)
public boolean equals(DimensionHLAPI 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.