Public Member Functions | Package Functions | Private Attributes

de.fraunhofer.isst.axbench.axlang.elements.globalinstances.ApplicationModelInstance Class Reference

Global instance of an application model. More...

List of all members.

Public Member Functions

 ApplicationModelInstance ()
 Constructor.
ApplicationModel getApplicationModel ()
 Returns the instantiated application model.
ApplicationModel getInstantiatedElement ()
 Returns the instantiated element.
boolean removeApplicationModel ()
 Removes the instantiated application model.
boolean removeInstantiatedElement ()
 Removes the instantiated element reference.
void setApplicationModel (ApplicationModel newElement) throws AXLException
 Sets the instantiated application model reference.

Package Functions

public< T extends
IAXLangElement > void 
setInstantiatedElement (T newElement) throws AXLException
 Sets the instantiated element reference.

Private Attributes

final Role ELEMENT_ROLE = Role.APPLICATIONMODEL
 element role

Detailed Description

Global instance of an application model.

Author:
ekleinod
mgrosse
Version:
0.10.0
Since:
0.9.0

Constructor & Destructor Documentation

de.fraunhofer.isst.axbench.axlang.elements.globalinstances.ApplicationModelInstance.ApplicationModelInstance (  ) 

Constructor.


Member Function Documentation

ApplicationModel de.fraunhofer.isst.axbench.axlang.elements.globalinstances.ApplicationModelInstance.getApplicationModel (  ) 

Returns the instantiated application model.

Returns:
the instantiated application model
Return values:
null if none defined
ApplicationModel de.fraunhofer.isst.axbench.axlang.elements.globalinstances.ApplicationModelInstance.getInstantiatedElement (  ) 

Returns the instantiated element.

Returns:
the instantiated element
Return values:
null if there is no instantiated element

Implements de.fraunhofer.isst.axbench.axlang.api.IGlobalInstance.

boolean de.fraunhofer.isst.axbench.axlang.elements.globalinstances.ApplicationModelInstance.removeApplicationModel (  ) 

Removes the instantiated application model.

Returns:
remove success
Return values:
true reference was removed, or was null
false reference was not removed
boolean de.fraunhofer.isst.axbench.axlang.elements.globalinstances.ApplicationModelInstance.removeInstantiatedElement (  ) 

Removes the instantiated element reference.

Returns:
remove success
Return values:
true instantiated element was removed, or instantiated element was null
false instantiated element was not removed

Implements de.fraunhofer.isst.axbench.axlang.api.IGlobalInstance.

void de.fraunhofer.isst.axbench.axlang.elements.globalinstances.ApplicationModelInstance.setApplicationModel ( ApplicationModel  newElement  )  throws AXLException

Sets the instantiated application model reference.

Parameters:
newInstantiatedElement the new instantiated application model
Exceptions:
AXLException if the reference cannot be set
public<T extends IAXLangElement> void de.fraunhofer.isst.axbench.axlang.elements.globalinstances.ApplicationModelInstance.setInstantiatedElement ( newElement  )  throws AXLException [package]

Sets the instantiated element reference.

Parameters:
<T> the type of the instantiated element
newInstantiatedElement the new instantiated element
Exceptions:
AXLException if the reference to the new instantiated element cannot be set

Implements de.fraunhofer.isst.axbench.axlang.api.IGlobalInstance.


Member Data Documentation

element role