Interface FeatureGroup

    • Method Detail

      • getMin

        int getMin()
        Returns the value of the 'Min' attribute. The default value is "1".

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

        Returns:
        the value of the 'Min' attribute.
        See Also:
        setMin(int), featuremodelPackage.getFeatureGroup_Min()
        Generated class or method.
        EMF model class or method.
        default="1" required="true" ordered="false"
      • setMin

        void setMin​(int value)
        Sets the value of the 'Min' attribute.
        Parameters:
        value - the new value of the 'Min' attribute.
        See Also:
        getMin()
        Generated class or method.
      • getMax

        int getMax()
        Returns the value of the 'Max' attribute. The default value is "1".

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

        Returns:
        the value of the 'Max' attribute.
        See Also:
        setMax(int), featuremodelPackage.getFeatureGroup_Max()
        Generated class or method.
        EMF model class or method.
        default="1" required="true" ordered="false"
      • setMax

        void setMax​(int value)
        Sets the value of the 'Max' attribute.
        Parameters:
        value - the new value of the 'Max' attribute.
        See Also:
        getMax()
        Generated class or method.
      • getChildren

        EList<Feature> getChildren()
        Returns the value of the 'Children' containment reference list. The list contents are of type Feature. It is bidirectional and its opposite is 'Featuregroup'.

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

        Returns:
        the value of the 'Children' containment reference list.
        See Also:
        featuremodelPackage.getFeatureGroup_Children(), Feature.getFeaturegroup()
        Generated class or method.
        EMF model class or method.
        opposite="featuregroup" containment="true" lower="2" ordered="false"
      • XORorORImpliesChildrenAreMandatory

        boolean XORorORImpliesChildrenAreMandatory​(DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
        true --(self.groupType = GroupTypes::OR or self.groupType = GroupTypes::XOR) implies self.children->forAll(c|c.isMandatory)
        Parameters:
        diagnostics - The chain of diagnostics to which problems are to be appended.
        context - The cache of context-specific information.
        Generated class or method.
        EMF model class or method.
        annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='true \r\n--(self.groupType = GroupTypes::OR or self.groupType = GroupTypes::XOR) implies self.children->forAll(c|c.isMandatory)\r\n'"
      • ALLImpliesCardinalitiesToBeMinusOne

        boolean ALLImpliesCardinalitiesToBeMinusOne​(DiagnosticChain diagnostics,
                                                    Map<Object,​Object> context)
        true --self.groupType = GroupTypes::ALL implies (self.min = -1 and self.max = -1)
        Parameters:
        diagnostics - The chain of diagnostics to which problems are to be appended.
        context - The cache of context-specific information.
        Generated class or method.
        EMF model class or method.
        annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='true \r\n --self.groupType = GroupTypes::ALL implies (self.min = -1 and self.max = -1)\r\n'"
      • ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne

        boolean ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne​(DiagnosticChain diagnostics,
                                                                   Map<Object,​Object> context)
        true --self.groupType = GroupTypes::OR implies (self.min = 1 and self.max = -1)
        Parameters:
        diagnostics - The chain of diagnostics to which problems are to be appended.
        context - The cache of context-specific information.
        Generated class or method.
        EMF model class or method.
        annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='true \r\n--self.groupType = GroupTypes::OR implies (self.min = 1 and self.max = -1)'"
      • XORImpliesCardinalitiesToBeOne

        boolean XORImpliesCardinalitiesToBeOne​(DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
        true --self.groupType = GroupTypes::XOR implies (self.min = 1 and self.max = 1)
        Parameters:
        diagnostics - The chain of diagnostics to which problems are to be appended.
        context - The cache of context-specific information.
        Generated class or method.
        EMF model class or method.
        annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='true \r\n --self.groupType = GroupTypes::XOR implies (self.min = 1 and self.max = 1)\r\n'"