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