public interface Component extends Class
A Component represents a modular part of a system that encapsulates its contents and whose manifestation is replaceable within its environment.
The following features are supported:
UMLPackage.getComponent()| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<PackageableElement> |
getPackagedElement()
Returns the value of the 'Packaged Element' containment reference list.
|
java.util.Collection<Interface> |
getProvided()
Returns the value of the 'Provided' reference list.
|
java.util.Collection<ComponentRealization> |
getRealization()
Returns the value of the 'Realization' containment reference list.
|
java.util.Collection<Interface> |
getRequired()
Returns the value of the 'Required' reference list.
|
boolean |
hasPackagedElement() |
boolean |
hasProvided() |
boolean |
hasRealization() |
boolean |
hasRequired() |
boolean |
isIndirectlyInstantiated()
Returns the value of the 'Indirectly Instantiated' attribute.
|
void |
setIndirectlyInstantiated(boolean value)
Sets the value of the '
Indirectly Instantiated'
attribute. |
getExtension, getNestedClassifier, getOwnedAttribute, getOwnedOperation, getOwnedReception, getSuperClass, hasExtension, hasNestedClassifier, hasOwnedOperation, hasOwnedReception, hasSuperClass, isAbstract, isActive, setAbstract, setActivegetOwnedPort, hasOwnedPortgetOwnedConnector, getPart, getRole, hasOwnedAttribute, hasOwnedConnector, hasPart, hasRoleget_classifierOfRedefinedClassifier, get_classifierTemplateParameterOfConstrainingClassifier, get_componentRealizationOfRealizingClassifier, get_createObjectActionOfClassifier, get_exceptionHandlerOfExceptionType, get_generalizationOfGeneral, get_informationFlowOfConveyed, get_informationItemOfRepresented, get_instanceSpecificationOfClassifier, get_interfaceOfNestedClassifier, get_readExtentActionOfClassifier, get_readIsClassifiedObjectActionOfClassifier, get_reclassifyObjectActionOfNewClassifier, get_reclassifyObjectActionOfOldClassifier, get_redefinableElementOfRedefinitionContext, get_substitutionOfContract, get_unmarshallActionOfUnmarshallType, getAttribute, getCollaborationUse, getFeature, getGeneral, getGeneralization, getInheritedMember, getOwnedTemplateSignature, getOwnedUseCase, getPowertypeExtent, getRedefinedClassifier, getRepresentation, getSubstitution, getTemplateParameter, getUMLClass, getUseCase, has_classifierOfRedefinedClassifier, has_classifierTemplateParameterOfConstrainingClassifier, has_componentRealizationOfRealizingClassifier, has_createObjectActionOfClassifier, has_exceptionHandlerOfExceptionType, has_generalizationOfGeneral, has_informationFlowOfConveyed, has_informationItemOfRepresented, has_instanceSpecificationOfClassifier, has_readExtentActionOfClassifier, has_readIsClassifiedObjectActionOfClassifier, has_reclassifyObjectActionOfNewClassifier, has_reclassifyObjectActionOfOldClassifier, has_redefinableElementOfRedefinitionContext, has_substitutionOfContract, has_unmarshallActionOfUnmarshallType, hasAttribute, hasCollaborationUse, hasFeature, hasGeneral, hasGeneralization, hasInheritedMember, hasOwnedUseCase, hasPowertypeExtent, hasRedefinedClassifier, hasSubstitution, hasUseCase, isFinalSpecialization, set_interfaceOfNestedClassifier, setFinalSpecialization, setOwnedTemplateSignature, setRepresentation, setTemplateParameter, setUMLClassget_associationOfEndType, get_behavioralFeatureOfRaisedException, get_operationOfRaisedException, get_typedElementOfType, getPackage, has_associationOfEndType, has_behavioralFeatureOfRaisedException, has_operationOfRaisedException, has_typedElementOfType, setPackageget_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibilityget_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespaceget_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameterget_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElementget_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalIDgetID, getMDExtension, getMdExtensions, setIDeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliveraccept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetIDrefClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostCompositerefGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValueequals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsgetElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImportget_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeafgetTemplateBinding, hasTemplateBinding, setOwnedTemplateSignaturegetClassifierBehavior, getInterfaceRealization, getOwnedBehavior, hasInterfaceRealization, hasOwnedBehavior, setClassifierBehaviorboolean isIndirectlyInstantiated()
"true".
If true, the Component is defined at design-time, but at run-time (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.
setIndirectlyInstantiated(boolean),
UMLPackage.getComponent_IndirectlyInstantiated()void setIndirectlyInstantiated(boolean value)
Indirectly Instantiated'
attribute.
value - the new value of the 'Indirectly Instantiated' attribute.isIndirectlyInstantiated()java.util.Collection<ComponentRealization> getRealization()
ComponentRealization.
It is bidirectional and its opposite is
'Abstraction'.
The set of Realizations owned by the Component. Realizations reference the Classifiers of which the Component is an abstraction; i.e., that realize its behavior.
UMLPackage.getComponent_Realization(),
ComponentRealization.getAbstraction()java.util.Collection<Interface> getProvided()
Interface.
It is bidirectional and its opposite is
'component Of Provided'.
The Interfaces that the Component exposes to its environment. These Interfaces may be Realized by the Component or any of its realizingClassifiers, or they may
be the Interfaces that are provided by its public Ports.
UMLPackage.getComponent_Provided(),
com.nomagic.uml2.ext.magicdraw.classes.mdinterfaces.Interface#get_componentOfProvidedjava.util.Collection<PackageableElement> getPackagedElement()
PackageableElement.
It is bidirectional and its opposite is
'component Of Packaged Element'.
The set of PackageableElements that a Component owns. In the namespace of a Component, all model elements that are involved in or related to its definition may
be owned or imported explicitly. These may include e.g., Classes, Interfaces, Components, Packages, UseCases, Dependencies (e.g., mappings), and Artifacts.
UMLPackage.getComponent_PackagedElement(),
PackageableElement.get_componentOfPackagedElement()java.util.Collection<Interface> getRequired()
Interface.
It is bidirectional and its opposite is
'component Of Required'.
The Interfaces that the Component requires from other Components in its environment in order to be able to offer its full set of provided functionality. These
Interfaces may be used by the Component or any of its realizingClassifiers, or they may be the Interfaces that are required by its public Ports.
UMLPackage.getComponent_Required(),
com.nomagic.uml2.ext.magicdraw.classes.mdinterfaces.Interface#get_componentOfRequiredboolean hasRealization()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasProvided()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasPackagedElement()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasRequired()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException