public class ArcGraphicsHLAPI extends Object implements HLAPIClass, GraphicsHLAPI
Constructor and Description |
---|
ArcGraphicsHLAPI(ArcGraphics lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
ArcGraphicsHLAPI(ArcHLAPI containerArc)
This constructor give access to required stuff only (and container)
|
ArcGraphicsHLAPI(LineHLAPI line)
this constructor allows you to set all 'settable' values
excepted container.
|
ArcGraphicsHLAPI(LineHLAPI line,
ArcHLAPI containerArc)
this constructor allows you to set all 'settable' values, including container if any.
|
Modifier and Type | Method and Description |
---|---|
void |
addPositionsHLAPI(PositionHLAPI unit) |
boolean |
equals(ArcGraphicsHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
ArcGraphics |
getContainedItem()
Return encapsulated object
|
Arc |
getContainerArc()
Return the encapsulate Low Level API object.
|
ArcHLAPI |
getContainerArcHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Line |
getLine()
Return the encapsulate Low Level API object.
|
LineHLAPI |
getLineHLAPI()
This accessor automatically encapsulate an element of the current object.
|
List<Position> |
getPositions()
Return the encapsulate Low Level API object.
|
List<PositionHLAPI> |
getPositionsHLAPI()
This accessor automatically encapsulate all elements of the selected sublist.
|
void |
removePositionsHLAPI(PositionHLAPI unit) |
void |
setContainerArcHLAPI(ArcHLAPI elem)
set ContainerArc
|
void |
setLineHLAPI(LineHLAPI elem)
set Line
|
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 ArcGraphicsHLAPI(LineHLAPI line)
public ArcGraphicsHLAPI(LineHLAPI line, ArcHLAPI containerArc)
public ArcGraphicsHLAPI(ArcHLAPI containerArc)
public ArcGraphicsHLAPI(ArcGraphics lowLevelAPI)
public ArcGraphics getContainedItem()
getContainedItem
in interface HLAPIClass
public Line getLine()
public Arc getContainerArc()
public List<PositionHLAPI> getPositionsHLAPI()
public LineHLAPI getLineHLAPI()
public ArcHLAPI getContainerArcHLAPI()
public void setLineHLAPI(LineHLAPI elem)
public void setContainerArcHLAPI(ArcHLAPI elem)
public void addPositionsHLAPI(PositionHLAPI unit)
public void removePositionsHLAPI(PositionHLAPI unit)
public boolean equals(ArcGraphicsHLAPI 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.