All Superinterfaces:
BaseElement, BehavioredClassifier, Class, Classifier, Cloneable, 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:
Model:
annotation="MOF package='components.mdbasiccomponents'"
Generated:
  • Method Details

    • 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:
      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:
      Generated:
    • getRealization

      Collection<ComponentRealization> getRealization()
      Returns the value of the 'Realization' containment reference list. The list contents are of type 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.
      Returns:
      the value of the 'Realization' containment reference list.
      See Also:
      Model:
      opposite="abstraction2" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • getProvided

      Collection<Interface> getProvided()
      Returns the value of the 'Provided' reference list. The list contents are of type 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.
      Returns:
      the value of the 'Provided' reference list.
      See Also:
      Model:
      opposite="_componentOfProvided" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
      Generated:
    • getPackagedElement

      Collection<PackageableElement> getPackagedElement()
      Returns the value of the 'Packaged Element' containment reference list. The list contents are of type 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.
      Returns:
      the value of the 'Packaged Element' containment reference list.
      See Also:
      Model:
      opposite="_componentOfPackagedElement" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • getRequired

      Collection<Interface> getRequired()
      Returns the value of the 'Required' reference list. The list contents are of type 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.
      Returns:
      the value of the 'Required' reference list.
      See Also:
      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: