public class PageHLAPI extends Object implements HLAPIClass, PnObjectHLAPI
Constructor and Description |
---|
PageHLAPI(Page lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
PageHLAPI(String id)
This constructor give access to required stuff only (not container if any)
|
PageHLAPI(String id,
NameHLAPI name,
NodeGraphicsHLAPI nodegraphics)
this constructor allows you to set all 'settable' values
excepted container.
|
PageHLAPI(String id,
NameHLAPI name,
NodeGraphicsHLAPI nodegraphics,
PageHLAPI containerPage)
this constructor allows you to set all 'settable' values, including container if any.
|
PageHLAPI(String id,
NameHLAPI name,
NodeGraphicsHLAPI nodegraphics,
PetriNetHLAPI containerPetriNet)
this constructor allows you to set all 'settable' values, including container if any.
|
PageHLAPI(String id,
PageHLAPI containerPage)
This constructor give access to required stuff only (and container)
|
PageHLAPI(String id,
PetriNetHLAPI containerPetriNet)
This constructor give access to required stuff only (and container)
|
Modifier and Type | Method and Description |
---|---|
void |
addDeclarationHLAPI(DeclarationHLAPI unit) |
void |
addObjectsHLAPI(PnObjectHLAPI unit) |
void |
addToolspecificsHLAPI(ToolInfoHLAPI unit) |
boolean |
equals(PageHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
Page |
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.
|
PetriNet |
getContainerPetriNet()
Return the encapsulate Low Level API object.
|
PetriNetHLAPI |
getContainerPetriNetHLAPI()
This accessor automatically encapsulate an element of the current object.
|
List<Declaration> |
getDeclaration()
Return the encapsulate Low Level API object.
|
List<DeclarationHLAPI> |
getDeclarationHLAPI()
This accessor automatically encapsulate all elements of the selected sublist.
|
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.
|
NodeGraphics |
getNodegraphics()
Return the encapsulate Low Level API object.
|
NodeGraphicsHLAPI |
getNodegraphicsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
List<ArcHLAPI> |
getObjects_hlcorestructure_ArcHLAPI()
This accessor return a list of encapsulated subelement, only of ArcHLAPI kind.
|
List<PageHLAPI> |
getObjects_hlcorestructure_PageHLAPI()
This accessor return a list of encapsulated subelement, only of PageHLAPI kind.
|
List<PlaceHLAPI> |
getObjects_hlcorestructure_PlaceHLAPI()
This accessor return a list of encapsulated subelement, only of PlaceHLAPI kind.
|
List<RefPlaceHLAPI> |
getObjects_hlcorestructure_RefPlaceHLAPI()
This accessor return a list of encapsulated subelement, only of RefPlaceHLAPI kind.
|
List<RefTransitionHLAPI> |
getObjects_hlcorestructure_RefTransitionHLAPI()
This accessor return a list of encapsulated subelement, only of RefTransitionHLAPI kind.
|
List<TransitionHLAPI> |
getObjects_hlcorestructure_TransitionHLAPI()
This accessor return a list of encapsulated subelement, only of TransitionHLAPI kind.
|
List<PnObject> |
getObjects()
Return the encapsulate Low Level API object.
|
List<PnObjectHLAPI> |
getObjectsHLAPI()
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.
|
void |
removeDeclarationHLAPI(DeclarationHLAPI unit) |
void |
removeObjectsHLAPI(PnObjectHLAPI unit) |
void |
removeToolspecificsHLAPI(ToolInfoHLAPI unit) |
void |
setContainerPageHLAPI(PageHLAPI elem)
set ContainerPage
|
void |
setContainerPetriNetHLAPI(PetriNetHLAPI elem)
set ContainerPetriNet
|
void |
setIdHLAPI(String elem)
set Id
|
void |
setNameHLAPI(NameHLAPI elem)
set Name
|
void |
setNodegraphicsHLAPI(NodeGraphicsHLAPI elem)
set Nodegraphics
|
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 PageHLAPI(String id, NameHLAPI name, NodeGraphicsHLAPI nodegraphics) throws InvalidIDException, VoidRepositoryException
public PageHLAPI(String id, NameHLAPI name, NodeGraphicsHLAPI nodegraphics, PageHLAPI containerPage) throws InvalidIDException, VoidRepositoryException
public PageHLAPI(String id, NameHLAPI name, NodeGraphicsHLAPI nodegraphics, PetriNetHLAPI containerPetriNet) throws InvalidIDException, VoidRepositoryException
public PageHLAPI(String id) throws InvalidIDException, VoidRepositoryException
public PageHLAPI(String id, PageHLAPI containerPage) throws InvalidIDException, VoidRepositoryException
public PageHLAPI(String id, PetriNetHLAPI containerPetriNet) throws InvalidIDException, VoidRepositoryException
public PageHLAPI(Page lowLevelAPI)
public Page 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 PetriNet getContainerPetriNet()
public NodeGraphics getNodegraphics()
public List<Declaration> getDeclaration()
public NameHLAPI getNameHLAPI()
getNameHLAPI
in interface PnObjectHLAPI
public List<ToolInfoHLAPI> getToolspecificsHLAPI()
getToolspecificsHLAPI
in interface PnObjectHLAPI
public PageHLAPI getContainerPageHLAPI()
getContainerPageHLAPI
in interface PnObjectHLAPI
public List<PnObjectHLAPI> getObjectsHLAPI()
public PetriNetHLAPI getContainerPetriNetHLAPI()
public NodeGraphicsHLAPI getNodegraphicsHLAPI()
public List<DeclarationHLAPI> getDeclarationHLAPI()
public List<PageHLAPI> getObjects_hlcorestructure_PageHLAPI()
public List<ArcHLAPI> getObjects_hlcorestructure_ArcHLAPI()
public List<PlaceHLAPI> getObjects_hlcorestructure_PlaceHLAPI()
public List<RefTransitionHLAPI> getObjects_hlcorestructure_RefTransitionHLAPI()
public List<TransitionHLAPI> getObjects_hlcorestructure_TransitionHLAPI()
public List<RefPlaceHLAPI> getObjects_hlcorestructure_RefPlaceHLAPI()
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 setNodegraphicsHLAPI(NodeGraphicsHLAPI elem)
public void setContainerPageHLAPI(PageHLAPI elem)
setContainerPageHLAPI
in interface PnObjectHLAPI
public void setContainerPetriNetHLAPI(PetriNetHLAPI elem)
public void addToolspecificsHLAPI(ToolInfoHLAPI unit)
addToolspecificsHLAPI
in interface PnObjectHLAPI
public void removeToolspecificsHLAPI(ToolInfoHLAPI unit)
removeToolspecificsHLAPI
in interface PnObjectHLAPI
public void addObjectsHLAPI(PnObjectHLAPI unit)
public void removeObjectsHLAPI(PnObjectHLAPI unit)
public void addDeclarationHLAPI(DeclarationHLAPI unit)
public void removeDeclarationHLAPI(DeclarationHLAPI unit)
public boolean equals(PageHLAPI 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.