public class ToolInfoHLAPI extends Object implements HLAPIClass
Constructor and Description |
---|
ToolInfoHLAPI(String tool,
String version)
This constructor give access to required stuff only (not container if any)
|
ToolInfoHLAPI(String tool,
String version,
LabelHLAPI containerLabel)
This constructor give access to required stuff only (and container)
|
ToolInfoHLAPI(String tool,
String version,
PetriNetHLAPI containerPetriNet)
This constructor give access to required stuff only (and container)
|
ToolInfoHLAPI(String tool,
String version,
PnObjectHLAPI containerPnObject)
This constructor give access to required stuff only (and container)
|
ToolInfoHLAPI(String tool,
String version,
StringBuffer formattedXMLBuffer,
URI toolInfoGrammarURI,
AnyObjectHLAPI toolInfoModel)
this constructor allows you to set all 'settable' values
excepted container.
|
ToolInfoHLAPI(String tool,
String version,
StringBuffer formattedXMLBuffer,
URI toolInfoGrammarURI,
AnyObjectHLAPI toolInfoModel,
LabelHLAPI containerLabel)
this constructor allows you to set all 'settable' values, including container if any.
|
ToolInfoHLAPI(String tool,
String version,
StringBuffer formattedXMLBuffer,
URI toolInfoGrammarURI,
AnyObjectHLAPI toolInfoModel,
PetriNetHLAPI containerPetriNet)
this constructor allows you to set all 'settable' values, including container if any.
|
ToolInfoHLAPI(String tool,
String version,
StringBuffer formattedXMLBuffer,
URI toolInfoGrammarURI,
AnyObjectHLAPI toolInfoModel,
PnObjectHLAPI containerPnObject)
this constructor allows you to set all 'settable' values, including container if any.
|
ToolInfoHLAPI(ToolInfo lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ToolInfoHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
ToolInfo |
getContainedItem()
Return encapsulated object
|
Label |
getContainerLabel()
Return the encapsulate Low Level API object.
|
LabelHLAPI |
getContainerLabelHLAPI()
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.
|
PnObject |
getContainerPnObject()
Return the encapsulate Low Level API object.
|
PnObjectHLAPI |
getContainerPnObjectHLAPI()
This accessor automatically encapsulate an element of the current object.
|
StringBuffer |
getFormattedXMLBuffer()
Return the encapsulate Low Level API object.
|
String |
getTool()
Return the encapsulate Low Level API object.
|
URI |
getToolInfoGrammarURI()
Return the encapsulate Low Level API object.
|
AnyObject |
getToolInfoModel()
Return the encapsulate Low Level API object.
|
String |
getVersion()
Return the encapsulate Low Level API object.
|
void |
setContainerLabelHLAPI(LabelHLAPI elem)
set ContainerLabel
|
void |
setContainerPetriNetHLAPI(PetriNetHLAPI elem)
set ContainerPetriNet
|
void |
setContainerPnObjectHLAPI(PnObjectHLAPI elem)
set ContainerPnObject
|
void |
setFormattedXMLBufferHLAPI(StringBuffer elem)
set FormattedXMLBuffer
|
void |
setToolHLAPI(String elem)
set Tool
|
void |
setToolInfoGrammarURIHLAPI(URI elem)
set ToolInfoGrammarURI
|
void |
setToolInfoModelHLAPI(AnyObjectHLAPI elem)
set ToolInfoModel
|
void |
setVersionHLAPI(String elem)
set Version
|
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 ToolInfoHLAPI(String tool, String version, StringBuffer formattedXMLBuffer, URI toolInfoGrammarURI, AnyObjectHLAPI toolInfoModel)
public ToolInfoHLAPI(String tool, String version, StringBuffer formattedXMLBuffer, URI toolInfoGrammarURI, AnyObjectHLAPI toolInfoModel, PetriNetHLAPI containerPetriNet)
public ToolInfoHLAPI(String tool, String version, StringBuffer formattedXMLBuffer, URI toolInfoGrammarURI, AnyObjectHLAPI toolInfoModel, PnObjectHLAPI containerPnObject)
public ToolInfoHLAPI(String tool, String version, StringBuffer formattedXMLBuffer, URI toolInfoGrammarURI, AnyObjectHLAPI toolInfoModel, LabelHLAPI containerLabel)
public ToolInfoHLAPI(String tool, String version)
public ToolInfoHLAPI(String tool, String version, PetriNetHLAPI containerPetriNet)
public ToolInfoHLAPI(String tool, String version, PnObjectHLAPI containerPnObject)
public ToolInfoHLAPI(String tool, String version, LabelHLAPI containerLabel)
public ToolInfoHLAPI(ToolInfo lowLevelAPI)
public ToolInfo getContainedItem()
getContainedItem
in interface HLAPIClass
public String getTool()
public String getVersion()
public StringBuffer getFormattedXMLBuffer()
public URI getToolInfoGrammarURI()
public PetriNet getContainerPetriNet()
public PnObject getContainerPnObject()
public Label getContainerLabel()
public AnyObject getToolInfoModel()
public PetriNetHLAPI getContainerPetriNetHLAPI()
public PnObjectHLAPI getContainerPnObjectHLAPI()
public LabelHLAPI getContainerLabelHLAPI()
public void setToolHLAPI(String elem)
public void setVersionHLAPI(String elem)
public void setFormattedXMLBufferHLAPI(StringBuffer elem)
public void setToolInfoGrammarURIHLAPI(URI elem)
public void setToolInfoModelHLAPI(AnyObjectHLAPI elem)
public void setContainerPetriNetHLAPI(PetriNetHLAPI elem)
public void setContainerPnObjectHLAPI(PnObjectHLAPI elem)
public void setContainerLabelHLAPI(LabelHLAPI elem)
public boolean equals(ToolInfoHLAPI 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.