|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Structured Classifier'. A structured classifier is an abstract metaclass that represents any classifier whose behavior can be fully or partly described by the collaboration of owned or referenced instances.
The following features are supported:
UML2Package.getStructuredClassifier()
Field Summary | |
static String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
Method Summary | |
Property |
createOwnedAttribute(EClass eClass)
Creates a Property and appends it to the 'Owned Attribute' containment reference list |
Connector |
createOwnedConnector(EClass eClass)
Creates a Connector and appends it to the 'Owned Connector' containment reference list |
EList |
getAttributes()
|
EList |
getFeatures()
|
EList |
getMembers()
|
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. |
Connector |
getOwnedConnector(String unqualifiedName)
Retrieves the Connector with the specified name from the 'Owned Connector' containment reference list |
EList |
getOwnedConnectors()
Returns the value of the 'Owned Connector' containment reference list. |
EList |
getOwnedMembers()
|
Property |
getPart(String unqualifiedName)
Retrieves the Property with the specified name from the 'Part' reference list |
EList |
getParts()
Returns the value of the 'Part' reference list. |
ConnectableElement |
getRole(String unqualifiedName)
Retrieves the ConnectableElement with the specified name from the 'Role' reference list |
EList |
getRoles()
Returns the value of the 'Role' reference list. |
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 classifier. (Subsets StructuredClassifier.role, Classifier. attribute,and Namespace.ownedMember)
UML2Package.getStructuredClassifier_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 getParts()
Property
.
If the meaning of the 'Part' reference list isn't clear, there really should be more of a description here...
References the properties specifying instances that the classifier owns by composition. This association is derived, selecting those owned properties where isComposite is true.
UML2Package.getStructuredClassifier_Part()
public Property getPart(String unqualifiedName)
Property
with the specified name from the 'Part' reference list.
unqualifiedName
- The unqualified name of the Property
to retrieve.
Property
with the specified name, or null
.getParts()
public EList getRoles()
ConnectableElement
.
If the meaning of the 'Role' reference list isn't clear, there really should be more of a description here...
References the roles that instances may play in this classifier. (Abstract union; subsets Classifier.feature.)
UML2Package.getStructuredClassifier_Role()
public ConnectableElement getRole(String unqualifiedName)
ConnectableElement
with the specified name from the 'Role' reference list.
unqualifiedName
- The unqualified name of the ConnectableElement
to retrieve.
ConnectableElement
with the specified name, or null
.getRoles()
public EList getOwnedConnectors()
Connector
.
If the meaning of the 'Owned Connector' containment reference list isn't clear, there really should be more of a description here...
References the connectors owned by the classifier. (Subsets Classifier.feature and Namespace.ownedMember)
UML2Package.getStructuredClassifier_OwnedConnector()
public Connector getOwnedConnector(String unqualifiedName)
Connector
with the specified name from the 'Owned Connector' containment reference list.
unqualifiedName
- The unqualified name of the Connector
to retrieve.
Connector
with the specified name, or null
.getOwnedConnectors()
public Connector createOwnedConnector(EClass eClass)
Connector
and appends it to the 'Owned Connector' containment reference list.
eClass
- The Ecore class of the Connector
to create.
Connector
.getOwnedConnectors()
public EList getAttributes()
getAttributes
in interface Classifier
UML2Package.getClassifier_Attribute()
public EList getOwnedMembers()
getOwnedMembers
in interface Classifier
public EList getMembers()
getMembers
in interface Classifier
public EList getFeatures()
getFeatures
in interface Classifier
UML2Package.getClassifier_Feature()
,
Feature.getFeaturingClassifiers()
|
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 |