Public Member Functions | Package Functions | Private Attributes

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

Global instance of a bus delegation. More...

List of all members.

Public Member Functions

 BusDelegationInstance ()
 Constructor, setting the reference definition.
BusDelegation getBusDelegation ()
 Returns the instantiated bus delegation.
BusDelegation getInstantiatedElement ()
 Returns the instantiated element.
boolean removeBusDelegation ()
 Removes the instantiated bus connection.
boolean removeInstantiatedElement ()
 Removes the instantiated element reference.
void setBusDelegation (BusDelegation newElement) throws AXLException
 Sets the instantiated bus delegation 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.BUSDELEGATION
 element role

Detailed Description

Global instance of a bus delegation.

Author:
mgrosse
ekleinod
Version:
0.10.0
Since:
0.9.0

Constructor & Destructor Documentation

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

Constructor, setting the reference definition.


Member Function Documentation

BusDelegation de.fraunhofer.isst.axbench.axlang.elements.globalinstances.BusDelegationInstance.getBusDelegation (  ) 

Returns the instantiated bus delegation.

Returns:
the instantiated bus delegation
Return values:
null if none defined
BusDelegation de.fraunhofer.isst.axbench.axlang.elements.globalinstances.BusDelegationInstance.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.BusDelegationInstance.removeBusDelegation (  ) 

Removes the instantiated bus connection.

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.BusDelegationInstance.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.BusDelegationInstance.setBusDelegation ( BusDelegation  newElement  )  throws AXLException

Sets the instantiated bus delegation reference.

Parameters:
newInstantiatedElement the new instantiated bus delegation
Exceptions:
AXLException if the reference cannot be set
public<T extends IAXLangElement> void de.fraunhofer.isst.axbench.axlang.elements.globalinstances.BusDelegationInstance.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