edu.cmu.sei.aadl.model.core
Interface ModeMember

All Superinterfaces:
AObject, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, NamedElement, org.eclipse.emf.common.notify.Notifier, PropertyHolder
All Known Subinterfaces:
BusAccessConnection, BusSubcomponent, CallSequence, Connection, DataAccessConnection, DataConnection, DataSubcomponent, DeviceSubcomponent, EndToEndFlow, EventConnection, EventDataConnection, FlowImpl, FlowPathImpl, FlowSequence, FlowSinkImpl, FlowSourceImpl, MemorySubcomponent, ParameterConnection, PortGroupConnection, ProcessorSubcomponent, ProcessSubcomponent, PropertyAssociation, Subcomponent, SubprogramSubcomponent, SystemSubcomponent, ThreadGroupSubcomponent, ThreadSubcomponent
All Known Implementing Classes:
BusAccessConnectionImpl, BusSubcomponentImpl, CallSequenceImpl, ConnectionImpl, DataAccessConnectionImpl, DataConnectionImpl, DataSubcomponentImpl, DeviceSubcomponentImpl, EndToEndFlowImpl, EventConnectionImpl, EventDataConnectionImpl, FlowImplImpl, FlowPathImplImpl, FlowSequenceImpl, FlowSinkImplImpl, FlowSourceImplImpl, MemorySubcomponentImpl, ModeMemberImpl, ParameterConnectionImpl, PortGroupConnectionImpl, ProcessorSubcomponentImpl, ProcessSubcomponentImpl, PropertyAssociationImpl, SubcomponentImpl, SubprogramSubcomponentImpl, SystemSubcomponentImpl, ThreadGroupSubcomponentImpl, ThreadSubcomponentImpl

public interface ModeMember
extends PropertyHolder

A representation of the model object 'Mode Member'.

The following features are supported:

See Also:
CorePackage.getModeMember()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 void addInModes(Mode value)
          Adds to the list the value of the 'In Modes' reference list
 void addModeName(java.lang.String value)
          Sets the value of the 'Mode Name' attribute list
 org.eclipse.emf.common.util.EList getAllInModes()
          returns the list of modes the mode member belongs to.
 org.eclipse.emf.common.util.EList getInModes()
          Returns the value of the 'In Modes' reference list.
 org.eclipse.emf.common.util.EList getModeName()
          Returns the value of the 'Mode Name' attribute list.
 boolean isAllInMode(Mode m)
          determine whether the mode member is active in the specified mode take into account that the in modes may be declared in an ancestor
 boolean isInMode(Mode m)
          determine whether the mode member is active in the specified mode
 boolean isNoMode()
          Returns the value of the 'No Mode' attribute.
 void setNoMode(boolean value)
          Sets the value of the 'No Mode' attribute
 
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

getInModes

org.eclipse.emf.common.util.EList getInModes()
Returns the value of the 'In Modes' reference list. The list contents are of type Mode. It is bidirectional and its opposite is 'Members'.

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

Returns:
the value of the 'In Modes' reference list.
See Also:
CorePackage.getModeMember_InModes(), Mode.getMembers()

addInModes

void addInModes(Mode value)
Adds to the list the value of the 'In Modes' reference list.

Parameters:
value - the value to add to 'In Modes' reference list.

isNoMode

boolean isNoMode()
Returns the value of the 'No Mode' attribute. The default value is "false".

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

Returns:
the value of the 'No Mode' attribute.
See Also:
setNoMode(boolean), CorePackage.getModeMember_NoMode()

setNoMode

void setNoMode(boolean value)
Sets the value of the 'No Mode' attribute.

Parameters:
value - the new value of the 'No Mode' attribute.
See Also:
isNoMode()

getModeName

org.eclipse.emf.common.util.EList getModeName()
Returns the value of the 'Mode Name' attribute list. The list contents are of type String.

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

Returns:
the value of the 'Mode Name' attribute list.

addModeName

void addModeName(java.lang.String value)
Sets the value of the 'Mode Name' attribute list.


isInMode

boolean isInMode(Mode m)
determine whether the mode member is active in the specified mode

Parameters:
m - Mode
Returns:
boolean true if active

isAllInMode

boolean isAllInMode(Mode m)
determine whether the mode member is active in the specified mode take into account that the in modes may be declared in an ancestor

Parameters:
m - Mode
Returns:
boolean true if active

getAllInModes

org.eclipse.emf.common.util.EList getAllInModes()
returns the list of modes the mode member belongs to. This may be kept with the mode member or an ancestor in the extends hierarchy. The in modes of the closest ancestor is returned.