Class RepoLangAdapterFactory

  • All Implemented Interfaces:
    AdapterFactory

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

      • modelPackage

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

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

      • RepoLangAdapterFactory

        public RepoLangAdapterFactory()
        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.
      • createRepositoryAdapter

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

        public Adapter createImportedRepositoryAdapter()
        Creates a new adapter for an object of class 'Imported Repository'. 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:
        ImportedRepository
        Generated class or method.
      • createNamedElementAdapter

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

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

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

        public Adapter createSignatureParameterAdapter()
        Creates a new adapter for an object of class 'Signature Parameter'. 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:
        SignatureParameter
        Generated class or method.
      • createComponentAdapter

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

        public Adapter createRoleSpecificationAdapter()
        Creates a new adapter for an object of class 'Role Specification'. 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:
        RoleSpecification
        Generated class or method.
      • createCompositeComponentAdapter

        public Adapter createCompositeComponentAdapter()
        Creates a new adapter for an object of class 'Composite Component'. 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:
        CompositeComponent
        Generated class or method.
      • createSeffAdapter

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

        public Adapter createSeffActionAdapter()
        Creates a new adapter for an object of class 'Seff Action'. 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:
        SeffAction
        Generated class or method.
      • createSeffInternalActionAdapter

        public Adapter createSeffInternalActionAdapter()
        Creates a new adapter for an object of class 'Seff Internal Action'. 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:
        SeffInternalAction
        Generated class or method.
      • createSeffAcquireActionAdapter

        public Adapter createSeffAcquireActionAdapter()
        Creates a new adapter for an object of class 'Seff Acquire Action'. 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:
        SeffAcquireAction
        Generated class or method.
      • createSeffReleaseActionAdapter

        public Adapter createSeffReleaseActionAdapter()
        Creates a new adapter for an object of class 'Seff Release Action'. 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:
        SeffReleaseAction
        Generated class or method.
      • createSeffLoopActionAdapter

        public Adapter createSeffLoopActionAdapter()
        Creates a new adapter for an object of class 'Seff Loop Action'. 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:
        SeffLoopAction
        Generated class or method.
      • createSeffSetReturnActionAdapter

        public Adapter createSeffSetReturnActionAdapter()
        Creates a new adapter for an object of class 'Seff Set Return Action'. 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:
        SeffSetReturnAction
        Generated class or method.
      • createSeffSetVariableActionAdapter

        public Adapter createSeffSetVariableActionAdapter()
        Creates a new adapter for an object of class 'Seff Set Variable Action'. 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:
        SeffSetVariableAction
        Generated class or method.
      • createSeffExternalCallActionAdapter

        public Adapter createSeffExternalCallActionAdapter()
        Creates a new adapter for an object of class 'Seff External Call Action'. 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:
        SeffExternalCallAction
        Generated class or method.
      • createSeffCallParameterAdapter

        public Adapter createSeffCallParameterAdapter()
        Creates a new adapter for an object of class 'Seff Call Parameter'. 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:
        SeffCallParameter
        Generated class or method.
      • createSeffReferenceParameterAdapter

        public Adapter createSeffReferenceParameterAdapter()
        Creates a new adapter for an object of class 'Seff Reference Parameter'. 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:
        SeffReferenceParameter
        Generated class or method.
      • createSeffReturnParameterAdapter

        public Adapter createSeffReturnParameterAdapter()
        Creates a new adapter for an object of class 'Seff Return Parameter'. 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:
        SeffReturnParameter
        Generated class or method.
      • createSeffVariableCharAdapter

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

        public Adapter createSeffProbabilisticBranchActionAdapter()
        Creates a new adapter for an object of class 'Seff Probabilistic Branch Action'. 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:
        SeffProbabilisticBranchAction
        Generated class or method.
      • createSeffBranchAdapter

        public Adapter createSeffBranchAdapter()
        Creates a new adapter for an object of class 'Seff Branch'. 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:
        SeffBranch
        Generated class or method.
      • createSeffProbabilisticBranchAdapter

        public Adapter createSeffProbabilisticBranchAdapter()
        Creates a new adapter for an object of class 'Seff Probabilistic Branch'. 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:
        SeffProbabilisticBranch
        Generated class or method.
      • createSeffGuardedBranchActionAdapter

        public Adapter createSeffGuardedBranchActionAdapter()
        Creates a new adapter for an object of class 'Seff Guarded Branch Action'. 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:
        SeffGuardedBranchAction
        Generated class or method.
      • createSeffGuardedBranchAdapter

        public Adapter createSeffGuardedBranchAdapter()
        Creates a new adapter for an object of class 'Seff Guarded Branch'. 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:
        SeffGuardedBranch
        Generated class or method.
      • createSeffForkActionAdapter

        public Adapter createSeffForkActionAdapter()
        Creates a new adapter for an object of class 'Seff Fork Action'. 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:
        SeffForkAction
        Generated class or method.
      • createSeffForkAdapter

        public Adapter createSeffForkAdapter()
        Creates a new adapter for an object of class 'Seff Fork'. 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:
        SeffFork
        Generated class or method.
      • createSubSeffAdapter

        public Adapter createSubSeffAdapter()
        Creates a new adapter for an object of class 'Sub Seff'. 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:
        SubSeff
        Generated class or method.
      • createPassiveResourceAdapter

        public Adapter createPassiveResourceAdapter()
        Creates a new adapter for an object of class 'Passive Resource'. 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:
        PassiveResource
        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.