public class ArcHLAPI extends Object implements HLAPIClass, PnObjectHLAPI
Constructor and Description |
---|
ArcHLAPI(Arc lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
ArcHLAPI(String id,
NameHLAPI name,
NodeHLAPI source,
NodeHLAPI target,
ArcGraphicsHLAPI arcgraphics,
HLAnnotationHLAPI hlinscription)
this constructor allows you to set all 'settable' values
excepted container.
|
ArcHLAPI(String id,
NameHLAPI name,
NodeHLAPI source,
NodeHLAPI target,
ArcGraphicsHLAPI arcgraphics,
HLAnnotationHLAPI hlinscription,
PageHLAPI containerPage)
this constructor allows you to set all 'settable' values, including container if any.
|
ArcHLAPI(String id,
NodeHLAPI source,
NodeHLAPI target)
This constructor give access to required stuff only (not container if any)
|
ArcHLAPI(String id,
NodeHLAPI source,
NodeHLAPI target,
PageHLAPI containerPage)
This constructor give access to required stuff only (and container)
|
Modifier and Type | Method and Description |
---|---|
void |
addToolspecificsHLAPI(ToolInfoHLAPI unit) |
boolean |
equals(ArcHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
ArcGraphics |
getArcgraphics()
Return the encapsulate Low Level API object.
|
ArcGraphicsHLAPI |
getArcgraphicsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Arc |
getContainedItem()
Return encapsulated object
|
Page |
getContainerPage()
Return the encapsulate Low Level API object.
|
PageHLAPI |
getContainerPageHLAPI()
This accessor automatically encapsulate an element of the current object.
|
HLAnnotation |
getHlinscription()
Return the encapsulate Low Level API object.
|
HLAnnotationHLAPI |
getHlinscriptionHLAPI()
This accessor automatically encapsulate an element of the current object.
|
String |
getId()
Return the encapsulate Low Level API object.
|
Name |
getName()
Return the encapsulate Low Level API object.
|
NameHLAPI |
getNameHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Node |
getSource()
Return the encapsulate Low Level API object.
|
NodeHLAPI |
getSourceHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Node |
getTarget()
Return the encapsulate Low Level API object.
|
NodeHLAPI |
getTargetHLAPI()
This accessor automatically encapsulate an element of the current object.
|
List<ToolInfo> |
getToolspecifics()
Return the encapsulate Low Level API object.
|
List<ToolInfoHLAPI> |
getToolspecificsHLAPI()
This accessor automatically encapsulate all elements of the selected sublist.
|
void |
removeToolspecificsHLAPI(ToolInfoHLAPI unit) |
void |
setArcgraphicsHLAPI(ArcGraphicsHLAPI elem)
set Arcgraphics
|
void |
setContainerPageHLAPI(PageHLAPI elem)
set ContainerPage
|
void |
setHlinscriptionHLAPI(HLAnnotationHLAPI elem)
set Hlinscription
|
void |
setIdHLAPI(String elem)
set Id
|
void |
setNameHLAPI(NameHLAPI elem)
set Name
|
void |
setSourceHLAPI(NodeHLAPI elem)
set Source
|
void |
setTargetHLAPI(NodeHLAPI elem)
set Target
|
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 ArcHLAPI(String id, NameHLAPI name, NodeHLAPI source, NodeHLAPI target, ArcGraphicsHLAPI arcgraphics, HLAnnotationHLAPI hlinscription) throws InvalidIDException, VoidRepositoryException
public ArcHLAPI(String id, NameHLAPI name, NodeHLAPI source, NodeHLAPI target, ArcGraphicsHLAPI arcgraphics, HLAnnotationHLAPI hlinscription, PageHLAPI containerPage) throws InvalidIDException, VoidRepositoryException
public ArcHLAPI(String id, NodeHLAPI source, NodeHLAPI target) throws InvalidIDException, VoidRepositoryException
public ArcHLAPI(String id, NodeHLAPI source, NodeHLAPI target, PageHLAPI containerPage) throws InvalidIDException, VoidRepositoryException
public ArcHLAPI(Arc lowLevelAPI)
public Arc getContainedItem()
getContainedItem
in interface HLAPIClass
public String getId()
getId
in interface PnObjectHLAPI
public Name getName()
getName
in interface PnObjectHLAPI
public List<ToolInfo> getToolspecifics()
getToolspecifics
in interface PnObjectHLAPI
public Page getContainerPage()
getContainerPage
in interface PnObjectHLAPI
public Node getSource()
public Node getTarget()
public ArcGraphics getArcgraphics()
public HLAnnotation getHlinscription()
public NameHLAPI getNameHLAPI()
getNameHLAPI
in interface PnObjectHLAPI
public List<ToolInfoHLAPI> getToolspecificsHLAPI()
getToolspecificsHLAPI
in interface PnObjectHLAPI
public PageHLAPI getContainerPageHLAPI()
getContainerPageHLAPI
in interface PnObjectHLAPI
public NodeHLAPI getSourceHLAPI()
public NodeHLAPI getTargetHLAPI()
public ArcGraphicsHLAPI getArcgraphicsHLAPI()
public HLAnnotationHLAPI getHlinscriptionHLAPI()
public void setIdHLAPI(String elem) throws InvalidIDException, VoidRepositoryException
setIdHLAPI
in interface PnObjectHLAPI
InvalidIDException
VoidRepositoryException
public void setNameHLAPI(NameHLAPI elem)
setNameHLAPI
in interface PnObjectHLAPI
public void setSourceHLAPI(NodeHLAPI elem)
public void setTargetHLAPI(NodeHLAPI elem)
public void setArcgraphicsHLAPI(ArcGraphicsHLAPI elem)
public void setHlinscriptionHLAPI(HLAnnotationHLAPI elem)
public void setContainerPageHLAPI(PageHLAPI elem)
setContainerPageHLAPI
in interface PnObjectHLAPI
public void addToolspecificsHLAPI(ToolInfoHLAPI unit)
addToolspecificsHLAPI
in interface PnObjectHLAPI
public void removeToolspecificsHLAPI(ToolInfoHLAPI unit)
removeToolspecificsHLAPI
in interface PnObjectHLAPI
public boolean equals(ArcHLAPI 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.