Interface Component
-
- All Superinterfaces:
BaseElement
,BehavioredClassifier
,Class
,Classifier
,java.lang.Cloneable
,java.lang.Comparable
,Element
,EncapsulatedClassifier
,org.eclipse.emf.ecore.EObject
,MDObject
,com.dassault_systemes.modeler.foundation.model.ModelElement
,ModelObject
,NamedElement
,Namespace
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,RedefinableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
,StructuredClassifier
,TemplateableElement
,Type
public interface Component extends Class
A representation of the model object 'Component'.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:
- See Also:
UMLPackage.getComponent()
- Model:
- annotation="MOF package='components.mdbasiccomponents'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.commonbehaviors.mdbasicbehaviors.BehavioredClassifier
getClassifierBehavior, getInterfaceRealization, getOwnedBehavior, hasInterfaceRealization, hasOwnedBehavior, setClassifierBehavior
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class
getExtension, getNestedClassifier, getOwnedAttribute, getOwnedOperation, getOwnedReception, getSuperClass, hasExtension, hasNestedClassifier, hasOwnedOperation, hasOwnedReception, hasSuperClass, isAbstract, isActive, setAbstract, setActive
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier
get_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, setUMLClass
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.compositestructures.mdports.EncapsulatedClassifier
getOwnedPort, hasOwnedPort
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_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, setNamespace
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
-
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.compositestructures.mdinternalstructures.StructuredClassifier
getOwnedConnector, getPart, getRole, hasOwnedAttribute, hasOwnedConnector, hasPart, hasRole
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.TemplateableElement
getTemplateBinding, hasTemplateBinding, setOwnedTemplateSignature
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Type
get_associationOfEndType, get_behavioralFeatureOfRaisedException, get_operationOfRaisedException, get_typedElementOfType, getPackage, has_associationOfEndType, has_behavioralFeatureOfRaisedException, has_operationOfRaisedException, has_typedElementOfType, setPackage
-
-
-
-
Method Detail
-
isIndirectlyInstantiated
boolean isIndirectlyInstantiated()
Returns the value of the 'Indirectly Instantiated' attribute. The default value is"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.- Returns:
- the value of the 'Indirectly Instantiated' attribute.
- See Also:
setIndirectlyInstantiated(boolean)
,com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getComponent_IndirectlyInstantiated()
- Model:
- default="true" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setIndirectlyInstantiated
void setIndirectlyInstantiated(boolean value)
Sets the value of the 'Indirectly Instantiated
' attribute.- Parameters:
value
- the new value of the 'Indirectly Instantiated' attribute.- See Also:
isIndirectlyInstantiated()
- Generated:
-
getRealization
java.util.Collection<ComponentRealization> getRealization()
Returns the value of the 'Realization' containment reference list. The list contents are of typeComponentRealization
. 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.- Returns:
- the value of the 'Realization' containment reference list.
- See Also:
UMLPackage.getComponent_Realization()
,ComponentRealization.getAbstraction()
- Model:
- opposite="abstraction2" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getProvided
java.util.Collection<Interface> getProvided()
Returns the value of the 'Provided' reference list. The list contents are of typeInterface
. 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.- Returns:
- the value of the 'Provided' reference list.
- See Also:
UMLPackage.getComponent_Provided()
,com.nomagic.uml2.ext.magicdraw.classes.mdinterfaces.Interface#get_componentOfProvided
- Model:
- opposite="_componentOfProvided" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
getPackagedElement
java.util.Collection<PackageableElement> getPackagedElement()
Returns the value of the 'Packaged Element' containment reference list. The list contents are of typePackageableElement
. 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.- Returns:
- the value of the 'Packaged Element' containment reference list.
- See Also:
UMLPackage.getComponent_PackagedElement()
,PackageableElement.get_componentOfPackagedElement()
- Model:
- opposite="_componentOfPackagedElement" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getRequired
java.util.Collection<Interface> getRequired()
Returns the value of the 'Required' reference list. The list contents are of typeInterface
. 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.- Returns:
- the value of the 'Required' reference list.
- See Also:
UMLPackage.getComponent_Required()
,com.nomagic.uml2.ext.magicdraw.classes.mdinterfaces.Interface#get_componentOfRequired
- Model:
- opposite="_componentOfRequired" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
hasRealization
boolean hasRealization() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasProvided
boolean hasProvided() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasPackagedElement
boolean hasPackagedElement() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasRequired
boolean hasRequired() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-