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