Class featureconfigValidator

java.lang.Object
org.eclipse.emf.ecore.util.EObjectValidator
de.uka.ipd.sdq.featureconfig.util.featureconfigValidator
All Implemented Interfaces:
EValidator

public class featureconfigValidator extends EObjectValidator
The Validator for the model.
See Also:
Generated class or method.
  • Field Details

    • INSTANCE

      public static final featureconfigValidator INSTANCE
      The cached model package
      Generated class or method.
    • DIAGNOSTIC_SOURCE

      public static final String DIAGNOSTIC_SOURCE
      A constant for the source of diagnostic codes from this package.
      See Also:
      Generated class or method.
    • CONFIG_NODE__CONFIG_CARDINALITY_INVALID

      public static final int CONFIG_NODE__CONFIG_CARDINALITY_INVALID
      The code for constraint 'Config Cardinality Invalid' of 'Config Node'.
      See Also:
      Generated class or method.
    • CONFIG_NODE__CHECK_MULTIPLICITY_OF_FEATURE_GROUP

      public static final int CONFIG_NODE__CHECK_MULTIPLICITY_OF_FEATURE_GROUP
      The code for constraint 'Check Multiplicity Of Feature Group' of 'Config Node'.
      See Also:
      Generated class or method.
    • INTEGER_ATTRIBUTE_VALUE__ATTRIBUTE_VALUE_IS_DEFINED_IN_FEATURE_AND_EQUALS_TYPE_INTEGER

      public static final int INTEGER_ATTRIBUTE_VALUE__ATTRIBUTE_VALUE_IS_DEFINED_IN_FEATURE_AND_EQUALS_TYPE_INTEGER
      The code for constraint 'Attribute Value Is Defined In Feature And Equals Type Integer' of 'Integer Attribute Value'.
      See Also:
      Generated class or method.
    • DOUBLE_ATTRIBUTE_VALUE__ATTRIBUTE_VALUE_IS_DEFINED_IN_FEATURE_AND_EQUALS_TYPE_DOUBLE

      public static final int DOUBLE_ATTRIBUTE_VALUE__ATTRIBUTE_VALUE_IS_DEFINED_IN_FEATURE_AND_EQUALS_TYPE_DOUBLE
      The code for constraint 'Attribute Value Is Defined In Feature And Equals Type Double' of 'Double Attribute Value'.
      See Also:
      Generated class or method.
    • STRING_ATTRIBUTE_VALUE__ATTRIBUTE_VALUE_IS_DEFINED_IN_FEATURE_AND_EQUALS_TYPE_STRING

      public static final int STRING_ATTRIBUTE_VALUE__ATTRIBUTE_VALUE_IS_DEFINED_IN_FEATURE_AND_EQUALS_TYPE_STRING
      The code for constraint 'Attribute Value Is Defined In Feature And Equals Type String' of 'String Attribute Value'.
      See Also:
      Generated class or method.
    • EXTERNAL_OBJECT_ATTRIBUTE_VALUE__ATTRIBUTE_VALUE_IS_DEFINED_IN_FEATURE_AND_EQUALS_TYPE_EXTERNAL_OBJECT

      public static final int EXTERNAL_OBJECT_ATTRIBUTE_VALUE__ATTRIBUTE_VALUE_IS_DEFINED_IN_FEATURE_AND_EQUALS_TYPE_EXTERNAL_OBJECT
      The code for constraint 'Attribute Value Is Defined In Feature And Equals Type External Object' of 'External Object Attribute Value'.
      See Also:
      Generated class or method.
    • DIAGNOSTIC_CODE_COUNT

      protected static final int DIAGNOSTIC_CODE_COUNT
      A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
      See Also:
      Generated class or method.
  • Constructor Details

    • featureconfigValidator

      public featureconfigValidator()
      Creates an instance of the switch.
      Generated class or method.
  • Method Details

    • getEPackage

      protected EPackage getEPackage()
      Returns the package of this validator switch.
      Overrides:
      getEPackage in class EObjectValidator
      Generated class or method.
    • validate

      protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object,Object> context)
      Calls validateXXX for the corresponding classifier of the model.
      Overrides:
      validate in class EObjectValidator
      Generated class or method.
    • validateConfigNode

      public boolean validateConfigNode(ConfigNode configNode, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateConfigNode_ConfigCardinalityInvalid

      public boolean validateConfigNode_ConfigCardinalityInvalid(ConfigNode configNode, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the ConfigCardinalityInvalid constraint of 'Config Node'.
      Generated class or method.
    • validateConfigNode_CheckMultiplicityOfFeatureGroup

      public boolean validateConfigNode_CheckMultiplicityOfFeatureGroup(ConfigNode configNode, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the CheckMultiplicityOfFeatureGroup constraint of 'Config Node'.
      Generated class or method.
    • validateAttributeValue

      public boolean validateAttributeValue(AttributeValue attributeValue, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateFeatureConfig

      public boolean validateFeatureConfig(FeatureConfig featureConfig, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateConfiguration

      public boolean validateConfiguration(Configuration configuration, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateIntegerAttributeValue

      public boolean validateIntegerAttributeValue(IntegerAttributeValue integerAttributeValue, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateIntegerAttributeValue_AttributeValueIsDefinedInFeatureAndEqualsTypeInteger

      public boolean validateIntegerAttributeValue_AttributeValueIsDefinedInFeatureAndEqualsTypeInteger(IntegerAttributeValue integerAttributeValue, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the AttributeValueIsDefinedInFeatureAndEqualsTypeInteger constraint of 'Integer Attribute Value'.
      Generated class or method.
    • validateDoubleAttributeValue

      public boolean validateDoubleAttributeValue(DoubleAttributeValue doubleAttributeValue, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateDoubleAttributeValue_AttributeValueIsDefinedInFeatureAndEqualsTypeDouble

      public boolean validateDoubleAttributeValue_AttributeValueIsDefinedInFeatureAndEqualsTypeDouble(DoubleAttributeValue doubleAttributeValue, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the AttributeValueIsDefinedInFeatureAndEqualsTypeDouble constraint of 'Double Attribute Value'.
      Generated class or method.
    • validateStringAttributeValue

      public boolean validateStringAttributeValue(StringAttributeValue stringAttributeValue, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateStringAttributeValue_AttributeValueIsDefinedInFeatureAndEqualsTypeString

      public boolean validateStringAttributeValue_AttributeValueIsDefinedInFeatureAndEqualsTypeString(StringAttributeValue stringAttributeValue, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the AttributeValueIsDefinedInFeatureAndEqualsTypeString constraint of 'String Attribute Value'.
      Generated class or method.
    • validateExternalObjectAttributeValue

      public boolean validateExternalObjectAttributeValue(ExternalObjectAttributeValue externalObjectAttributeValue, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateExternalObjectAttributeValue_AttributeValueIsDefinedInFeatureAndEqualsTypeExternalObject

      public boolean validateExternalObjectAttributeValue_AttributeValueIsDefinedInFeatureAndEqualsTypeExternalObject(ExternalObjectAttributeValue externalObjectAttributeValue, DiagnosticChain diagnostics, Map<Object,Object> context)
      Validates the AttributeValueIsDefinedInFeatureAndEqualsTypeExternalObject constraint of 'External Object Attribute Value'.
      Generated class or method.
    • validateConfigState

      public boolean validateConfigState(ConfigState configState, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • validateFeatureConfigState

      public boolean validateFeatureConfigState(FeatureConfigState featureConfigState, DiagnosticChain diagnostics, Map<Object,Object> context)
      Generated class or method.
    • getResourceLocator

      public ResourceLocator getResourceLocator()
      Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
      Overrides:
      getResourceLocator in class EObjectValidator
      Generated class or method.