public class DeclarationHLAPI extends Object implements HLAPIClass, LabelHLAPI, AnnotationHLAPI
Constructor and Description |
---|
DeclarationHLAPI(AnnotationGraphicsHLAPI annotationgraphics,
String text,
DeclarationsHLAPI structure)
this constructor allows you to set all 'settable' values
excepted container.
|
DeclarationHLAPI(AnnotationGraphicsHLAPI annotationgraphics,
String text,
DeclarationsHLAPI structure,
PageHLAPI containerDeclarationPage)
this constructor allows you to set all 'settable' values, including container if any.
|
DeclarationHLAPI(AnnotationGraphicsHLAPI annotationgraphics,
String text,
DeclarationsHLAPI structure,
PetriNetHLAPI containerDeclarationPetriNet)
this constructor allows you to set all 'settable' values, including container if any.
|
DeclarationHLAPI(Declaration lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
DeclarationHLAPI(PageHLAPI containerDeclarationPage)
This constructor give access to required stuff only (and container)
|
DeclarationHLAPI(PetriNetHLAPI containerDeclarationPetriNet)
This constructor give access to required stuff only (and container)
|
Modifier and Type | Method and Description |
---|---|
void |
addToolspecificsHLAPI(ToolInfoHLAPI unit) |
boolean |
equals(DeclarationHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
AnnotationGraphics |
getAnnotationgraphics()
Return the encapsulate Low Level API object.
|
AnnotationGraphicsHLAPI |
getAnnotationgraphicsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Declaration |
getContainedItem()
Return encapsulated object
|
Page |
getContainerDeclarationPage()
Return the encapsulate Low Level API object.
|
PageHLAPI |
getContainerDeclarationPageHLAPI()
This accessor automatically encapsulate an element of the current object.
|
PetriNet |
getContainerDeclarationPetriNet()
Return the encapsulate Low Level API object.
|
PetriNetHLAPI |
getContainerDeclarationPetriNetHLAPI()
This accessor automatically encapsulate an element of the current object.
|
Declarations |
getStructure()
Return the encapsulate Low Level API object.
|
DeclarationsHLAPI |
getStructureHLAPI()
This accessor automatically encapsulate an element of the current object.
|
String |
getText()
Return the encapsulate Low Level API 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 |
setAnnotationgraphicsHLAPI(AnnotationGraphicsHLAPI elem)
set Annotationgraphics
|
void |
setContainerDeclarationPageHLAPI(PageHLAPI elem)
set ContainerDeclarationPage
|
void |
setContainerDeclarationPetriNetHLAPI(PetriNetHLAPI elem)
set ContainerDeclarationPetriNet
|
void |
setStructureHLAPI(DeclarationsHLAPI elem)
set Structure
|
void |
setTextHLAPI(String elem)
set Text
|
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 DeclarationHLAPI(AnnotationGraphicsHLAPI annotationgraphics, String text, DeclarationsHLAPI structure)
public DeclarationHLAPI(AnnotationGraphicsHLAPI annotationgraphics, String text, DeclarationsHLAPI structure, PetriNetHLAPI containerDeclarationPetriNet)
public DeclarationHLAPI(AnnotationGraphicsHLAPI annotationgraphics, String text, DeclarationsHLAPI structure, PageHLAPI containerDeclarationPage)
public DeclarationHLAPI(PetriNetHLAPI containerDeclarationPetriNet)
public DeclarationHLAPI(PageHLAPI containerDeclarationPage)
public DeclarationHLAPI(Declaration lowLevelAPI)
public Declaration getContainedItem()
getContainedItem
in interface HLAPIClass
public List<ToolInfo> getToolspecifics()
getToolspecifics
in interface AnnotationHLAPI
getToolspecifics
in interface LabelHLAPI
public AnnotationGraphics getAnnotationgraphics()
getAnnotationgraphics
in interface AnnotationHLAPI
public String getText()
public Declarations getStructure()
public PetriNet getContainerDeclarationPetriNet()
public Page getContainerDeclarationPage()
public List<ToolInfoHLAPI> getToolspecificsHLAPI()
getToolspecificsHLAPI
in interface AnnotationHLAPI
getToolspecificsHLAPI
in interface LabelHLAPI
public AnnotationGraphicsHLAPI getAnnotationgraphicsHLAPI()
getAnnotationgraphicsHLAPI
in interface AnnotationHLAPI
public DeclarationsHLAPI getStructureHLAPI()
public PetriNetHLAPI getContainerDeclarationPetriNetHLAPI()
public PageHLAPI getContainerDeclarationPageHLAPI()
public void setAnnotationgraphicsHLAPI(AnnotationGraphicsHLAPI elem)
setAnnotationgraphicsHLAPI
in interface AnnotationHLAPI
public void setTextHLAPI(String elem)
public void setStructureHLAPI(DeclarationsHLAPI elem)
public void setContainerDeclarationPetriNetHLAPI(PetriNetHLAPI elem)
public void setContainerDeclarationPageHLAPI(PageHLAPI elem)
public void addToolspecificsHLAPI(ToolInfoHLAPI unit)
addToolspecificsHLAPI
in interface AnnotationHLAPI
addToolspecificsHLAPI
in interface LabelHLAPI
public void removeToolspecificsHLAPI(ToolInfoHLAPI unit)
removeToolspecificsHLAPI
in interface AnnotationHLAPI
removeToolspecificsHLAPI
in interface LabelHLAPI
public boolean equals(DeclarationHLAPI 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.