Class PrologmodelAdapterFactory

    • Field Detail

      • modelPackage

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

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

      • PrologmodelAdapterFactory

        public PrologmodelAdapterFactory()
        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.
      • createSystemAdapter

        public Adapter createSystemAdapter()
        Creates a new adapter for an object of class 'System'. 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:
        System
        Generated class or method.
      • createAttributeAdapter

        public Adapter createAttributeAdapter()
        Creates a new adapter for an object of class 'Attribute'. 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:
        Attribute
        Generated class or method.
      • createValueAdapter

        public Adapter createValueAdapter()
        Creates a new adapter for an object of class 'Value'. 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:
        Value
        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.
      • createVariableAdapter

        public Adapter createVariableAdapter()
        Creates a new adapter for an object of class '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:
        Variable
        Generated class or method.
      • createDataTypeAdapter

        public Adapter createDataTypeAdapter()
        Creates a new adapter for an object of class 'Data 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:
        DataType
        Generated class or method.
      • createPropertyAdapter

        public Adapter createPropertyAdapter()
        Creates a new adapter for an object of class 'Property'. 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:
        Property
        Generated class or method.
      • createPropertyDefinitionAdapter

        public Adapter createPropertyDefinitionAdapter()
        Creates a new adapter for an object of class 'Property 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:
        PropertyDefinition
        Generated class or method.
      • createOperationCallAdapter

        public Adapter createOperationCallAdapter()
        Creates a new adapter for an object of class 'Operation Call'. 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:
        OperationCall
        Generated class or method.
      • createVariableAssignmentAdapter

        public Adapter createVariableAssignmentAdapter()
        Creates a new adapter for an object of class 'Variable Assignment'. 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:
        VariableAssignment
        Generated class or method.
      • createValueSetTypeAdapter

        public Adapter createValueSetTypeAdapter()
        Creates a new adapter for an object of class 'Value Set 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:
        ValueSetType
        Generated class or method.
      • createLogicTermAdapter

        public Adapter createLogicTermAdapter()
        Creates a new adapter for an object of class 'Logic Term'. 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:
        LogicTerm
        Generated class or method.
      • createTrueAdapter

        public Adapter createTrueAdapter()
        Creates a new adapter for an object of class 'True'. 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:
        True
        Generated class or method.
      • createFalseAdapter

        public Adapter createFalseAdapter()
        Creates a new adapter for an object of class 'False'. 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:
        False
        Generated class or method.
      • createAndAdapter

        public Adapter createAndAdapter()
        Creates a new adapter for an object of class 'And'. 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:
        And
        Generated class or method.
      • createOrAdapter

        public Adapter createOrAdapter()
        Creates a new adapter for an object of class 'Or'. 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:
        Or
        Generated class or method.
      • createNotAdapter

        public Adapter createNotAdapter()
        Creates a new adapter for an object of class 'Not'. 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:
        Not
        Generated class or method.
      • createParameterRefAdapter

        public Adapter createParameterRefAdapter()
        Creates a new adapter for an object of class 'Parameter Ref'. 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:
        ParameterRef
        Generated class or method.
      • createPropertyRefAdapter

        public Adapter createPropertyRefAdapter()
        Creates a new adapter for an object of class 'Property Ref'. 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:
        PropertyRef
        Generated class or method.
      • createCallerAdapter

        public Adapter createCallerAdapter()
        Creates a new adapter for an object of class 'Caller'. 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:
        Caller
        Generated class or method.
      • createSystemUsageAdapter

        public Adapter createSystemUsageAdapter()
        Creates a new adapter for an object of class 'System Usage'. 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:
        SystemUsage
        Generated class or method.
      • createReturnValueRefAdapter

        public Adapter createReturnValueRefAdapter()
        Creates a new adapter for an object of class 'Return Value Ref'. 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:
        ReturnValueRef
        Generated class or method.
      • createStateRefAdapter

        public Adapter createStateRefAdapter()
        Creates a new adapter for an object of class 'State Ref'. 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:
        StateRef
        Generated class or method.
      • createDefaultStateRefAdapter

        public Adapter createDefaultStateRefAdapter()
        Creates a new adapter for an object of class 'Default State Ref'. 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:
        DefaultStateRef
        Generated class or method.
      • createMinStaticAdapter

        public Adapter createMinStaticAdapter()
        Creates a new adapter for an object of class 'Min Static'. 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:
        MinStatic
        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.