org.eclipse.emf.codegen.ecore.genmodel.impl
Class GenModelFactoryImpl
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.NotifierImpl
|
+--org.eclipse.emf.ecore.impl.EObjectImpl
|
+--org.eclipse.emf.ecore.impl.EModelElementImpl
|
+--org.eclipse.emf.ecore.impl.EFactoryImpl
|
+--org.eclipse.emf.codegen.ecore.genmodel.impl.GenModelFactoryImpl
- All Implemented Interfaces:
- EFactory, EModelElement, EObject, GenModelFactory, InternalEObject, Notifier
- public class GenModelFactoryImpl
- extends EFactoryImpl
- implements GenModelFactory
An implementation of the model Factory.
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalContainer, eInternalResource, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
GenModelFactoryImpl
public GenModelFactoryImpl()
- Creates and instance of the factory.
create
public EObject create(EClass eClass)
-
- Specified by:
create
in interface EFactory
- Overrides:
create
in class EFactoryImpl
- Following copied from interface:
org.eclipse.emf.ecore.EFactory
- Parameters:
eClass
- the class of the new instance.- Returns:
- a new instance of the class.
createFromString
public java.lang.Object createFromString(EDataType eDataType,
java.lang.String initialValue)
-
- Specified by:
createFromString
in interface EFactory
- Overrides:
createFromString
in class EFactoryImpl
- Following copied from interface:
org.eclipse.emf.ecore.EFactory
- Parameters:
the
- literal value of the instance.- Returns:
- an instance of the data type.
- See Also:
EFactory.convertToString(EDataType, Object)
convertToString
public java.lang.String convertToString(EDataType eDataType,
java.lang.Object instanceValue)
-
- Specified by:
convertToString
in interface EFactory
- Overrides:
convertToString
in class EFactoryImpl
- Following copied from interface:
org.eclipse.emf.ecore.EFactory
- Parameters:
eDataType
- the data type of the value.instanceValue
- the value.- Returns:
- the literal value of the instance.
- See Also:
EFactory.createFromString(EDataType, String)
createGenModel
public GenModel createGenModel()
-
- Specified by:
createGenModel
in interface GenModelFactory
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory
- Returns:
- a new object of class 'GenModel'.
createGenPackage
public GenPackage createGenPackage()
-
- Specified by:
createGenPackage
in interface GenModelFactory
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory
- Returns:
- a new object of class 'Gen Package'.
createGenClass
public GenClass createGenClass()
-
- Specified by:
createGenClass
in interface GenModelFactory
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory
- Returns:
- a new object of class 'Gen Class'.
createGenFeature
public GenFeature createGenFeature()
-
- Specified by:
createGenFeature
in interface GenModelFactory
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory
- Returns:
- a new object of class 'Gen Feature'.
createGenEnum
public GenEnum createGenEnum()
-
- Specified by:
createGenEnum
in interface GenModelFactory
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory
- Returns:
- a new object of class 'Gen Enum'.
createGenEnumLiteral
public GenEnumLiteral createGenEnumLiteral()
-
- Specified by:
createGenEnumLiteral
in interface GenModelFactory
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory
- Returns:
- a new object of class 'Gen Enum Literal'.
createGenDataType
public GenDataType createGenDataType()
-
- Specified by:
createGenDataType
in interface GenModelFactory
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory
- Returns:
- a new object of class 'Gen Data Type'.
createGenOperation
public GenOperation createGenOperation()
-
- Specified by:
createGenOperation
in interface GenModelFactory
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory
- Returns:
- a new object of class 'Gen Operation'.
createGenParameter
public GenParameter createGenParameter()
-
- Specified by:
createGenParameter
in interface GenModelFactory
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory
- Returns:
- a new object of class 'Gen Parameter'.
getGenModelPackage
public GenModelPackage getGenModelPackage()
-
- Specified by:
getGenModelPackage
in interface GenModelFactory
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory
- Returns:
- the package supported by this factory.
getPackage
public static GenModelPackage getPackage()
-