All Superinterfaces:
BaseElement, Classifier, Cloneable, Comparable, Element, 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, TemplateableElement, Type

public interface Interface extends Classifier
A representation of the model object 'Interface'.

Interfaces declare coherent services that are implemented by BehavioredClassifiers that implement the Interfaces via InterfaceRealizations.

The following features are supported:

See Also:
Model:
annotation="MOF package='classes.mdinterfaces'"
Generated:
  • Method Details

    • get_interfaceRealizationOfContract

      Collection<InterfaceRealization> get_interfaceRealizationOfContract()
      Returns the value of the 'interface Realization Of Contract' reference list. The list contents are of type InterfaceRealization. It is bidirectional and its opposite is 'Contract'.

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

      Returns:
      the value of the 'interface Realization Of Contract' reference list.
      See Also:
      Model:
      opposite="contract" ordered="false"
      Generated:
    • getOwnedAttribute

      List<Property> getOwnedAttribute()
      Returns the value of the 'Owned Attribute' containment reference list. The list contents are of type Property. It is bidirectional and its opposite is 'Interface'. The attributes (i.e., the Properties) owned by the Interface.
      Returns:
      the value of the 'Owned Attribute' containment reference list.
      See Also:
      Model:
      opposite="interface" containment="true" resolveProxies="true"
      Generated:
    • getOwnedOperation

      List<Operation> getOwnedOperation()
      Returns the value of the 'Owned Operation' containment reference list. The list contents are of type Operation. It is bidirectional and its opposite is 'Interface'. The Operations owned by the Interface.
      Returns:
      the value of the 'Owned Operation' containment reference list.
      See Also:
      Model:
      opposite="interface" containment="true" resolveProxies="true"
      Generated:
    • getNestedClassifier

      List<Classifier> getNestedClassifier()
      Returns the value of the 'Nested Classifier' containment reference list. The list contents are of type Classifier. It is bidirectional and its opposite is 'interface Of Nested Classifier'. References all the Classifiers that are defined (nested) within the Interface.
      Returns:
      the value of the 'Nested Classifier' containment reference list.
      See Also:
      Model:
      opposite="_interfaceOfNestedClassifier" containment="true" resolveProxies="true"
      Generated:
    • getRedefinedInterface

      Collection<Interface> getRedefinedInterface()
      Returns the value of the 'Redefined Interface' reference list. The list contents are of type Interface. It is bidirectional and its opposite is 'interface Of Redefined Interface'. References all the Interfaces redefined by this Interface.
      Returns:
      the value of the 'Redefined Interface' reference list.
      See Also:
      Model:
      opposite="_interfaceOfRedefinedInterface" ordered="false"
      Generated:
    • get_interfaceOfRedefinedInterface

      Collection<Interface> get_interfaceOfRedefinedInterface()
      Returns the value of the 'interface Of Redefined Interface' reference list. The list contents are of type Interface. It is bidirectional and its opposite is 'Redefined Interface'.

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

      Returns:
      the value of the 'interface Of Redefined Interface' reference list.
      See Also:
      Model:
      opposite="redefinedInterface" ordered="false"
      Generated:
    • getOwnedReception

      Collection<Reception> getOwnedReception()
      Returns the value of the 'Owned Reception' containment reference list. The list contents are of type Reception. It is bidirectional and its opposite is 'interface Of Owned Reception'. Receptions that objects providing this Interface are willing to accept.
      Returns:
      the value of the 'Owned Reception' containment reference list.
      See Also:
      Model:
      opposite="_interfaceOfOwnedReception" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • getProtocol

      @CheckForNull ProtocolStateMachine getProtocol()
      Returns the value of the 'Protocol' containment reference. It is bidirectional and its opposite is 'Interface'. References a ProtocolStateMachine specifying the legal sequences of the invocation of the BehavioralFeatures described in the Interface.
      Returns:
      the value of the 'Protocol' containment reference.
      See Also:
      Model:
      opposite="interface" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • setProtocol

      void setProtocol(@CheckForNull ProtocolStateMachine value)
      Sets the value of the 'Protocol' containment reference.
      Parameters:
      value - the new value of the 'Protocol' containment reference.
      See Also:
      Generated:
    • has_interfaceRealizationOfContract

      boolean has_interfaceRealizationOfContract() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasOwnedAttribute

      boolean hasOwnedAttribute() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasOwnedOperation

      boolean hasOwnedOperation() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasNestedClassifier

      boolean hasNestedClassifier() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasRedefinedInterface

      boolean hasRedefinedInterface() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • has_interfaceOfRedefinedInterface

      boolean has_interfaceOfRedefinedInterface() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasOwnedReception

      boolean hasOwnedReception() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated: