Class DSLAdapterFactory

  • All Implemented Interfaces:
    AdapterFactory

    public class DSLAdapterFactory
    extends AdapterFactoryImpl
    The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.
    See Also:
    DSLPackage
    Generated class or method.
    • Field Detail

      • modelPackage

        protected static DSLPackage modelPackage
        The cached model package.
        Generated class or method.
      • modelSwitch

        protected DSLSwitch<Adapter> modelSwitch
        The switch that delegates to the createXXX methods.
        Generated class or method.
    • Constructor Detail

      • DSLAdapterFactory

        public DSLAdapterFactory()
        Creates an instance of the adapter factory.
        Generated class or method.
    • Method Detail

      • isFactoryForType

        public boolean isFactoryForType​(Object object)
        Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.
        Specified by:
        isFactoryForType in interface AdapterFactory
        Overrides:
        isFactoryForType in class AdapterFactoryImpl
        Returns:
        whether this factory is applicable for the type of the object.
        Generated class or method.
      • createAdapter

        public Adapter createAdapter​(Notifier target)
        Creates an adapter for the target.
        Overrides:
        createAdapter in class AdapterFactoryImpl
        Parameters:
        target - the object to adapt.
        Returns:
        the adapter for the target.
        Generated class or method.
      • createModelAdapter

        public Adapter createModelAdapter()
        Creates a new adapter for an object of class 'Model'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Model
        Generated class or method.
      • createAbstractElementAdapter

        public Adapter createAbstractElementAdapter()
        Creates a new adapter for an object of class 'Abstract Element'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        AbstractElement
        Generated class or method.
      • createCharacteristicTypeAdapter

        public Adapter createCharacteristicTypeAdapter()
        Creates a new adapter for an object of class 'Characteristic Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CharacteristicType
        Generated class or method.
      • createGlobalConstantDefinitionAdapter

        public Adapter createGlobalConstantDefinitionAdapter()
        Creates a new adapter for an object of class 'Global Constant Definition'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        GlobalConstantDefinition
        Generated class or method.
      • createGlobalSetConstantDefinitionAdapter

        public Adapter createGlobalSetConstantDefinitionAdapter()
        Creates a new adapter for an object of class 'Global Set Constant Definition'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        GlobalSetConstantDefinition
        Generated class or method.
      • createGlobalValueConstantDefinitionAdapter

        public Adapter createGlobalValueConstantDefinitionAdapter()
        Creates a new adapter for an object of class 'Global Value Constant Definition'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        GlobalValueConstantDefinition
        Generated class or method.
      • createCharacteristicClassAdapter

        public Adapter createCharacteristicClassAdapter()
        Creates a new adapter for an object of class 'Characteristic Class'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CharacteristicClass
        Generated class or method.
      • createCharacteristicTypeSelectorAdapter

        public Adapter createCharacteristicTypeSelectorAdapter()
        Creates a new adapter for an object of class 'Characteristic Type Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CharacteristicTypeSelector
        Generated class or method.
      • createCharacteristicVariableTypeAdapter

        public Adapter createCharacteristicVariableTypeAdapter()
        Creates a new adapter for an object of class 'Characteristic Variable Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CharacteristicVariableType
        Generated class or method.
      • createCharacteristicVariableAdapter

        public Adapter createCharacteristicVariableAdapter()
        Creates a new adapter for an object of class 'Characteristic Variable'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CharacteristicVariable
        Generated class or method.
      • createCharacteristicSetAdapter

        public Adapter createCharacteristicSetAdapter()
        Creates a new adapter for an object of class 'Characteristic Set'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CharacteristicSet
        Generated class or method.
      • createIncludeAdapter

        public Adapter createIncludeAdapter()
        Creates a new adapter for an object of class 'Include'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Include
        Generated class or method.
      • createConstraintAdapter

        public Adapter createConstraintAdapter()
        Creates a new adapter for an object of class 'Constraint'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Constraint
        Generated class or method.
      • createRuleAdapter

        public Adapter createRuleAdapter()
        Creates a new adapter for an object of class 'Rule'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Rule
        Generated class or method.
      • createDataAdapter

        public Adapter createDataAdapter()
        Creates a new adapter for an object of class 'Data'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Data
        Generated class or method.
      • createDestinationAdapter

        public Adapter createDestinationAdapter()
        Creates a new adapter for an object of class 'Destination'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Destination
        Generated class or method.
      • createSourceAdapter

        public Adapter createSourceAdapter()
        Creates a new adapter for an object of class 'Source'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Source
        Generated class or method.
      • createDataSelectorAdapter

        public Adapter createDataSelectorAdapter()
        Creates a new adapter for an object of class 'Data Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        DataSelector
        Generated class or method.
      • createSpecificDataSelectorAdapter

        public Adapter createSpecificDataSelectorAdapter()
        Creates a new adapter for an object of class 'Specific Data Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        SpecificDataSelector
        Generated class or method.
      • createCharacteristicSelectorAdapter

        public Adapter createCharacteristicSelectorAdapter()
        Creates a new adapter for an object of class 'Characteristic Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CharacteristicSelector
        Generated class or method.
      • createCharacteristicClassSelectorAdapter

        public Adapter createCharacteristicClassSelectorAdapter()
        Creates a new adapter for an object of class 'Characteristic Class Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CharacteristicClassSelector
        Generated class or method.
      • createAttributeSelectorAdapter

        public Adapter createAttributeSelectorAdapter()
        Creates a new adapter for an object of class 'Attribute Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        AttributeSelector
        Generated class or method.
      • createAttributeClassSelectorAdapter

        public Adapter createAttributeClassSelectorAdapter()
        Creates a new adapter for an object of class 'Attribute Class Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        AttributeClassSelector
        Generated class or method.
      • createAnySelectorAdapter

        public Adapter createAnySelectorAdapter()
        Creates a new adapter for an object of class 'Any Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        AnySelector
        Generated class or method.
      • createNodeSelectorAdapter

        public Adapter createNodeSelectorAdapter()
        Creates a new adapter for an object of class 'Node Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        NodeSelector
        Generated class or method.
      • createPropertySelectorAdapter

        public Adapter createPropertySelectorAdapter()
        Creates a new adapter for an object of class 'Property Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        PropertySelector
        Generated class or method.
      • createPropertyClassSelectorAdapter

        public Adapter createPropertyClassSelectorAdapter()
        Creates a new adapter for an object of class 'Property Class Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        PropertyClassSelector
        Generated class or method.
      • createNodeIdentitiySelectorAdapter

        public Adapter createNodeIdentitiySelectorAdapter()
        Creates a new adapter for an object of class 'Node Identitiy Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        NodeIdentitiySelector
        Generated class or method.
      • createNodeTypeSelectorAdapter

        public Adapter createNodeTypeSelectorAdapter()
        Creates a new adapter for an object of class 'Node Type Selector'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        NodeTypeSelector
        Generated class or method.
      • createStatementAdapter

        public Adapter createStatementAdapter()
        Creates a new adapter for an object of class 'Statement'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Statement
        Generated class or method.
      • createStatementTypeAdapter

        public Adapter createStatementTypeAdapter()
        Creates a new adapter for an object of class 'Statement Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        StatementType
        Generated class or method.
      • createStatementModalityAdapter

        public Adapter createStatementModalityAdapter()
        Creates a new adapter for an object of class 'Statement Modality'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        StatementModality
        Generated class or method.
      • createConditionAdapter

        public Adapter createConditionAdapter()
        Creates a new adapter for an object of class 'Condition'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Condition
        Generated class or method.
      • createReferenceAdapter

        public Adapter createReferenceAdapter()
        Creates a new adapter for an object of class 'Reference'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Reference
        Generated class or method.
      • createCharacteristicReferenceAdapter

        public Adapter createCharacteristicReferenceAdapter()
        Creates a new adapter for an object of class 'Characteristic Reference'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CharacteristicReference
        Generated class or method.
      • createCharacteristicSetReferenceAdapter

        public Adapter createCharacteristicSetReferenceAdapter()
        Creates a new adapter for an object of class 'Characteristic Set Reference'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CharacteristicSetReference
        Generated class or method.
      • createOperationAdapter

        public Adapter createOperationAdapter()
        Creates a new adapter for an object of class 'Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Operation
        Generated class or method.
      • createBooleanOperationAdapter

        public Adapter createBooleanOperationAdapter()
        Creates a new adapter for an object of class 'Boolean Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        BooleanOperation
        Generated class or method.
      • createCharacteristsicSetOperationAdapter

        public Adapter createCharacteristsicSetOperationAdapter()
        Creates a new adapter for an object of class 'Characteristsic Set Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CharacteristsicSetOperation
        Generated class or method.
      • createSimpleBooleanOperationAdapter

        public Adapter createSimpleBooleanOperationAdapter()
        Creates a new adapter for an object of class 'Simple Boolean Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        SimpleBooleanOperation
        Generated class or method.
      • createVariableEqualityOperationAdapter

        public Adapter createVariableEqualityOperationAdapter()
        Creates a new adapter for an object of class 'Variable Equality Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        VariableEqualityOperation
        Generated class or method.
      • createVariableInequalityOperationAdapter

        public Adapter createVariableInequalityOperationAdapter()
        Creates a new adapter for an object of class 'Variable Inequality Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        VariableInequalityOperation
        Generated class or method.
      • createLessThanOperationAdapter

        public Adapter createLessThanOperationAdapter()
        Creates a new adapter for an object of class 'Less Than Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        LessThanOperation
        Generated class or method.
      • createGreaterThanOperationAdapter

        public Adapter createGreaterThanOperationAdapter()
        Creates a new adapter for an object of class 'Greater Than Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        GreaterThanOperation
        Generated class or method.
      • createEmptySetOperationAdapter

        public Adapter createEmptySetOperationAdapter()
        Creates a new adapter for an object of class 'Empty Set Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        EmptySetOperation
        Generated class or method.
      • createSubsetOperationAdapter

        public Adapter createSubsetOperationAdapter()
        Creates a new adapter for an object of class 'Subset Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        SubsetOperation
        Generated class or method.
      • createIntersectionOperationAdapter

        public Adapter createIntersectionOperationAdapter()
        Creates a new adapter for an object of class 'Intersection Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        IntersectionOperation
        Generated class or method.
      • createUnionOperationAdapter

        public Adapter createUnionOperationAdapter()
        Creates a new adapter for an object of class 'Union Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        UnionOperation
        Generated class or method.
      • createSubtractOperationAdapter

        public Adapter createSubtractOperationAdapter()
        Creates a new adapter for an object of class 'Subtract Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        SubtractOperation
        Generated class or method.
      • createElementOfOperationAdapter

        public Adapter createElementOfOperationAdapter()
        Creates a new adapter for an object of class 'Element Of Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        ElementOfOperation
        Generated class or method.
      • createCreateSetOperationAdapter

        public Adapter createCreateSetOperationAdapter()
        Creates a new adapter for an object of class 'Create Set Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CreateSetOperation
        Generated class or method.
      • createComplementOperationAdapter

        public Adapter createComplementOperationAdapter()
        Creates a new adapter for an object of class 'Complement Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        ComplementOperation
        Generated class or method.
      • createNumericOperationAdapter

        public Adapter createNumericOperationAdapter()
        Creates a new adapter for an object of class 'Numeric Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        NumericOperation
        Generated class or method.
      • createIndexOperationAdapter

        public Adapter createIndexOperationAdapter()
        Creates a new adapter for an object of class 'Index Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        IndexOperation
        Generated class or method.
      • createLogicalOrOperationAdapter

        public Adapter createLogicalOrOperationAdapter()
        Creates a new adapter for an object of class 'Logical Or Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        LogicalOrOperation
        Generated class or method.
      • createLogicalAndOperationAdapter

        public Adapter createLogicalAndOperationAdapter()
        Creates a new adapter for an object of class 'Logical And Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        LogicalAndOperation
        Generated class or method.
      • createLogicalNegationOperationAdapter

        public Adapter createLogicalNegationOperationAdapter()
        Creates a new adapter for an object of class 'Logical Negation Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        LogicalNegationOperation
        Generated class or method.
      • createEObjectAdapter

        public Adapter createEObjectAdapter()
        Creates a new adapter for the default case. This default implementation returns null.
        Returns:
        the new adapter.
        Generated class or method.