org.eclipse.uml2
Interface StructuredClassifier

All Superinterfaces:
Classifier, Element, EModelElement, EObject, NamedElement, Namespace, Notifier, PackageableElement, ParameterableElement, RedefinableElement, TemplateableElement, Type
All Known Subinterfaces:
Activity, AssociationClass, Behavior, Class, Collaboration, Component, Device, EncapsulatedClassifier, ExecutionEnvironment, Interaction, Node, ProtocolStateMachine, StateMachine, Stereotype

public interface StructuredClassifier
extends Classifier

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:

See Also:
UML2Package.getStructuredClassifier()

Field Summary
static java.lang.String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Property createOwnedAttribute()
          Creates a Property and appends it to the 'Owned Attribute' containment reference list
 Property createOwnedAttribute(EClass eClass)
          Creates a Property and appends it to the 'Owned Attribute' containment reference list
 Connector createOwnedConnector()
          Creates a Connector and appends it to the 'Owned Connector' containment reference list
 Connector createOwnedConnector(EClass eClass)
          Deprecated. Use #createOwnedConnector() instead.
 Property getOwnedAttribute(java.lang.String name)
          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(java.lang.String name)
          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.
 Property getPart(java.lang.String name)
          Retrieves the Property with the specified 'Name' from the 'Part' reference list
 EList getParts()
          Returns the value of the 'Part' reference list.
 ConnectableElement getRole(java.lang.String name)
          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.Classifier
allFeatures, allParents, conformsTo, createGeneralization, createGeneralization, createGeneralization, createOccurrence, createOccurrence, createOwnedUseCase, createOwnedUseCase, createSubstitution, createSubstitution, general, getAttribute, getAttributes, getFeature, getFeatures, getGeneral, getGeneralizations, getGenerals, getInheritedMember, getInheritedMembers, getOccurrence, getOccurrences, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifiers, getRepresentation, getSubstitution, getSubstitutions, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inherit, inheritableMembers, inheritedMember, isAbstract, maySpecializeType, parents, setIsAbstract, setRepresentation, validateGeneralEqualsParents, validateInheritedMember, validateNoCyclesInGeneralization, validateSpecializeType
 
Methods inherited from interface org.eclipse.uml2.Namespace
createElementImport, createElementImport, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMembers, getNamesOfMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createDependency, createNameExpression, createNameExpression, getClientDependencies, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, 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, getPackage
 
Methods inherited from interface org.eclipse.uml2.PackageableElement
getPackageableElement_visibility, setPackageableElement_visibility
 
Methods inherited from interface org.eclipse.uml2.ParameterableElement
getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getOwnedAttributes

public EList getOwnedAttributes()
Returns the value of the 'Owned Attribute' containment reference list. The list contents are of type 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)

Returns:
the value of the 'Owned Attribute' containment reference list.
See Also:
UML2Package.getStructuredClassifier_OwnedAttribute()

getOwnedAttribute

public Property getOwnedAttribute(java.lang.String name)
Retrieves the Property with the specified 'Name' from the 'Owned Attribute' containment reference list.

Parameters:
name - The 'Name' of the Property to retrieve.
Returns:
The Property with the specified 'Name', or null.
See Also:
getOwnedAttributes()

createOwnedAttribute

public Property createOwnedAttribute(EClass eClass)
Creates a Property and appends it to the 'Owned Attribute' containment reference list.

Parameters:
eClass - The Ecore class of the Property to create.
Returns:
The new Property.
See Also:
getOwnedAttributes()

createOwnedAttribute

public Property createOwnedAttribute()
Creates a Property and appends it to the 'Owned Attribute' containment reference list.

Returns:
The new Property.
See Also:
getOwnedAttributes()

getParts

public EList getParts()
Returns the value of the 'Part' reference list. The list contents are of type 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.

Returns:
the value of the 'Part' reference list.
See Also:
UML2Package.getStructuredClassifier_Part()

getPart

public Property getPart(java.lang.String name)
Retrieves the Property with the specified 'Name' from the 'Part' reference list.

Parameters:
name - The 'Name' of the Property to retrieve.
Returns:
The Property with the specified 'Name', or null.
See Also:
getParts()

getRoles

public EList getRoles()
Returns the value of the 'Role' reference list. The list contents are of type 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.)

Returns:
the value of the 'Role' reference list.
See Also:
UML2Package.getStructuredClassifier_Role()

getRole

public ConnectableElement getRole(java.lang.String name)
Retrieves the ConnectableElement with the specified 'Name' from the 'Role' reference list.

Parameters:
name - The 'Name' of the ConnectableElement to retrieve.
Returns:
The ConnectableElement with the specified 'Name', or null.
See Also:
getRoles()

getOwnedConnectors

public EList getOwnedConnectors()
Returns the value of the 'Owned Connector' containment reference list. The list contents are of type 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)

Returns:
the value of the 'Owned Connector' containment reference list.
See Also:
UML2Package.getStructuredClassifier_OwnedConnector()

getOwnedConnector

public Connector getOwnedConnector(java.lang.String name)
Retrieves the Connector with the specified 'Name' from the 'Owned Connector' containment reference list.

Parameters:
name - The 'Name' of the Connector to retrieve.
Returns:
The Connector with the specified 'Name', or null.
See Also:
getOwnedConnectors()

createOwnedConnector

public Connector createOwnedConnector(EClass eClass)
Deprecated. Use #createOwnedConnector() instead.

Creates a Connector and appends it to the 'Owned Connector' containment reference list.

Parameters:
eClass - The Ecore class of the Connector to create.
Returns:
The new Connector.
See Also:
getOwnedConnectors()

createOwnedConnector

public Connector createOwnedConnector()
Creates a Connector and appends it to the 'Owned Connector' containment reference list.

Returns:
The new Connector.
See Also:
getOwnedConnectors()

Copyright 2003, 2005 IBM Corporation and others.
All Rights Reserved.