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

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
Aadlboolean, Aadlinteger, AadlPackage, AadlPackageSection, AadlPrivate, AadlPublic, Aadlreal, AadlSpec, Aadlstring, AbstractPort, AccessConnectionInstance, AnnexLibrary, AnnexSubclause, BooleanAND, BooleanNOT, BooleanOR, BooleanOrPropertyReference, BooleanValue, BusAccess, BusAccessConnection, BusAccessEnd, BusClassifier, BusFeatures, BusImpl, BusSubcomponent, BusSubcomponents, BusType, CallSequence, CallSequences, Classifier, ClassifierType, ClassifierValue, ComponentAccess, ComponentClassifier, ComponentImpl, ComponentInstance, ComponentType, Connection, ConnectionInstance, Connections, DataAccess, DataAccessConnection, DataAccessEnd, DataClassifier, DataConnection, DataFeatures, DataImpl, DataPort, DataSubcomponent, DataSubcomponents, DataType, DefaultAnnexLibrary, DefaultAnnexSubclause, DeviceClassifier, DeviceFeatures, DeviceImpl, DeviceSubcomponent, DeviceSubcomponents, DeviceType, EndToEndFlow, EndToEndFlowInstance, EnumLiteral, EnumType, EnumValue, EventConnection, EventDataConnection, EventDataPort, EventPort, FALSE, Feature, FeatureContext, FeatureInstance, Features, FlowElement, FlowElementInstance, FlowImpl, FlowPathImpl, FlowPathSpec, Flows, FlowSequence, FlowSinkImpl, FlowSinkSpec, FlowSourceImpl, FlowSourceSpec, FlowSpec, FlowSpecInstance, FlowSpecs, InstanceObject, InstanceReferenceValue, IntegerRangeValue, IntegerValue, MemoryClassifier, MemoryFeatures, MemoryImpl, MemorySubcomponent, MemorySubcomponents, MemoryType, Mode, ModeInstance, ModeMember, Modes, ModeTransition, ModeTransitionConnectionInstance, ModeTransitionInstance, NamedElement, NumberOrPropertyReference, NumberType, NumberValue, Parameter, ParameterConnection, ParameterEnd, Port, PortConnectionInstance, PortContext, PortGroup, PortGroupConnection, PortGroupFeatures, PortGroupType, ProcessClassifier, ProcessFeatures, ProcessImpl, ProcessorClassifier, ProcessorFeatures, ProcessorImpl, ProcessorSubcomponent, ProcessorSubcomponents, ProcessorType, ProcessSubcomponent, ProcessSubcomponents, ProcessType, Properties, PropertyAssociation, PropertyConstant, PropertyConstantType, PropertyDefinition, PropertyHolder, PropertyReference, PropertySet, PropertyType, PropertyValue, RangeType, RangeValue, RealRangeValue, RealValue, ReferenceType, ReferenceValue, RefinesType, ServerSubprogram, SoftwareFeatures, StringValue, Subcomponent, Subcomponents, Subprogram, SubprogramClassifier, SubprogramFeatures, SubprogramImpl, SubprogramSubcomponent, SubprogramSubcomponents, SubprogramType, SystemClassifier, SystemFeatures, SystemImpl, SystemInstance, SystemOperationMode, SystemSubcomponent, SystemSubcomponents, SystemType, ThreadClassifier, ThreadFeatures, ThreadGroupClassifier, ThreadGroupFeatures, ThreadGroupImpl, ThreadGroupSubcomponent, ThreadGroupSubcomponents, ThreadGroupType, ThreadImpl, ThreadSubcomponent, ThreadSubcomponents, ThreadType, TRUE, TrueFalseValue, UnitLiteral, UnitsType
All Known Implementing Classes:
AadlbooleanImpl, AadlintegerImpl, AadlPackageImpl, AadlPackageSectionImpl, AadlPrivateImpl, AadlPublicImpl, AadlrealImpl, AadlSpecImpl, AadlstringImpl, AbstractPortImpl, AccessConnectionInstanceImpl, AnnexLibraryImpl, AnnexSubclauseImpl, AObjectImpl, BooleanANDImpl, BooleanNOTImpl, BooleanORImpl, BooleanOrPropertyReferenceImpl, BooleanValueImpl, BusAccessConnectionImpl, BusAccessEndImpl, BusAccessImpl, BusClassifierImpl, BusFeaturesImpl, BusImplImpl, BusSubcomponentImpl, BusSubcomponentsImpl, BusTypeImpl, CallSequenceImpl, CallSequencesImpl, ClassifierImpl, ClassifierTypeImpl, ClassifierValueImpl, ComponentAccessImpl, ComponentClassifierImpl, ComponentImplImpl, ComponentInstanceImpl, ComponentTypeImpl, ConnectionImpl, ConnectionInstanceImpl, ConnectionsImpl, DataAccessConnectionImpl, DataAccessEndImpl, DataAccessImpl, DataClassifierImpl, DataConnectionImpl, DataFeaturesImpl, DataImplImpl, DataPortImpl, DataSubcomponentImpl, DataSubcomponentsImpl, DataTypeImpl, DefaultAnnexLibraryImpl, DefaultAnnexSubclauseImpl, DeviceClassifierImpl, DeviceFeaturesImpl, DeviceImplImpl, DeviceSubcomponentImpl, DeviceSubcomponentsImpl, DeviceTypeImpl, EndToEndFlowImpl, EndToEndFlowInstanceImpl, EnumLiteralImpl, EnumTypeImpl, EnumValueImpl, EventConnectionImpl, EventDataConnectionImpl, EventDataPortImpl, EventPortImpl, FALSEImpl, FeatureContextImpl, FeatureImpl, FeatureInstanceImpl, FeaturesImpl, FlowElementImpl, FlowElementInstanceImpl, FlowImplImpl, FlowPathImplImpl, FlowPathSpecImpl, FlowSequenceImpl, FlowsImpl, FlowSinkImplImpl, FlowSinkSpecImpl, FlowSourceImplImpl, FlowSourceSpecImpl, FlowSpecImpl, FlowSpecInstanceImpl, FlowSpecsImpl, InstanceObjectImpl, InstanceReferenceValueImpl, IntegerRangeValueImpl, IntegerValueImpl, MemoryClassifierImpl, MemoryFeaturesImpl, MemoryImplImpl, MemorySubcomponentImpl, MemorySubcomponentsImpl, MemoryTypeImpl, ModeImpl, ModeInstanceImpl, ModeMemberImpl, ModesImpl, ModeTransitionConnectionInstanceImpl, ModeTransitionImpl, ModeTransitionInstanceImpl, NamedElementImpl, NumberOrPropertyReferenceImpl, NumberTypeImpl, NumberValueImpl, ParameterConnectionImpl, ParameterEndImpl, ParameterImpl, PortConnectionInstanceImpl, PortGroupConnectionImpl, PortGroupFeaturesImpl, PortGroupImpl, PortGroupTypeImpl, PortImpl, ProcessClassifierImpl, ProcessFeaturesImpl, ProcessImplImpl, ProcessorClassifierImpl, ProcessorFeaturesImpl, ProcessorImplImpl, ProcessorSubcomponentImpl, ProcessorSubcomponentsImpl, ProcessorTypeImpl, ProcessSubcomponentImpl, ProcessSubcomponentsImpl, ProcessTypeImpl, PropertiesImpl, PropertyAssociationImpl, PropertyConstantImpl, PropertyConstantTypeImpl, PropertyDefinitionImpl, PropertyHolderImpl, PropertyReferenceImpl, PropertySetImpl, PropertyTypeImpl, PropertyValueImpl, RangeTypeImpl, RangeValueImpl, RealRangeValueImpl, RealValueImpl, ReferenceTypeImpl, ReferenceValueImpl, RefinesTypeImpl, ServerSubprogramImpl, SoftwareFeaturesImpl, StringValueImpl, SubcomponentImpl, SubcomponentsImpl, SubprogramClassifierImpl, SubprogramFeaturesImpl, SubprogramImpl, SubprogramImplImpl, SubprogramSubcomponentImpl, SubprogramSubcomponentsImpl, SubprogramTypeImpl, SystemClassifierImpl, SystemFeaturesImpl, SystemImplImpl, SystemInstanceImpl, SystemOperationModeImpl, SystemSubcomponentImpl, SystemSubcomponentsImpl, SystemTypeImpl, ThreadClassifierImpl, ThreadFeaturesImpl, ThreadGroupClassifierImpl, ThreadGroupFeaturesImpl, ThreadGroupImplImpl, ThreadGroupSubcomponentImpl, ThreadGroupSubcomponentsImpl, ThreadGroupTypeImpl, ThreadImplImpl, ThreadSubcomponentImpl, ThreadSubcomponentsImpl, ThreadTypeImpl, TrueFalseValueImpl, TRUEImpl, UnitLiteralImpl, UnitsTypeImpl

public interface AObject
extends org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable

A representation of the model object 'AObject'.

See Also:
CorePackage.getAObject()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 void addComment(java.lang.String value)
          Adds to the list the value of the 'Comment' attribute list
 AadlSpec getAadlSpec()
          find the enclosing AadlSpec
 AObject getAObjectRoot()
          find the enclosing root object (aadlspec, package, propertyset, or system instance
 org.eclipse.emf.common.util.EList getChildren()
          Get the children of an AObject This will be the content.
 org.eclipse.emf.common.util.EList getComment()
          Returns the value of the 'Comment' attribute list.
 Classifier getContainingClassifier()
          Get the enclosing component type or implementation or Port Group Type.
 AObject getContainingClassifierNameSpace()
          Find the containing package section or aadl spec as the name space for classifiers
 ComponentImpl getContainingComponentImpl()
          Get the enclosing component implementation.
 ComponentType getContainingComponentType()
          Get the enclosing component type .
 PropertyValueHolder getContainingPropertyAssociationDefinitionConstant()
          Get the enclosing PropertyAssociation, Definition or Constant.
 Subcomponent getContainingSubcomponent()
          Get the enclosing subcomponent or null.
 LocationReference getLocationReference()
          Return the 'location reference' attribute.
 AObject getReferencedObject()
          get the first object being referenced by this object.
 AObject getSecondReferencedObject()
          get the second object being referenced by this object.
 SystemInstance getSystemInstance()
          Find the enclosing SystemInstance to be overwritten by the InstanceObject class
 void setLocationReference(LocationReference lr)
          Set the 'location reference' attribute.
 void setLocationReference(java.lang.String fn, int ln)
          Set the 'location reference' attribute.
 
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

getComment

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

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

Returns:
the value of the 'Comment' attribute list.
See Also:
CorePackage.getAObject_Comment()

addComment

void addComment(java.lang.String value)
Adds to the list the value of the 'Comment' attribute list.

Parameters:
value - the value to add to 'Comment' attribute list.

getLocationReference

LocationReference getLocationReference()
Return the 'location reference' attribute.


setLocationReference

void setLocationReference(java.lang.String fn,
                          int ln)
Set the 'location reference' attribute.

Parameters:
fn - File name
ln - line number

setLocationReference

void setLocationReference(LocationReference lr)
Set the 'location reference' attribute.

Parameters:
lr - Location Reference

getAadlSpec

AadlSpec getAadlSpec()
find the enclosing AadlSpec

Returns:
AadlSpec object

getAObjectRoot

AObject getAObjectRoot()
find the enclosing root object (aadlspec, package, propertyset, or system instance

Returns:
the root object

getContainingComponentImpl

ComponentImpl getContainingComponentImpl()
Get the enclosing component implementation.

Returns:
containing ComponentImpl or null

getContainingClassifier

Classifier getContainingClassifier()
Get the enclosing component type or implementation or Port Group Type.

Returns:
containing Component classifier or null

getContainingComponentType

ComponentType getContainingComponentType()
Get the enclosing component type .

Returns:
containing Component type or null

getContainingSubcomponent

Subcomponent getContainingSubcomponent()
Get the enclosing subcomponent or null.


getContainingClassifierNameSpace

AObject getContainingClassifierNameSpace()
Find the containing package section or aadl spec as the name space for classifiers

Returns:
AObject a package section or aadlspec or null

getContainingPropertyAssociationDefinitionConstant

PropertyValueHolder getContainingPropertyAssociationDefinitionConstant()
Get the enclosing PropertyAssociation, Definition or Constant.


getChildren

org.eclipse.emf.common.util.EList getChildren()
Get the children of an AObject This will be the content. In case of modal ComponentInstance this method is overwritten to provide mode-specific children, i.e., the subset that is active in a given mode

Returns:
EList AObject

getSystemInstance

SystemInstance getSystemInstance()
Find the enclosing SystemInstance to be overwritten by the InstanceObject class

Returns:
null

getReferencedObject

AObject getReferencedObject()
get the first object being referenced by this object. Implementations are provided by different classes Typically it is used to allow navigation to classifiers or to the source of a connection


getSecondReferencedObject

AObject getSecondReferencedObject()
get the second object being referenced by this object. Implementations are provided by different classes Typically it is used to allow navigation to the destination of a connection