Public Member Functions | Package Functions

de.fraunhofer.isst.eastadl.hardwaremodeling.HardwareConnector Interface Reference

List of all members.

Public Member Functions

EList< HardwarePinInstanceRefgetPort ()
boolean isSetResistance ()
void setResistance (float value)
void unsetResistance ()

Package Functions

float getResistance ()

Detailed Description

HardwareConnector (from HardwareModeling) «atpStructureElement»

Generalizations
EAElement (from Elements)

Description
Hardware connectors represent wires that electrically connect the hardware components through its ports.

Attributes
resistance : Float [0..1]
The resistance of the HardwareConnector in Ohms.

Associations
No additional associations

Dependencies
port : HardwarePin [2]
«instanceRef»

Constraints

Semantics

Author:
dprenzel

Member Function Documentation

EList<HardwarePinInstanceRef> de.fraunhofer.isst.eastadl.hardwaremodeling.HardwareConnector.getPort (  ) 

Returns the value of the 'Port' reference list. The list contents are of type de.fraunhofer.isst.eastadl.hardwaremodeling.HardwarePin.

port : HardwarePin [2]
«instanceRef»

Returns:
the value of the 'Port' reference list.
See also:
de.fraunhofer.isst.eastadl.hardwaremodeling.HardwaremodelPackage.getHardwareConnector_Port() lower="2" upper="2"

Implemented in de.fraunhofer.isst.eastadl.hardwaremodeling.impl.HardwareConnectorImpl.

float de.fraunhofer.isst.eastadl.hardwaremodeling.HardwareConnector.getResistance (  )  [package]

Returns the value of the 'Resistance' attribute.

resistance : Float [0..1]
The resistance of the HardwareConnector in Ohms.

Returns:
the value of the 'Resistance' attribute.
See also:
isSetResistance()
unsetResistance()
setResistance(float)
de.fraunhofer.isst.eastadl.hardwaremodeling.HardwaremodelPackage.getHardwareConnector_Resistance() unsettable="true"

Implemented in de.fraunhofer.isst.eastadl.hardwaremodeling.impl.HardwareConnectorImpl.

boolean de.fraunhofer.isst.eastadl.hardwaremodeling.HardwareConnector.isSetResistance (  ) 

Returns whether the value of the 'Resistance' attribute is set.

resistance : Float [0..1]
The resistance of the HardwareConnector in Ohms.

Returns:
whether the value of the 'Resistance' attribute is set.
See also:
unsetResistance()
getResistance()
setResistance(float)

Implemented in de.fraunhofer.isst.eastadl.hardwaremodeling.impl.HardwareConnectorImpl.

void de.fraunhofer.isst.eastadl.hardwaremodeling.HardwareConnector.setResistance ( float  value  ) 

Sets the value of the 'Resistance' attribute.

resistance : Float [0..1]
The resistance of the HardwareConnector in Ohms.

Parameters:
value the new value of the 'Resistance' attribute.
See also:
isSetResistance()
unsetResistance()
getResistance()

Implemented in de.fraunhofer.isst.eastadl.hardwaremodeling.impl.HardwareConnectorImpl.

void de.fraunhofer.isst.eastadl.hardwaremodeling.HardwareConnector.unsetResistance (  ) 

Unsets the value of the 'Resistance' attribute.

resistance : Float [0..1]
The resistance of the HardwareConnector in Ohms.

See also:
isSetResistance()
getResistance()
setResistance(float)

Implemented in de.fraunhofer.isst.eastadl.hardwaremodeling.impl.HardwareConnectorImpl.