public class RefTransitionHLAPI extends Object implements HLAPIClass, PnObjectHLAPI, NodeHLAPI, TransitionNodeHLAPI
Constructor and Description |
---|
RefTransitionHLAPI(RefTransition lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
RefTransitionHLAPI(String id,
NameHLAPI name,
NodeGraphicsHLAPI nodegraphics,
TransitionNodeHLAPI ref)
this constructor allows you to set all 'settable' values
excepted container.
|
RefTransitionHLAPI(String id,
NameHLAPI name,
NodeGraphicsHLAPI nodegraphics,
TransitionNodeHLAPI ref,
PageHLAPI containerPage)
this constructor allows you to set all 'settable' values, including container if any.
|
RefTransitionHLAPI(String id,
TransitionNodeHLAPI ref)
This constructor give access to required stuff only (not container if any)
|
RefTransitionHLAPI(String id,
TransitionNodeHLAPI ref,
PageHLAPI containerPage)
This constructor give access to required stuff only (and container)
|
Modifier and Type | Method and Description |
---|---|
void |
addToolspecificsHLAPI(ToolInfoHLAPI unit) |
boolean |
equals(RefTransitionHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
RefTransition |
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.
|
String |
getId()
Return the encapsulate Low Level API object.
|
List<Arc> |
getInArcs()
Return the encapsulate Low Level API object.
|
List<ArcHLAPI> |
getInArcsHLAPI()
This accessor automatically encapsulate all elements of the selected sublist.
|
Name |
getName()
Return the encapsulate Low Level API object.
|
NameHLAPI |
getNameHLAPI()
This accessor automatically encapsulate an element of the current object.
|
NodeGraphics |
getNodegraphics()
Return the encapsulate Low Level API object.
|
NodeGraphicsHLAPI |
getNodegraphicsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
List<Arc> |
getOutArcs()
Return the encapsulate Low Level API object.
|
List<ArcHLAPI> |
getOutArcsHLAPI()
This accessor automatically encapsulate all elements of the selected sublist.
|
TransitionNode |
getRef()
Return the encapsulate Low Level API object.
|
List<RefTransition> |
getReferencingTransitions()
Return the encapsulate Low Level API object.
|
List<RefTransitionHLAPI> |
getReferencingTransitionsHLAPI()
This accessor automatically encapsulate all elements of the selected sublist.
|
TransitionNodeHLAPI |
getRefHLAPI()
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 |
setContainerPageHLAPI(PageHLAPI elem)
set ContainerPage
|
void |
setIdHLAPI(String elem)
set Id
|
void |
setNameHLAPI(NameHLAPI elem)
set Name
|
void |
setNodegraphicsHLAPI(NodeGraphicsHLAPI elem)
set Nodegraphics
|
void |
setRefHLAPI(TransitionNodeHLAPI elem)
set Ref
|
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 RefTransitionHLAPI(String id, NameHLAPI name, NodeGraphicsHLAPI nodegraphics, TransitionNodeHLAPI ref) throws InvalidIDException, VoidRepositoryException
public RefTransitionHLAPI(String id, NameHLAPI name, NodeGraphicsHLAPI nodegraphics, TransitionNodeHLAPI ref, PageHLAPI containerPage) throws InvalidIDException, VoidRepositoryException
public RefTransitionHLAPI(String id, TransitionNodeHLAPI ref) throws InvalidIDException, VoidRepositoryException
public RefTransitionHLAPI(String id, TransitionNodeHLAPI ref, PageHLAPI containerPage) throws InvalidIDException, VoidRepositoryException
public RefTransitionHLAPI(RefTransition lowLevelAPI)
public RefTransition getContainedItem()
getContainedItem
in interface HLAPIClass
public String getId()
getId
in interface NodeHLAPI
getId
in interface PnObjectHLAPI
getId
in interface TransitionNodeHLAPI
public Name getName()
getName
in interface NodeHLAPI
getName
in interface PnObjectHLAPI
getName
in interface TransitionNodeHLAPI
public List<ToolInfo> getToolspecifics()
getToolspecifics
in interface NodeHLAPI
getToolspecifics
in interface PnObjectHLAPI
getToolspecifics
in interface TransitionNodeHLAPI
public Page getContainerPage()
getContainerPage
in interface NodeHLAPI
getContainerPage
in interface PnObjectHLAPI
getContainerPage
in interface TransitionNodeHLAPI
public List<Arc> getInArcs()
getInArcs
in interface NodeHLAPI
getInArcs
in interface TransitionNodeHLAPI
public List<Arc> getOutArcs()
getOutArcs
in interface NodeHLAPI
getOutArcs
in interface TransitionNodeHLAPI
public NodeGraphics getNodegraphics()
getNodegraphics
in interface NodeHLAPI
getNodegraphics
in interface TransitionNodeHLAPI
public List<RefTransition> getReferencingTransitions()
getReferencingTransitions
in interface TransitionNodeHLAPI
public TransitionNode getRef()
public NameHLAPI getNameHLAPI()
getNameHLAPI
in interface NodeHLAPI
getNameHLAPI
in interface PnObjectHLAPI
getNameHLAPI
in interface TransitionNodeHLAPI
public List<ToolInfoHLAPI> getToolspecificsHLAPI()
getToolspecificsHLAPI
in interface NodeHLAPI
getToolspecificsHLAPI
in interface PnObjectHLAPI
getToolspecificsHLAPI
in interface TransitionNodeHLAPI
public PageHLAPI getContainerPageHLAPI()
getContainerPageHLAPI
in interface NodeHLAPI
getContainerPageHLAPI
in interface PnObjectHLAPI
getContainerPageHLAPI
in interface TransitionNodeHLAPI
public List<ArcHLAPI> getInArcsHLAPI()
getInArcsHLAPI
in interface NodeHLAPI
getInArcsHLAPI
in interface TransitionNodeHLAPI
public List<ArcHLAPI> getOutArcsHLAPI()
getOutArcsHLAPI
in interface NodeHLAPI
getOutArcsHLAPI
in interface TransitionNodeHLAPI
public NodeGraphicsHLAPI getNodegraphicsHLAPI()
getNodegraphicsHLAPI
in interface NodeHLAPI
getNodegraphicsHLAPI
in interface TransitionNodeHLAPI
public List<RefTransitionHLAPI> getReferencingTransitionsHLAPI()
getReferencingTransitionsHLAPI
in interface TransitionNodeHLAPI
public TransitionNodeHLAPI getRefHLAPI()
public void setIdHLAPI(String elem) throws InvalidIDException, VoidRepositoryException
setIdHLAPI
in interface NodeHLAPI
setIdHLAPI
in interface PnObjectHLAPI
setIdHLAPI
in interface TransitionNodeHLAPI
InvalidIDException
VoidRepositoryException
public void setNameHLAPI(NameHLAPI elem)
setNameHLAPI
in interface NodeHLAPI
setNameHLAPI
in interface PnObjectHLAPI
setNameHLAPI
in interface TransitionNodeHLAPI
public void setNodegraphicsHLAPI(NodeGraphicsHLAPI elem)
setNodegraphicsHLAPI
in interface NodeHLAPI
setNodegraphicsHLAPI
in interface TransitionNodeHLAPI
public void setRefHLAPI(TransitionNodeHLAPI elem)
public void setContainerPageHLAPI(PageHLAPI elem)
setContainerPageHLAPI
in interface NodeHLAPI
setContainerPageHLAPI
in interface PnObjectHLAPI
setContainerPageHLAPI
in interface TransitionNodeHLAPI
public void addToolspecificsHLAPI(ToolInfoHLAPI unit)
addToolspecificsHLAPI
in interface NodeHLAPI
addToolspecificsHLAPI
in interface PnObjectHLAPI
addToolspecificsHLAPI
in interface TransitionNodeHLAPI
public void removeToolspecificsHLAPI(ToolInfoHLAPI unit)
removeToolspecificsHLAPI
in interface NodeHLAPI
removeToolspecificsHLAPI
in interface PnObjectHLAPI
removeToolspecificsHLAPI
in interface TransitionNodeHLAPI
public boolean equals(RefTransitionHLAPI 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.