Class DataFactoryImpl

  • All Implemented Interfaces:
    DataFactory, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.DataConverter.Factory

    public class DataFactoryImpl
    extends org.eclipse.emf.ecore.impl.EFactoryImpl
    implements DataFactory
    An implementation of the model Factory .
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container

        org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
      • Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl

        org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
      • Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

        org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
      • Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject

        org.eclipse.emf.ecore.InternalEObject.EStore
    • Field Summary

      • Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder

        NIL
      • Fields inherited from interface org.eclipse.emf.ecore.InternalEObject

        EOPPOSITE_FEATURE_BASE
    • Constructor Summary

      Constructors 
      Constructor Description
      DataFactoryImpl()
      Creates an instance of the factory.
    • Constructor Detail

      • DataFactoryImpl

        public DataFactoryImpl()
        Creates an instance of the factory.
    • Method Detail

      • init

        public static DataFactory init()
        Creates the default factory implementation.
      • create

        public org.eclipse.emf.ecore.EObject create​(org.eclipse.emf.ecore.EClass eClass)
        Specified by:
        create in interface org.eclipse.emf.ecore.EFactory
        Overrides:
        create in class org.eclipse.emf.ecore.impl.EFactoryImpl
      • createFromString

        public java.lang.Object createFromString​(org.eclipse.emf.ecore.EDataType eDataType,
                                                 java.lang.String initialValue)
        Specified by:
        createFromString in interface org.eclipse.emf.ecore.EFactory
        Overrides:
        createFromString in class org.eclipse.emf.ecore.impl.EFactoryImpl
      • convertToString

        public java.lang.String convertToString​(org.eclipse.emf.ecore.EDataType eDataType,
                                                java.lang.Object instanceValue)
        Specified by:
        convertToString in interface org.eclipse.emf.ecore.EFactory
        Overrides:
        convertToString in class org.eclipse.emf.ecore.impl.EFactoryImpl
      • createQuery

        public Query createQuery()
        Specified by:
        createQuery in interface DataFactory
        Returns:
        a new object of class 'Query'.
      • createRule

        public Rule createRule()
        Specified by:
        createRule in interface DataFactory
        Returns:
        a new object of class 'Rule'.
      • createDataFromString

        public java.lang.Object createDataFromString​(org.eclipse.emf.ecore.EDataType eDataType,
                                                     java.lang.String initialValue)
      • convertDataToString

        public java.lang.String convertDataToString​(org.eclipse.emf.ecore.EDataType eDataType,
                                                    java.lang.Object instanceValue)
      • getPackage

        @Deprecated
        public static DataPackage getPackage()
        Deprecated.