Public Member Functions

de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.Connection Class Reference

a horizontal connection from a subcomponent to a subcomponent More...

List of all members.

Public Member Functions

 Connection ()
 Constructor.
Collection< ElementWithMessagegetNonValidElements ()
Port getSourcePort ()
 Returns the referenced source port.
Port getTargetPort ()
 Returns the referenced target port.
boolean removeSourcePort (Port oldSourcePort)
 Removes the reference to the old source port.
boolean removeTargetPort (Port oldTargetPort)
 Removes the reference to the old target port.
void setSourcePort (Port newSourcePort) throws AXLException
 Sets the reference to the new source port.
void setTargetPort (Port newTargetPort) throws AXLException
 Sets the reference to the new target port.

Detailed Description

a horizontal connection from a subcomponent to a subcomponent


Constructor & Destructor Documentation

de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.Connection.Connection (  ) 

Constructor.

Author:
mgrosse
Version:
0.9.0
Since:
0.9.0

Member Function Documentation

Collection<ElementWithMessage> de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.Connection.getNonValidElements (  ) 
  • direction pout - pin

Reimplemented from de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangElement.

Port de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.Connection.getSourcePort (  )  [virtual]

Returns the referenced source port.

Returns:
referenced source port
Author:
mgrosse
ekleinod
Version:
0.9.0
Since:
0.9.0

Implements de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.AbstractConnection.

Port de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.Connection.getTargetPort (  )  [virtual]

Returns the referenced target port.

Returns:
referenced target port
Author:
mgrosse
ekleinod
Version:
0.9.0
Since:
0.9.0

Implements de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.AbstractConnection.

boolean de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.Connection.removeSourcePort ( Port  oldSourcePort  )  [virtual]

Removes the reference to the old source port.

Parameters:
oldSourcePort the old source port
Returns:
true if the reference to the old source port could be removed, else false.
Author:
mgrosse
Version:
0.9.0
Since:
0.9.0

Implements de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.AbstractConnection.

boolean de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.Connection.removeTargetPort ( Port  oldTargetPort  )  [virtual]

Removes the reference to the old target port.

Parameters:
oldSourcePort the old target port
Returns:
true if the reference to the old target port could be removed, else false.
Author:
mgrosse
Version:
0.9.0
Since:
0.9.0

Implements de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.AbstractConnection.

void de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.Connection.setSourcePort ( Port  newSourcePort  )  throws AXLException [virtual]

Sets the reference to the new source port.

Parameters:
newSourcePort the new source port
Exceptions:
AXLException if the reference to the new source port cannot be set.
Author:
mgrosse
Version:
0.9.0
Since:
0.9.0

Implements de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.AbstractConnection.

void de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.Connection.setTargetPort ( Port  newTargetPort  )  throws AXLException [virtual]

Sets the reference to the new target port.

Parameters:
newSourcePort the new target port
Exceptions:
AXLException if the reference to the new target port cannot be set.
Author:
mgrosse
Version:
0.9.0
Since:
0.9.0

Implements de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.AbstractConnection.