Class XbaseAdapterFactory

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.AdapterFactory

    public class XbaseAdapterFactory
    extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
    The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.
    Since:
    2.7
    See Also:
    XbasePackage
    Generated:
    • Field Detail

      • modelPackage

        protected static XbasePackage modelPackage
        The cached model package.
        Generated:
      • modelSwitch

        protected XbaseSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
        The switch that delegates to the createXXX methods.
        Generated:
    • Constructor Detail

      • XbaseAdapterFactory

        public XbaseAdapterFactory()
        Creates an instance of the adapter factory.
        Generated:
    • Method Detail

      • isFactoryForType

        public boolean isFactoryForType​(java.lang.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 org.eclipse.emf.common.notify.AdapterFactory
        Overrides:
        isFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
        Returns:
        whether this factory is applicable for the type of the object.
        Generated:
      • createAdapter

        public org.eclipse.emf.common.notify.Adapter createAdapter​(org.eclipse.emf.common.notify.Notifier target)
        Creates an adapter for the target.
        Overrides:
        createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
        Parameters:
        target - the object to adapt.
        Returns:
        the adapter for the target.
        Generated:
      • createXExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXExpressionAdapter()
        Creates a new adapter for an object of class 'XExpression'. 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.
        Since:
        2.7
        See Also:
        XExpression
        Generated:
      • createXIfExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXIfExpressionAdapter()
        Creates a new adapter for an object of class 'XIf Expression'. 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.
        Since:
        2.7
        See Also:
        XIfExpression
        Generated:
      • createXSwitchExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXSwitchExpressionAdapter()
        Creates a new adapter for an object of class 'XSwitch Expression'. 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.
        Since:
        2.7
        See Also:
        XSwitchExpression
        Generated:
      • createXCasePartAdapter

        public org.eclipse.emf.common.notify.Adapter createXCasePartAdapter()
        Creates a new adapter for an object of class 'XCase Part'. 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.
        Since:
        2.7
        See Also:
        XCasePart
        Generated:
      • createXBlockExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXBlockExpressionAdapter()
        Creates a new adapter for an object of class 'XBlock Expression'. 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.
        Since:
        2.7
        See Also:
        XBlockExpression
        Generated:
      • createXVariableDeclarationAdapter

        public org.eclipse.emf.common.notify.Adapter createXVariableDeclarationAdapter()
        Creates a new adapter for an object of class 'XVariable Declaration'. 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.
        Since:
        2.7
        See Also:
        XVariableDeclaration
        Generated:
      • createXAbstractFeatureCallAdapter

        public org.eclipse.emf.common.notify.Adapter createXAbstractFeatureCallAdapter()
        Creates a new adapter for an object of class 'XAbstract Feature 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.
        Since:
        2.7
        See Also:
        XAbstractFeatureCall
        Generated:
      • createXMemberFeatureCallAdapter

        public org.eclipse.emf.common.notify.Adapter createXMemberFeatureCallAdapter()
        Creates a new adapter for an object of class 'XMember Feature 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.
        Since:
        2.7
        See Also:
        XMemberFeatureCall
        Generated:
      • createXFeatureCallAdapter

        public org.eclipse.emf.common.notify.Adapter createXFeatureCallAdapter()
        Creates a new adapter for an object of class 'XFeature 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.
        Since:
        2.7
        See Also:
        XFeatureCall
        Generated:
      • createXConstructorCallAdapter

        public org.eclipse.emf.common.notify.Adapter createXConstructorCallAdapter()
        Creates a new adapter for an object of class 'XConstructor 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.
        Since:
        2.7
        See Also:
        XConstructorCall
        Generated:
      • createXBooleanLiteralAdapter

        public org.eclipse.emf.common.notify.Adapter createXBooleanLiteralAdapter()
        Creates a new adapter for an object of class 'XBoolean Literal'. 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.
        Since:
        2.7
        See Also:
        XBooleanLiteral
        Generated:
      • createXNullLiteralAdapter

        public org.eclipse.emf.common.notify.Adapter createXNullLiteralAdapter()
        Creates a new adapter for an object of class 'XNull Literal'. 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.
        Since:
        2.7
        See Also:
        XNullLiteral
        Generated:
      • createXNumberLiteralAdapter

        public org.eclipse.emf.common.notify.Adapter createXNumberLiteralAdapter()
        Creates a new adapter for an object of class 'XNumber Literal'. 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.
        Since:
        2.7
        See Also:
        XNumberLiteral
        Generated:
      • createXStringLiteralAdapter

        public org.eclipse.emf.common.notify.Adapter createXStringLiteralAdapter()
        Creates a new adapter for an object of class 'XString Literal'. 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.
        Since:
        2.7
        See Also:
        XStringLiteral
        Generated:
      • createXCollectionLiteralAdapter

        public org.eclipse.emf.common.notify.Adapter createXCollectionLiteralAdapter()
        Creates a new adapter for an object of class 'XCollection Literal'. 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.
        Since:
        2.7
        See Also:
        XCollectionLiteral
        Generated:
      • createXListLiteralAdapter

        public org.eclipse.emf.common.notify.Adapter createXListLiteralAdapter()
        Creates a new adapter for an object of class 'XList Literal'. 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.
        Since:
        2.7
        See Also:
        XListLiteral
        Generated:
      • createXSetLiteralAdapter

        public org.eclipse.emf.common.notify.Adapter createXSetLiteralAdapter()
        Creates a new adapter for an object of class 'XSet Literal'. 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.
        Since:
        2.7
        See Also:
        XSetLiteral
        Generated:
      • createXClosureAdapter

        public org.eclipse.emf.common.notify.Adapter createXClosureAdapter()
        Creates a new adapter for an object of class 'XClosure'. 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.
        Since:
        2.7
        See Also:
        XClosure
        Generated:
      • createXCastedExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXCastedExpressionAdapter()
        Creates a new adapter for an object of class 'XCasted Expression'. 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.
        Since:
        2.7
        See Also:
        XCastedExpression
        Generated:
      • createXBinaryOperationAdapter

        public org.eclipse.emf.common.notify.Adapter createXBinaryOperationAdapter()
        Creates a new adapter for an object of class 'XBinary 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.
        Since:
        2.7
        See Also:
        XBinaryOperation
        Generated:
      • createXUnaryOperationAdapter

        public org.eclipse.emf.common.notify.Adapter createXUnaryOperationAdapter()
        Creates a new adapter for an object of class 'XUnary 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.
        Since:
        2.7
        See Also:
        XUnaryOperation
        Generated:
      • createXPostfixOperationAdapter

        public org.eclipse.emf.common.notify.Adapter createXPostfixOperationAdapter()
        Creates a new adapter for an object of class 'XPostfix 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.
        Since:
        2.7
        See Also:
        XPostfixOperation
        Generated:
      • createXForLoopExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXForLoopExpressionAdapter()
        Creates a new adapter for an object of class 'XFor Loop Expression'. 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.
        Since:
        2.7
        See Also:
        XForLoopExpression
        Generated:
      • createXBasicForLoopExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXBasicForLoopExpressionAdapter()
        Creates a new adapter for an object of class 'XBasic For Loop Expression'. 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.
        Since:
        2.7
        See Also:
        XBasicForLoopExpression
        Generated:
      • createXAbstractWhileExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXAbstractWhileExpressionAdapter()
        Creates a new adapter for an object of class 'XAbstract While Expression'. 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.
        Since:
        2.7
        See Also:
        XAbstractWhileExpression
        Generated:
      • createXDoWhileExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXDoWhileExpressionAdapter()
        Creates a new adapter for an object of class 'XDo While Expression'. 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.
        Since:
        2.7
        See Also:
        XDoWhileExpression
        Generated:
      • createXWhileExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXWhileExpressionAdapter()
        Creates a new adapter for an object of class 'XWhile Expression'. 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.
        Since:
        2.7
        See Also:
        XWhileExpression
        Generated:
      • createXTypeLiteralAdapter

        public org.eclipse.emf.common.notify.Adapter createXTypeLiteralAdapter()
        Creates a new adapter for an object of class 'XType Literal'. 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.
        Since:
        2.7
        See Also:
        XTypeLiteral
        Generated:
      • createXInstanceOfExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXInstanceOfExpressionAdapter()
        Creates a new adapter for an object of class 'XInstance Of Expression'. 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.
        Since:
        2.7
        See Also:
        XInstanceOfExpression
        Generated:
      • createXThrowExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXThrowExpressionAdapter()
        Creates a new adapter for an object of class 'XThrow Expression'. 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.
        Since:
        2.7
        See Also:
        XThrowExpression
        Generated:
      • createXTryCatchFinallyExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXTryCatchFinallyExpressionAdapter()
        Creates a new adapter for an object of class 'XTry Catch Finally Expression'. 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.
        Since:
        2.7
        See Also:
        XTryCatchFinallyExpression
        Generated:
      • createXCatchClauseAdapter

        public org.eclipse.emf.common.notify.Adapter createXCatchClauseAdapter()
        Creates a new adapter for an object of class 'XCatch Clause'. 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.
        Since:
        2.7
        See Also:
        XCatchClause
        Generated:
      • createXAssignmentAdapter

        public org.eclipse.emf.common.notify.Adapter createXAssignmentAdapter()
        Creates a new adapter for an object of class 'XAssignment'. 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.
        Since:
        2.7
        See Also:
        XAssignment
        Generated:
      • createXReturnExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXReturnExpressionAdapter()
        Creates a new adapter for an object of class 'XReturn Expression'. 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.
        Since:
        2.7
        See Also:
        XReturnExpression
        Generated:
      • createXSynchronizedExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXSynchronizedExpressionAdapter()
        Creates a new adapter for an object of class 'XSynchronized Expression'. 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.
        Since:
        2.7
        See Also:
        XSynchronizedExpression
        Generated:
      • createJvmIdentifiableElementAdapter

        public org.eclipse.emf.common.notify.Adapter createJvmIdentifiableElementAdapter()
        Creates a new adapter for an object of class 'Jvm Identifiable 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:
        JvmIdentifiableElement
        Generated:
      • createEObjectAdapter

        public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
        Creates a new adapter for the default case. This default implementation returns null.
        Returns:
        the new adapter.
        Generated: