public class ArbitraryOperatorHLAPI extends Object implements HLAPIClass, TermsDeclarationHLAPI, OperatorDeclHLAPI
Constructor and Description |
---|
ArbitraryOperatorHLAPI(ArbitraryOperator lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
ArbitraryOperatorHLAPI(String id,
String name,
AnySortHLAPI output)
this constructor allows you to set all 'settable' values
excepted container.
|
ArbitraryOperatorHLAPI(String id,
String name,
AnySortHLAPI output,
DeclarationsHLAPI containerDeclarations)
this constructor allows you to set all 'settable' values, including container if any.
|
Modifier and Type | Method and Description |
---|---|
void |
addInputHLAPI(AnySortHLAPI unit) |
boolean |
equals(ArbitraryOperatorHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
ArbitraryOperator |
getContainedItem()
Return encapsulated object
|
Declarations |
getContainerDeclarations()
Return the encapsulate Low Level API object.
|
DeclarationsHLAPI |
getContainerDeclarationsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
String |
getId()
Return the encapsulate Low Level API object.
|
List<AnySort> |
getInput()
Return the encapsulate Low Level API object.
|
List<AnySortHLAPI> |
getInputHLAPI()
This accessor automatically encapsulate all elements of the selected sublist.
|
String |
getName()
Return the encapsulate Low Level API object.
|
AnySort |
getOutput()
Return the encapsulate Low Level API object.
|
AnySortHLAPI |
getOutputHLAPI()
This accessor automatically encapsulate an element of the current object.
|
void |
removeInputHLAPI(AnySortHLAPI unit) |
void |
setContainerDeclarationsHLAPI(DeclarationsHLAPI elem)
set ContainerDeclarations
|
void |
setIdHLAPI(String elem)
set Id
|
void |
setNameHLAPI(String elem)
set Name
|
void |
setOutputHLAPI(AnySortHLAPI elem)
set Output
|
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 ArbitraryOperatorHLAPI(String id, String name, AnySortHLAPI output) throws InvalidIDException, VoidRepositoryException
public ArbitraryOperatorHLAPI(String id, String name, AnySortHLAPI output, DeclarationsHLAPI containerDeclarations) throws InvalidIDException, VoidRepositoryException
public ArbitraryOperatorHLAPI(ArbitraryOperator lowLevelAPI)
public ArbitraryOperator getContainedItem()
getContainedItem
in interface HLAPIClass
public String getId()
getId
in interface OperatorDeclHLAPI
getId
in interface TermsDeclarationHLAPI
public String getName()
getName
in interface OperatorDeclHLAPI
getName
in interface TermsDeclarationHLAPI
public Declarations getContainerDeclarations()
getContainerDeclarations
in interface OperatorDeclHLAPI
getContainerDeclarations
in interface TermsDeclarationHLAPI
public AnySort getOutput()
public DeclarationsHLAPI getContainerDeclarationsHLAPI()
getContainerDeclarationsHLAPI
in interface OperatorDeclHLAPI
getContainerDeclarationsHLAPI
in interface TermsDeclarationHLAPI
public List<AnySortHLAPI> getInputHLAPI()
public AnySortHLAPI getOutputHLAPI()
public void setIdHLAPI(String elem) throws InvalidIDException, VoidRepositoryException
setIdHLAPI
in interface OperatorDeclHLAPI
setIdHLAPI
in interface TermsDeclarationHLAPI
InvalidIDException
VoidRepositoryException
public void setNameHLAPI(String elem)
setNameHLAPI
in interface OperatorDeclHLAPI
setNameHLAPI
in interface TermsDeclarationHLAPI
public void setOutputHLAPI(AnySortHLAPI elem)
public void setContainerDeclarationsHLAPI(DeclarationsHLAPI elem)
setContainerDeclarationsHLAPI
in interface OperatorDeclHLAPI
setContainerDeclarationsHLAPI
in interface TermsDeclarationHLAPI
public void addInputHLAPI(AnySortHLAPI unit)
public void removeInputHLAPI(AnySortHLAPI unit)
public boolean equals(ArbitraryOperatorHLAPI 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.