Public Member Functions | Package Functions | Private Attributes

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

Global instance of a connection. More...

List of all members.

Public Member Functions

 AbstractConnectionInstance ()
 Constructor, setting the reference definition.
AbstractConnection getAbstractConnection ()
 Returns the instantiated connection.
AbstractConnection getInstantiatedElement ()
 Returns the instantiated element.
PortInstance getSourcePortInstance ()
 Returns the global source port instance.
PortInstance getTargetPortInstance ()
 Returns the global target port instance.
boolean removeAbstractConnection ()
 Removes the instantiated connection.
boolean removeInstantiatedElement ()
 Removes the instantiated element reference.
void setAbstractConnection (AbstractConnection newElement) throws AXLException
 Sets the instantiated connection 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.ABSTRACTCONNECTION
 element role

Detailed Description

Global instance of a connection.

Author:
mgrosse
ekleinod
Version:
0.9.0
Since:
0.9.0

Constructor & Destructor Documentation

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

Constructor, setting the reference definition.


Member Function Documentation

AbstractConnection de.fraunhofer.isst.axbench.axlang.elements.globalinstances.AbstractConnectionInstance.getAbstractConnection (  ) 

Returns the instantiated connection.

Returns:
the instantiated connection
Return values:
null if none defined
AbstractConnection de.fraunhofer.isst.axbench.axlang.elements.globalinstances.AbstractConnectionInstance.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.

PortInstance de.fraunhofer.isst.axbench.axlang.elements.globalinstances.AbstractConnectionInstance.getSourcePortInstance (  ) 

Returns the global source port instance.

Returns:
the global source port instance
PortInstance de.fraunhofer.isst.axbench.axlang.elements.globalinstances.AbstractConnectionInstance.getTargetPortInstance (  ) 

Returns the global target port instance.

Returns:
the global target port instance
boolean de.fraunhofer.isst.axbench.axlang.elements.globalinstances.AbstractConnectionInstance.removeAbstractConnection (  ) 

Removes the instantiated 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.AbstractConnectionInstance.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.AbstractConnectionInstance.setAbstractConnection ( AbstractConnection  newElement  )  throws AXLException

Sets the instantiated connection reference.

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