Public Member Functions | Package Functions

de.fraunhofer.isst.eastadl.functionmodeling.FunctionFlowPort Interface Reference

List of all members.

Public Member Functions

EADatatype getType ()
void setDirection (EADirectionKind value)
void setType (EADatatype value)

Package Functions

EADirectionKind getDirection ()

Detailed Description

FunctionFlowPort (from FunctionModeling)

Generalizations
FunctionPort (from FunctionModeling)

Description
The FunctionFlowPort is a metaclass for flowports, inspired by the SysML FlowPort.

Attributes
direction : EADirectionKind [1]

Associations
type : EADatatype [1]
«isOfType»
The single EADatatype for this port.

Constraints
No additional constraints

Semantics
FunctionFlowPorts are single buffer overwrite and nonconsumable.
FunctionFlowPorts can be connected if their FunctionPort signatures match; i.e.:
EADatatypes that are ValueTypes are compatible if
* They have the same "dimension".
* They have the same "unit".
EADatatypes that are RangeableValueTypes are compatible if
* The source EADatatype has the same or better "accuracy".
* They have the same baseRangeable.
* The source EADatatype has the same or smaller "maxValue".
* The source EADatatype has the same or higher "minValue".
* The source EADatatype has the same or higher "resolution".
* They have the same "significantDigits".
EADatatypes that are EnumerationValueTypes are compatible if
* They have the same baseEnumeration.
A FunctionFlowPort with direction=in is called an input FunctionFlowPort:
The input FunctionFlowPort indicates that the containing Function requires input data. The EADatatype of this data is defined by the associated EADatatype. The data is sampled at the invocation of the containing entity for discrete Functions. For continuous Functions, the input FunctionFlowPort represents a continuous input connection point. The input FunctionFlowPort declares a reception point of data. It represents a single element buffer, which is overridden with the latest data. The type of the data is defined by the associated EADatatype.
A FunctionFlowPort with direction=out is called an output FunctionFlowPort: The output FunctionFlowPort indicates that the containing Function provides output data. The EADatatype of this data is defined by the associated EADatatype. The data is sent at the completion of the containing entity for discrete Functions. For continuous Functions, the output FunctionFlowPort represents a (time-)continuous output connection point. The output FunctionFlowPort declares a transmission point of data. The type of the data is defined by the associated EADatatype.

Author:
dprenzel

Member Function Documentation

EADirectionKind de.fraunhofer.isst.eastadl.functionmodeling.FunctionFlowPort.getDirection (  )  [package]

Returns the value of the 'Direction' attribute. The literals are from the enumeration de.fraunhofer.isst.eastadl.functionmodeling.EADirectionKind.

direction : EADirectionKind [1]

Returns:
the value of the 'Direction' attribute.
See also:
de.fraunhofer.isst.eastadl.functionmodeling.EADirectionKind
setDirection(EADirectionKind)
de.fraunhofer.isst.eastadl.functionmodeling.FunctionmodelPackage.getFunctionFlowPort_Direction() required="true"

Implemented in de.fraunhofer.isst.eastadl.functionmodeling.impl.FunctionFlowPortImpl.

EADatatype de.fraunhofer.isst.eastadl.functionmodeling.FunctionFlowPort.getType (  ) 

Returns the value of the 'Type' reference.

type : EADatatype [1]
«isOfType»
The single EADatatype for this port.

Returns:
the value of the 'Type' reference.
See also:
setType(EADatatype)
de.fraunhofer.isst.eastadl.functionmodeling.FunctionmodelPackage.getFunctionFlowPort_Type() required="true"

Implemented in de.fraunhofer.isst.eastadl.functionmodeling.impl.FunctionFlowPortImpl.

void de.fraunhofer.isst.eastadl.functionmodeling.FunctionFlowPort.setDirection ( EADirectionKind  value  ) 

Sets the value of the 'Direction' attribute.

direction : EADirectionKind [1]

Parameters:
value the new value of the 'Direction' attribute.
See also:
de.fraunhofer.isst.eastadl.functionmodeling.EADirectionKind
getDirection()
void de.fraunhofer.isst.eastadl.functionmodeling.FunctionFlowPort.setType ( EADatatype  value  ) 

Sets the value of the 'Type' reference.

type : EADatatype [1]
«isOfType»
The single EADatatype for this port.

Parameters:
value the new value of the 'Type' reference.
See also:
getType()

Implemented in de.fraunhofer.isst.eastadl.functionmodeling.impl.FunctionFlowPortImpl.