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

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

public interface PortGroup
extends AbstractPort, FeatureContext, FlowPoint

A representation of the model object 'Port Group'.

The following features are supported:

See Also:
FeaturePackage.getPortGroup()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 boolean containsFeature(Feature p)
          check if port is contained in port group
 Feature findFeature(java.lang.String featureName)
          Find feature in port group type referenced by port group
 int getIndexOf(Feature feature)
          return the index of the feature in the port group type
 PortGroupType getPortGroupType()
          Returns the value of the 'Port Group Type' reference
 java.lang.String getQualifiedClassifierName()
          qualified name of port group classifier
 PortGroup getRefines()
          Returns the value of the 'Refines' reference
 boolean isInverseOf()
          returns true if this port group's type is an inverse of another port group type In this case the direction of the features returned must be inverted by the recipient of the feature list.
 void setPortGroupType(PortGroupType value)
          Sets the value of the 'Port Group Type' reference
 void setRefines(PortGroup 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

getPortGroupType

PortGroupType getPortGroupType()
Returns the value of the 'Port Group Type' reference.

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

Returns:
the value of the 'Port Group Type' reference.
See Also:
setPortGroupType(PortGroupType), FeaturePackage.getPortGroup_PortGroupType()

setPortGroupType

void setPortGroupType(PortGroupType value)
Sets the value of the 'Port Group Type' reference.

Parameters:
value - the new value of the 'Port Group Type' reference.
See Also:
getPortGroupType()

getRefines

PortGroup 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(PortGroup), FeaturePackage.getPortGroup_Refines()

setRefines

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

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

getQualifiedClassifierName

java.lang.String getQualifiedClassifierName()
qualified name of port group classifier

Returns:
String. Empty string if no classifier

findFeature

Feature findFeature(java.lang.String featureName)
Find feature in port group type referenced by port group

Parameters:
featureName -
Returns:
Port or port group

containsFeature

boolean containsFeature(Feature p)
check if port is contained in port group

Returns:
true if port is contained in port group, else false

isInverseOf

boolean isInverseOf()
returns true if this port group's type is an inverse of another port group type In this case the direction of the features returned must be inverted by the recipient of the feature list.

Returns:
true if the port group's type is the inverse of another

getIndexOf

int getIndexOf(Feature feature)
return the index of the feature in the port group type

Parameters:
feature - Feature
Returns:
int index of feature or -1 if not found