public class PetriNetDocHLAPI extends Object implements HLAPIRootClass
Constructor and Description |
---|
PetriNetDocHLAPI()
this constructor allows you to set all 'settable' values
excepted container.
|
PetriNetDocHLAPI(PetriNetDoc lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
Modifier and Type | Method and Description |
---|---|
void |
addNetsHLAPI(PetriNetHLAPI unit) |
boolean |
equals(PetriNetDocHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
PetriNetDoc |
getContainedItem()
Return encapsulated object
|
List<PetriNet> |
getNets()
Return the encapsulate Low Level API object.
|
List<PetriNetHLAPI> |
getNetsHLAPI()
This accessor automatically encapsulate all elements of the selected sublist.
|
String |
getXmlns()
Return the encapsulate Low Level API object.
|
void |
removeNetsHLAPI(PetriNetHLAPI unit) |
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) |
public PetriNetDocHLAPI()
public PetriNetDocHLAPI(PetriNetDoc lowLevelAPI)
public PetriNetDoc getContainedItem()
getContainedItem
in interface HLAPIClass
public String getXmlns()
public List<PetriNetHLAPI> getNetsHLAPI()
public void addNetsHLAPI(PetriNetHLAPI unit)
public void removeNetsHLAPI(PetriNetHLAPI unit)
public boolean equals(PetriNetDocHLAPI 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.