org.eclipse.uml2
Interface Component

All Superinterfaces:
BehavioredClassifier, Class, Classifier, Element, EModelElement, EncapsulatedClassifier, EObject, NamedElement, Namespace, Notifier, PackageableElement, ParameterableElement, RedefinableElement, StructuredClassifier, TemplateableElement, Type

public interface Component
extends Class

A representation of the model object 'Component'.

The following features are supported:

See Also:
UML2Package.getComponent()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 PackageableElement createOwnedMember(EClass eClass)
          Creates a PackageableElement and appends it to the 'Owned Member' containment reference list
 Realization createRealization(EClass eClass)
          Creates a Realization and appends it to the 'Realization' containment reference list
 EList getClientDependencies()
           
 EList getOwnedElements()
           
 PackageableElement getOwnedMember(String unqualifiedName)
          Retrieves the PackageableElement with the specified name from the 'Owned Member' containment reference list
 EList getOwnedMembers()
          Returns the value of the 'Owned Member' containment reference list.
 Interface getProvided(String unqualifiedName)
          Retrieves the Interface with the specified name from the 'Provided' reference list
 EList getProvideds()
          Returns the value of the 'Provided' reference list.
 Realization getRealization(String unqualifiedName)
          Retrieves the Realization with the specified name from the 'Realization' containment reference list
 EList getRealizations()
          Returns the value of the 'Realization' containment reference list.
 Interface getRequired(String unqualifiedName)
          Retrieves the Interface with the specified name from the 'Required' reference list
 EList getRequireds()
          Returns the value of the 'Required' reference list.
 boolean isIndirectlyInstantiated()
          Returns the value of the 'Is Indirectly Instantiated' attribute
 void setIsIndirectlyInstantiated(boolean value)
          Sets the value of the 'Is Indirectly Instantiated' attribute
 
Methods inherited from interface org.eclipse.uml2.Class
createNestedClassifier, createOwnedOperation, createOwnedReception, getAttributes, getExtension, getExtensions, getFeatures, getGenerals, getNestedClassifier, getNestedClassifiers, getOwnedAttributes, getOwnedOperation, getOwnedOperations, getOwnedReception, getOwnedReceptions, getSuperClass, getSuperClasses, inherit, isAbstract, isActive, isMetaclass, setIsAbstract, setIsActive
 
Methods inherited from interface org.eclipse.uml2.BehavioredClassifier
createImplementation, createOwnedBehavior, createOwnedStateMachine, createOwnedTrigger, getClassifierBehavior, getImplementation, getImplementations, getImplementedInterfaces, getOwnedBehavior, getOwnedBehaviors, getOwnedStateMachine, getOwnedStateMachines, getOwnedTrigger, getOwnedTriggers, setClassifierBehavior
 
Methods inherited from interface org.eclipse.uml2.Classifier
allFeatures, allParents, conformsTo, createGeneralization, createGeneralization, createOccurrence, createOwnedUseCase, createSubstitution, general, getAttribute, getFeature, getGeneral, getGeneralizations, getInheritedMember, getInheritedMembers, getMembers, getOccurrence, getOccurrences, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifiers, getRedefinedElements, getRepresentation, getSubstitution, getSubstitutions, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inheritableMembers, inheritedMember, maySpecializeType, parents, setRepresentation, validateGeneralEqualsParents, validateInheritedMember, validateNoCyclesInGeneralization, validateSpecializeType
 
Methods inherited from interface org.eclipse.uml2.Namespace
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getNamesOfMember, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable
 
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
 
Methods inherited from interface org.eclipse.uml2.EncapsulatedClassifier
createOwnedPort, getOwnedPort, getOwnedPorts
 
Methods inherited from interface org.eclipse.uml2.StructuredClassifier
createOwnedAttribute, createOwnedConnector, getMembers, getOwnedAttribute, getOwnedConnector, getOwnedConnectors, getPart, getParts, getRole, getRoles
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

isIndirectlyInstantiated

public boolean isIndirectlyInstantiated()
Returns the value of the 'Is Indirectly Instantiated' attribute.

If the meaning of the 'Is Indirectly Instantiated' attribute isn't clear, there really should be more of a description here...

{default = true} The kind of instantiation that applies to a Component. If false, the component is instantiated as an addressable object. If true, the Component is defined at design-time, but at runtime (or execution-time) an object specified by the Component does not exist, that is, the component is instantiated indirectly, through the instantiation of its realizing classifiers or parts. Several standard stereotypes use this meta attribute, e.g. �specification, �focus�, �subsystem �.

Returns:
the value of the 'Is Indirectly Instantiated' attribute.
See Also:
setIsIndirectlyInstantiated(boolean), UML2Package.getComponent_IsIndirectlyInstantiated()

setIsIndirectlyInstantiated

public void setIsIndirectlyInstantiated(boolean value)
Sets the value of the 'Is Indirectly Instantiated' attribute.

Parameters:
value - the new value of the 'Is Indirectly Instantiated' attribute.
See Also:
isIndirectlyInstantiated()

getRequireds

public EList getRequireds()
Returns the value of the 'Required' reference list. The list contents are of type Interface.

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

Returns:
the value of the 'Required' reference list.
See Also:
UML2Package.getComponent_Required()

getRequired

public Interface getRequired(String unqualifiedName)
Retrieves the Interface with the specified name from the 'Required' reference list.

Parameters:
unqualifiedName - The unqualified name of the Interface to retrieve.
Returns:
The Interface with the specified name, or null.
See Also:
getRequireds()

getProvideds

public EList getProvideds()
Returns the value of the 'Provided' reference list. The list contents are of type Interface.

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

Returns:
the value of the 'Provided' reference list.
See Also:
UML2Package.getComponent_Provided()

getProvided

public Interface getProvided(String unqualifiedName)
Retrieves the Interface with the specified name from the 'Provided' reference list.

Parameters:
unqualifiedName - The unqualified name of the Interface to retrieve.
Returns:
The Interface with the specified name, or null.
See Also:
getProvideds()

getRealizations

public EList getRealizations()
Returns the value of the 'Realization' containment reference list. The list contents are of type Realization. It is bidirectional and its opposite is 'Abstraction'.

If the meaning of the 'Realization' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Realization' containment reference list.
See Also:
UML2Package.getComponent_Realization(), Realization.getAbstraction()

getRealization

public Realization getRealization(String unqualifiedName)
Retrieves the Realization with the specified name from the 'Realization' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Realization to retrieve.
Returns:
The Realization with the specified name, or null.
See Also:
getRealizations()

createRealization

public Realization createRealization(EClass eClass)
Creates a Realization and appends it to the 'Realization' containment reference list.

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

getOwnedMembers

public EList getOwnedMembers()
Returns the value of the 'Owned Member' containment reference list. The list contents are of type PackageableElement.

If the meaning of the 'Owned Member' containment reference list isn't clear, there really should be more of a description here...

Specified by:
getOwnedMembers in interface Class
Returns:
the value of the 'Owned Member' containment reference list.
See Also:
UML2Package.getComponent_OwnedMember()

getOwnedMember

public PackageableElement getOwnedMember(String unqualifiedName)
Retrieves the PackageableElement with the specified name from the 'Owned Member' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the PackageableElement to retrieve.
Returns:
The PackageableElement with the specified name, or null.
See Also:
getOwnedMembers()

createOwnedMember

public PackageableElement createOwnedMember(EClass eClass)
Creates a PackageableElement and appends it to the 'Owned Member' containment reference list.

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

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface BehavioredClassifier

getClientDependencies

public EList getClientDependencies()

Specified by:
getClientDependencies in interface BehavioredClassifier

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