edu.cmu.sei.aadl.model.feature
Interface Parameter

All Superinterfaces:
AbstractPort, AObject, org.eclipse.emf.ecore.EObject, Feature, FlowPoint, org.eclipse.core.runtime.IAdaptable, NamedElement, org.eclipse.emf.common.notify.Notifier, ParameterEnd, PropertyHolder
All Known Implementing Classes:
ParameterImpl

public interface Parameter
extends AbstractPort, ParameterEnd, FlowPoint

A representation of the model object 'Parameter'.

The following features are supported:

See Also:
FeaturePackage.getParameter()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 PortDirection getAllDirection()
          Get the port direction.
 DataClassifier getDataClassifier()
          Returns the value of the 'Data Classifier' reference
 PortDirection getDirection()
          Returns the value of the 'Direction' attribute.
 java.lang.String getQualifiedClassifierName()
          returns the string name of the data type either from the classifier reference or from the parsed name
 Parameter getRefines()
          Returns the value of the 'Refines' reference
 void invertDirection()
          Sets the port direction to be the opposite of the one specified The original direction may be retrieved from a refinement ancestor the value is set locally
 void setDataClassifier(DataClassifier value)
          Sets the value of the 'Data Classifier' reference
 void setDirection(PortDirection value)
          Sets the value of the 'Direction' attribute
 void setRefines(Parameter value)
          Sets the value of the 'Refines' reference
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.Feature
getAllFeatureRefinements, getClassifierReference, getConnection, getFeaturesModeContext, getIncomingConnection, getOutgoingConnection, getRefinedReference, getRefinesFeature, getXAllClassifier, getXClassifier, getXRefines, isRefined, setClassifierReference, setRefined, setRefinedReference
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.PropertyHolder
acceptsProperty, addProperty, addPropertyValue, checkPropertyAssociation, findPropertyAssociation, getProperties, getPropertyAssociation, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getSimplePropertyValue, isModalPropertyValue, removeContainedPropertyAssociations, removeContainedPropertyAssociations, removePropertyAssociations, removePropertyAssociations, setContainedPropertyValue, setContainedPropertyValue, setContainedPropertyValue, setContainedPropertyValue, setProperties, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.NamedElement
getName, setName
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.AObject
addComment, getAadlSpec, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, getSystemInstance, setLocationReference, setLocationReference
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getRefines

Parameter getRefines()
Returns the value of the 'Refines' reference.

If the meaning of the 'Refines' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Refines' reference.
See Also:
setRefines(Parameter), FeaturePackage.getParameter_Refines()

setRefines

void setRefines(Parameter value)
Sets the value of the 'Refines' reference.

Parameters:
value - the new value of the 'Refines' reference.
See Also:
getRefines()

getDirection

PortDirection getDirection()
Returns the value of the 'Direction' attribute. The default value is "in". The literals are from the enumeration PortDirection.

If the meaning of the 'Direction' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Direction' attribute.
See Also:
PortDirection, setDirection(PortDirection), FeaturePackage.getParameter_Direction()

setDirection

void setDirection(PortDirection value)
Sets the value of the 'Direction' attribute.

Parameters:
value - the new value of the 'Direction' attribute.
See Also:
PortDirection, getDirection()

getDataClassifier

DataClassifier getDataClassifier()
Returns the value of the 'Data Classifier' reference.

If the meaning of the 'Data Classifier' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Data Classifier' reference.
See Also:
setDataClassifier(DataClassifier), FeaturePackage.getParameter_DataClassifier()

setDataClassifier

void setDataClassifier(DataClassifier value)
Sets the value of the 'Data Classifier' reference.

Parameters:
value - the new value of the 'Data Classifier' reference.
See Also:
getDataClassifier()

getQualifiedClassifierName

java.lang.String getQualifiedClassifierName()
returns the string name of the data type either from the classifier reference or from the parsed name


getAllDirection

PortDirection getAllDirection()
Get the port direction. This method is not really needed because all Parameter features must have a direction, but we keep it to be consistent with the naming conventions.

Returns:
PortDirection

invertDirection

void invertDirection()
Sets the port direction to be the opposite of the one specified The original direction may be retrieved from a refinement ancestor the value is set locally