edu.cmu.sei.aadl.aadl2
Interface MetaclassReference

All Superinterfaces:
AObject, Element, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, PropertyOwner
All Known Implementing Classes:
MetaclassReferenceImpl

public interface MetaclassReference
extends PropertyOwner

A representation of the model object 'Metaclass Reference'.

The following features are supported:

See Also:
Aadl2Package.getMetaclassReference()

Field Summary
 
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
copyright
 
Method Summary
 java.lang.String getAnnexName()
          Returns the value of the 'Annex Name' attribute
 org.eclipse.emf.ecore.EClass getMetaclass()
          Finds the metaclass that is referenced by the metaclass names.
 org.eclipse.emf.common.util.EList<java.lang.String> getMetaclassNames()
          Returns the value of the 'Metaclass Name' attribute list.
 void setAnnexName(java.lang.String value)
          Sets the value of the 'Annex Name' attribute
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Element
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
getLocationReference, 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
 

Method Detail

getAnnexName

java.lang.String getAnnexName()
Returns the value of the 'Annex Name' attribute.

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

Returns:
the value of the 'Annex Name' attribute.
See Also:
setAnnexName(String), Aadl2Package.getMetaclassReference_AnnexName()

setAnnexName

void setAnnexName(java.lang.String value)
Sets the value of the 'Annex Name' attribute.

Parameters:
value - the new value of the 'Annex Name' attribute.
See Also:
getAnnexName()

getMetaclassNames

org.eclipse.emf.common.util.EList<java.lang.String> getMetaclassNames()
Returns the value of the 'Metaclass Name' attribute list. The list contents are of type String.

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

Returns:
the value of the 'Metaclass Name' attribute list.
See Also:
Aadl2Package.getMetaclassReference_MetaclassName()

getMetaclass

org.eclipse.emf.ecore.EClass getMetaclass()
Finds the metaclass that is referenced by the metaclass names. The returned EClass represents NamedElement or a subtype of NamedElement. This method never returns null.

Returns:
An EClass representing the named metaclass.
Throws:
java.lang.IllegalArgumentException - Thrown if the metaclass names do not refer to an AADL 2 metaclass. Also thrown if the referenced metaclass is not NamedElement or a subtype of NamedElement.