Interface Extension

  • All Superinterfaces:
    EObject, Notifier
    All Known Implementing Classes:
    ExtensionImpl

    public interface Extension
    extends EObject
    A representation of the model object 'Extension'.

    The following features are supported:

    See Also:
    EMFProfilePackage.getExtension()
    Generated class or method.
    EMF model class or method.
    annotation="http://www.eclipse.org/emf/2002/Ecore constraints='redefinedInSuperStereotype subsettedInSuperStereotype subsettedMustHaveHigherOrEqualUpperBound redefiningTargetMustBeSubclassOfRedefinedTarget subsettingTargetMustBeSubclassOfSubsettedTarget'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL redefinedInSuperStereotype='self.source.eAllSuperTypes->select(s | s.oclIsKindOf(Stereotype))->collect(s | s.oclAsType(Stereotype).extensions)->includesAll(self.redefined)' subsettedInSuperStereotype='self.source.eAllSuperTypes->select(s | s.oclIsKindOf(Stereotype))->collect(s | s.oclAsType(Stereotype).extensions)->includesAll(self.subsetted)' subsettedMustHaveHigherOrEqualUpperBound='self.subsetted->size() > 0 implies self.subsetted->forAll(subsetted : Extension | subsetted.upperBound >= self.upperBound or subsetted.upperBound = -1)' redefiningTargetMustBeSubclassOfRedefinedTarget='self.redefined->notEmpty() implies self.redefined->forAll(redef : Extension | target.eAllSuperTypes->includes(redef.target))' subsettingTargetMustBeSubclassOfSubsettedTarget='self.subsetted->notEmpty() implies self.subsetted->forAll(subsetted : Extension | target.eAllSuperTypes->includes(subsetted.target))'"
    • Method Detail

      • setSource

        void setSource​(Stereotype value)
        Sets the value of the 'Source' container reference.
        Parameters:
        value - the new value of the 'Source' container reference.
        See Also:
        getSource()
        Generated class or method.
      • getTarget

        EClass getTarget()
        Returns the value of the 'Target' reference.

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

        Returns:
        the value of the 'Target' reference.
        See Also:
        setTarget(EClass), EMFProfilePackage.getExtension_Target()
        Generated class or method.
        EMF model class or method.
        required="true"
      • setTarget

        void setTarget​(EClass value)
        Sets the value of the 'Target' reference.
        Parameters:
        value - the new value of the 'Target' reference.
        See Also:
        getTarget()
        Generated class or method.
      • getLowerBound

        int getLowerBound()
        Returns the value of the 'Lower Bound' attribute. The default value is "0".

        If the meaning of the 'Lower Bound' attribute isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'Lower Bound' attribute.
        See Also:
        setLowerBound(int), EMFProfilePackage.getExtension_LowerBound()
        Generated class or method.
        EMF model class or method.
        default="0"
      • setLowerBound

        void setLowerBound​(int value)
        Sets the value of the 'Lower Bound' attribute.
        Parameters:
        value - the new value of the 'Lower Bound' attribute.
        See Also:
        getLowerBound()
        Generated class or method.
      • getUpperBound

        int getUpperBound()
        Returns the value of the 'Upper Bound' attribute. The default value is "-1".

        If the meaning of the 'Upper Bound' attribute isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'Upper Bound' attribute.
        See Also:
        setUpperBound(int), EMFProfilePackage.getExtension_UpperBound()
        Generated class or method.
        EMF model class or method.
        default="-1"
      • setUpperBound

        void setUpperBound​(int value)
        Sets the value of the 'Upper Bound' attribute.
        Parameters:
        value - the new value of the 'Upper Bound' attribute.
        See Also:
        getUpperBound()
        Generated class or method.
      • getRedefined

        EList<Extension> getRedefined()
        Returns the value of the 'Redefined' reference list. The list contents are of type Extension. It is bidirectional and its opposite is 'Redefining'.

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

        Returns:
        the value of the 'Redefined' reference list.
        See Also:
        EMFProfilePackage.getExtension_Redefined(), getRedefining()
        Generated class or method.
        EMF model class or method.
        opposite="redefining" ordered="false"
      • getSubsetted

        EList<Extension> getSubsetted()
        Returns the value of the 'Subsetted' reference list. The list contents are of type Extension. It is bidirectional and its opposite is 'Subsetting'.

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

        Returns:
        the value of the 'Subsetted' reference list.
        See Also:
        EMFProfilePackage.getExtension_Subsetted(), getSubsetting()
        Generated class or method.
        EMF model class or method.
        opposite="subsetting" resolveProxies="false"
      • getRedefining

        EList<Extension> getRedefining()
        Returns the value of the 'Redefining' reference list. The list contents are of type Extension. It is bidirectional and its opposite is 'Redefined'.

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

        Returns:
        the value of the 'Redefining' reference list.
        See Also:
        isSetRedefining(), EMFProfilePackage.getExtension_Redefining(), getRedefined()
        Generated class or method.
        EMF model class or method.
        opposite="redefined" unsettable="true" changeable="false" derived="true"
      • isSetRedefining

        boolean isSetRedefining()
        Returns whether the value of the 'Redefining' reference list is set.
        Returns:
        whether the value of the 'Redefining' reference list is set.
        See Also:
        getRedefining()
        Generated class or method.
      • getSubsetting

        EList<Extension> getSubsetting()
        Returns the value of the 'Subsetting' reference list. The list contents are of type Extension. It is bidirectional and its opposite is 'Subsetted'.

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

        Returns:
        the value of the 'Subsetting' reference list.
        See Also:
        isSetSubsetting(), EMFProfilePackage.getExtension_Subsetting(), getSubsetted()
        Generated class or method.
        EMF model class or method.
        opposite="subsetted" unsettable="true" changeable="false" derived="true"
      • isSetSubsetting

        boolean isSetSubsetting()
        Returns whether the value of the 'Subsetting' reference list is set.
        Returns:
        whether the value of the 'Subsetting' reference list is set.
        See Also:
        getSubsetting()
        Generated class or method.
      • isRequired

        boolean isRequired()
        Generated class or method.
        EMF model class or method.
        kind="operation" required="true"
      • isApplicable

        boolean isApplicable​(EClass eClass)
        Generated class or method.
        EMF model class or method.
        required="true" eClassRequired="true"