|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Interface'. An interface is a kind of classifier that represents a declaration of a set of coherent public features and obligations. In a sense,
The following features are supported:
UML2Package.getInterface()
Field Summary | |
static String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
Method Summary | |
Classifier |
createNestedClassifier(EClass eClass)
Creates a Classifier and appends it to the 'Nested Classifier' containment reference list |
Property |
createOwnedAttribute(EClass eClass)
Creates a Property and appends it to the 'Owned Attribute' containment reference list |
Operation |
createOwnedOperation(EClass eClass)
Creates a Operation and appends it to the 'Owned Operation' containment reference list |
Reception |
createOwnedReception(EClass eClass)
Creates a Reception and appends it to the 'Owned Reception' containment reference list |
ProtocolStateMachine |
createProtocol(EClass eClass)
Creates a ProtocolStateMachine and sets the 'Protocol' containment reference |
EList |
getAttributes()
|
EList |
getFeatures()
|
Classifier |
getNestedClassifier(String unqualifiedName)
Retrieves the Classifier with the specified name from the 'Nested Classifier' containment reference list |
EList |
getNestedClassifiers()
Returns the value of the 'Nested Classifier' containment reference list. |
Property |
getOwnedAttribute(String unqualifiedName)
Retrieves the Property with the specified name from the 'Owned Attribute' containment reference list |
EList |
getOwnedAttributes()
Returns the value of the 'Owned Attribute' containment reference list. |
EList |
getOwnedMembers()
|
Operation |
getOwnedOperation(String unqualifiedName)
Retrieves the Operation with the specified name from the 'Owned Operation' containment reference list |
EList |
getOwnedOperations()
Returns the value of the 'Owned Operation' containment reference list. |
Reception |
getOwnedReception(String unqualifiedName)
Retrieves the Reception with the specified name from the 'Owned Reception' containment reference list |
EList |
getOwnedReceptions()
Returns the value of the 'Owned Reception' containment reference list. |
ProtocolStateMachine |
getProtocol()
Returns the value of the 'Protocol' containment reference |
EList |
getRedefinedElements()
|
Interface |
getRedefinedInterface(String unqualifiedName)
Retrieves the Interface with the specified name from the 'Redefined Interface' reference list |
EList |
getRedefinedInterfaces()
Returns the value of the 'Redefined Interface' reference list. |
void |
setProtocol(ProtocolStateMachine value)
Sets the value of the ' Protocol ' containment reference |
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependency, getName, getNameExpression, getNamespace, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.TemplateableElement |
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
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.uml2.Type |
conformsTo, createAssociation, getNamespace, getPackage |
Methods inherited from interface org.eclipse.uml2.PackageableElement |
getPackageableElement_visibility, getVisibility, setPackageableElement_visibility, setVisibility |
Methods inherited from interface org.eclipse.uml2.ParameterableElement |
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter |
Methods inherited from interface org.eclipse.uml2.RedefinableElement |
getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
Field Detail |
public static final String copyright
Method Detail |
public EList getOwnedAttributes()
Property
.
If the meaning of the 'Owned Attribute' containment reference list isn't clear, there really should be more of a description here...
References the properties owned by the Interface. (Subsets Namespace.ownedMember and Classifier.feature.)
UML2Package.getInterface_OwnedAttribute()
public Property getOwnedAttribute(String unqualifiedName)
Property
with the specified name from the 'Owned Attribute' containment reference list.
unqualifiedName
- The unqualified name of the Property
to retrieve.
Property
with the specified name, or null
.getOwnedAttributes()
public Property createOwnedAttribute(EClass eClass)
Property
and appends it to the 'Owned Attribute' containment reference list.
eClass
- The Ecore class of the Property
to create.
Property
.getOwnedAttributes()
public EList getOwnedOperations()
Operation
.
If the meaning of the 'Owned Operation' containment reference list isn't clear, there really should be more of a description here...
References the operations owned by the Interface. (Subsets Namespace.ownedMember and Classifier.feature.)
UML2Package.getInterface_OwnedOperation()
public Operation getOwnedOperation(String unqualifiedName)
Operation
with the specified name from the 'Owned Operation' containment reference list.
unqualifiedName
- The unqualified name of the Operation
to retrieve.
Operation
with the specified name, or null
.getOwnedOperations()
public Operation createOwnedOperation(EClass eClass)
Operation
and appends it to the 'Owned Operation' containment reference list.
eClass
- The Ecore class of the Operation
to create.
Operation
.getOwnedOperations()
public EList getRedefinedInterfaces()
Interface
.
If the meaning of the 'Redefined Interface' reference list isn't clear, there really should be more of a description here...
(Subsets Element.redefinedElement.)
UML2Package.getInterface_RedefinedInterface()
public Interface getRedefinedInterface(String unqualifiedName)
Interface
with the specified name from the 'Redefined Interface' reference list.
unqualifiedName
- The unqualified name of the Interface
to retrieve.
Interface
with the specified name, or null
.getRedefinedInterfaces()
public EList getNestedClassifiers()
Classifier
.
If the meaning of the 'Nested Classifier' containment reference list isn't clear, there really should be more of a description here...
UML2Package.getInterface_NestedClassifier()
public Classifier getNestedClassifier(String unqualifiedName)
Classifier
with the specified name from the 'Nested Classifier' containment reference list.
unqualifiedName
- The unqualified name of the Classifier
to retrieve.
Classifier
with the specified name, or null
.getNestedClassifiers()
public Classifier createNestedClassifier(EClass eClass)
Classifier
and appends it to the 'Nested Classifier' containment reference list.
eClass
- The Ecore class of the Classifier
to create.
Classifier
.getNestedClassifiers()
public EList getOwnedReceptions()
Reception
.
If the meaning of the 'Owned Reception' containment reference list isn't clear, there really should be more of a description here...
Receptions that objects providing this interface are willing to accept. (Subsets Namespace.ownedMember and Classifier.feature.)
UML2Package.getInterface_OwnedReception()
public Reception getOwnedReception(String unqualifiedName)
Reception
with the specified name from the 'Owned Reception' containment reference list.
unqualifiedName
- The unqualified name of the Reception
to retrieve.
Reception
with the specified name, or null
.getOwnedReceptions()
public Reception createOwnedReception(EClass eClass)
Reception
and appends it to the 'Owned Reception' containment reference list.
eClass
- The Ecore class of the Reception
to create.
Reception
.getOwnedReceptions()
public ProtocolStateMachine getProtocol()
If the meaning of the 'Protocol' containment reference isn't clear, there really should be more of a description here...
References a protocol state machine specifying the legal sequences of the invocation of the behavioral features described in the interface.
setProtocol(ProtocolStateMachine)
,
UML2Package.getInterface_Protocol()
public void setProtocol(ProtocolStateMachine value)
Protocol
' containment reference.
value
- the new value of the 'Protocol' containment reference.getProtocol()
public ProtocolStateMachine createProtocol(EClass eClass)
ProtocolStateMachine
and sets the 'Protocol' containment reference.
eClass
- The Ecore class of the ProtocolStateMachine
to create.
ProtocolStateMachine
.getProtocol()
public EList getAttributes()
getAttributes
in interface Classifier
UML2Package.getClassifier_Attribute()
public EList getOwnedMembers()
getOwnedMembers
in interface Classifier
public EList getFeatures()
getFeatures
in interface Classifier
UML2Package.getClassifier_Feature()
,
Feature.getFeaturingClassifiers()
public EList getRedefinedElements()
getRedefinedElements
in interface Classifier
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |