public class DeclarationsHLAPI extends Object implements HLAPIClass
Constructor and Description |
---|
DeclarationsHLAPI()
this constructor allows you to set all 'settable' values
excepted container.
|
DeclarationsHLAPI(DeclarationHLAPI containerDeclaration)
this constructor allows you to set all 'settable' values, including container if any.
|
DeclarationsHLAPI(Declarations lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
Modifier and Type | Method and Description |
---|---|
void |
addDeclarationHLAPI(TermsDeclarationHLAPI unit) |
boolean |
equals(DeclarationsHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
Declarations |
getContainedItem()
Return encapsulated object
|
Declaration |
getContainerDeclaration()
Return the encapsulate Low Level API object.
|
DeclarationHLAPI |
getContainerDeclarationHLAPI()
This accessor automatically encapsulate an element of the current object.
|
List<FEConstantHLAPI> |
getDeclaration_finiteEnumerations_FEConstantHLAPI()
This accessor return a list of encapsulated subelement, only of FEConstantHLAPI kind.
|
List<PartitionElementHLAPI> |
getDeclaration_partitions_PartitionElementHLAPI()
This accessor return a list of encapsulated subelement, only of PartitionElementHLAPI kind.
|
List<PartitionHLAPI> |
getDeclaration_partitions_PartitionHLAPI()
This accessor return a list of encapsulated subelement, only of PartitionHLAPI kind.
|
List<NamedOperatorHLAPI> |
getDeclaration_terms_NamedOperatorHLAPI()
This accessor return a list of encapsulated subelement, only of NamedOperatorHLAPI kind.
|
List<NamedSortHLAPI> |
getDeclaration_terms_NamedSortHLAPI()
This accessor return a list of encapsulated subelement, only of NamedSortHLAPI kind.
|
List<VariableDeclHLAPI> |
getDeclaration_terms_VariableDeclHLAPI()
This accessor return a list of encapsulated subelement, only of VariableDeclHLAPI kind.
|
List<TermsDeclaration> |
getDeclaration()
Return the encapsulate Low Level API object.
|
List<TermsDeclarationHLAPI> |
getDeclarationHLAPI()
This accessor automatically encapsulate all elements of the selected sublist.
|
void |
removeDeclarationHLAPI(TermsDeclarationHLAPI unit) |
void |
setContainerDeclarationHLAPI(DeclarationHLAPI elem)
set ContainerDeclaration
|
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 DeclarationsHLAPI()
public DeclarationsHLAPI(DeclarationHLAPI containerDeclaration)
public DeclarationsHLAPI(Declarations lowLevelAPI)
public Declarations getContainedItem()
getContainedItem
in interface HLAPIClass
public List<TermsDeclaration> getDeclaration()
public Declaration getContainerDeclaration()
public List<TermsDeclarationHLAPI> getDeclarationHLAPI()
public DeclarationHLAPI getContainerDeclarationHLAPI()
public List<VariableDeclHLAPI> getDeclaration_terms_VariableDeclHLAPI()
public List<NamedSortHLAPI> getDeclaration_terms_NamedSortHLAPI()
public List<NamedOperatorHLAPI> getDeclaration_terms_NamedOperatorHLAPI()
public List<FEConstantHLAPI> getDeclaration_finiteEnumerations_FEConstantHLAPI()
public List<PartitionHLAPI> getDeclaration_partitions_PartitionHLAPI()
public List<PartitionElementHLAPI> getDeclaration_partitions_PartitionElementHLAPI()
public void setContainerDeclarationHLAPI(DeclarationHLAPI elem)
public void addDeclarationHLAPI(TermsDeclarationHLAPI unit)
public void removeDeclarationHLAPI(TermsDeclarationHLAPI unit)
public boolean equals(DeclarationsHLAPI 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.