public class EcoreFactoryImpl extends EFactoryImpl implements EcoreFactory
MinimalEObjectImpl.Container.Dynamic
MinimalEObjectImpl.Container
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected static char[] |
HEX_DIGITS |
EDATE_FORMATS, ePackage
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
eContainer
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
eINSTANCE
NIL
EOPPOSITE_FEATURE_BASE
Constructor and Description |
---|
EcoreFactoryImpl()
Creates an instance of the factory
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Boolean |
booleanValueOf(java.lang.String initialValue) |
java.lang.String |
convertEBigDecimalToString(EDataType eDataType,
java.lang.Object instanceValue) |
java.lang.String |
convertEBigIntegerToString(EDataType eDataType,
java.lang.Object instanceValue) |
java.lang.String |
convertEBooleanObjectToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEBooleanToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEByteArrayToString(EDataType eDataType,
java.lang.Object instanceValue) |
java.lang.String |
convertEByteObjectToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEByteToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertECharacterObjectToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertECharToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEDateToString(EDataType eDataType,
java.lang.Object instanceValue) |
java.lang.String |
convertEDoubleObjectToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEDoubleToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEFloatObjectToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEFloatToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEIntegerObjectToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEIntToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEJavaClassToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEJavaObjectToString(EDataType eDataType,
java.lang.Object instanceValue) |
java.lang.String |
convertELongObjectToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertELongToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEShortObjectToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEShortToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertEStringToString(EDataType metaObject,
java.lang.Object instanceValue) |
java.lang.String |
convertToString(EDataType eDataType,
java.lang.Object instanceValue) |
EObject |
create(EClass eClass) |
EAnnotation |
createEAnnotation() |
EAttribute |
createEAttribute() |
java.math.BigDecimal |
createEBigDecimalFromString(EDataType eDataType,
java.lang.String initialValue) |
java.math.BigInteger |
createEBigIntegerFromString(EDataType eDataType,
java.lang.String initialValue) |
java.lang.Boolean |
createEBooleanFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.Boolean |
createEBooleanObjectFromString(EDataType metaObject,
java.lang.String initialValue) |
byte[] |
createEByteArrayFromString(EDataType eDataType,
java.lang.String initialValue) |
java.lang.Byte |
createEByteFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.Byte |
createEByteObjectFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.Character |
createECharacterObjectFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.Character |
createECharFromString(EDataType metaObject,
java.lang.String initialValue) |
EClass |
createEClass() |
EDataType |
createEDataType() |
java.util.Date |
createEDateFromString(EDataType eDataType,
java.lang.String initialValue) |
java.lang.Double |
createEDoubleFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.Double |
createEDoubleObjectFromString(EDataType metaObject,
java.lang.String initialValue) |
EEnum |
createEEnum() |
EEnumLiteral |
createEEnumLiteral() |
EFactory |
createEFactory() |
java.lang.Float |
createEFloatFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.Float |
createEFloatObjectFromString(EDataType metaObject,
java.lang.String initialValue) |
EGenericType |
createEGenericType() |
java.lang.Integer |
createEIntegerObjectFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.Integer |
createEIntFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.Class<?> |
createEJavaClassFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.Object |
createEJavaObjectFromString(EDataType eDataType,
java.lang.String initialValue) |
java.lang.Long |
createELongFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.Long |
createELongObjectFromString(EDataType metaObject,
java.lang.String initialValue) |
EObject |
createEObject() |
EOperation |
createEOperation() |
EPackage |
createEPackage() |
EParameter |
createEParameter() |
EReference |
createEReference() |
java.lang.Short |
createEShortFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.Short |
createEShortObjectFromString(EDataType metaObject,
java.lang.String initialValue) |
java.lang.String |
createEStringFromString(EDataType metaObject,
java.lang.String initialValue) |
java.util.Map.Entry<java.lang.String,java.lang.String> |
createEStringToStringMapEntry() |
ETypeParameter |
createETypeParameter() |
java.lang.Object |
createFromString(EDataType eDataType,
java.lang.String initialValue) |
EcorePackage |
getEcorePackage() |
static EcorePackage |
getPackage()
Deprecated.
|
protected static byte |
hexCharToByte(char character) |
static EcoreFactory |
init()
Creates the default factory implementation
|
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, create, createFromString, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage, split
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEPackage, setEPackage
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
public EcoreFactoryImpl()
public static EcoreFactory init()
public EObject create(EClass eClass)
create
in interface EFactory
create
in class EFactoryImpl
eClass
- the class of the new instance.public java.lang.Object createFromString(EDataType eDataType, java.lang.String initialValue)
createFromString
in interface EFactory
createFromString
in class EFactoryImpl
initialValue
- literal value of the instance.EFactory.convertToString(EDataType, Object)
public java.lang.String convertToString(EDataType eDataType, java.lang.Object instanceValue)
convertToString
in interface EFactory
convertToString
in class EFactoryImpl
eDataType
- the data type of the value.instanceValue
- the value.EFactory.createFromString(EDataType, String)
public EObject createEObject()
createEObject
in interface EcoreFactory
public EAttribute createEAttribute()
createEAttribute
in interface EcoreFactory
public EAnnotation createEAnnotation()
createEAnnotation
in interface EcoreFactory
public EClass createEClass()
createEClass
in interface EcoreFactory
public EDataType createEDataType()
createEDataType
in interface EcoreFactory
public EParameter createEParameter()
createEParameter
in interface EcoreFactory
public EOperation createEOperation()
createEOperation
in interface EcoreFactory
public EPackage createEPackage()
createEPackage
in interface EcoreFactory
public EFactory createEFactory()
createEFactory
in interface EcoreFactory
public EEnumLiteral createEEnumLiteral()
createEEnumLiteral
in interface EcoreFactory
public EEnum createEEnum()
createEEnum
in interface EcoreFactory
protected java.lang.Boolean booleanValueOf(java.lang.String initialValue)
public java.lang.Boolean createEBooleanObjectFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEBooleanObjectToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Character createECharacterObjectFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertECharacterObjectToString(EDataType metaObject, java.lang.Object instanceValue)
public java.util.Date createEDateFromString(EDataType eDataType, java.lang.String initialValue)
public java.lang.String convertEDateToString(EDataType eDataType, java.lang.Object instanceValue)
public java.lang.Double createEDoubleObjectFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEDoubleObjectToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Float createEFloatObjectFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEFloatObjectToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Integer createEIntegerObjectFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEIntegerObjectToString(EDataType metaObject, java.lang.Object instanceValue)
public EReference createEReference()
createEReference
in interface EcoreFactory
public java.util.Map.Entry<java.lang.String,java.lang.String> createEStringToStringMapEntry()
public EGenericType createEGenericType()
createEGenericType
in interface EcoreFactory
public ETypeParameter createETypeParameter()
createETypeParameter
in interface EcoreFactory
public java.math.BigDecimal createEBigDecimalFromString(EDataType eDataType, java.lang.String initialValue)
public java.lang.String convertEBigDecimalToString(EDataType eDataType, java.lang.Object instanceValue)
public java.math.BigInteger createEBigIntegerFromString(EDataType eDataType, java.lang.String initialValue)
public java.lang.String convertEBigIntegerToString(EDataType eDataType, java.lang.Object instanceValue)
public EcorePackage getEcorePackage()
getEcorePackage
in interface EcoreFactory
@Deprecated public static EcorePackage getPackage()
public java.lang.String createEStringFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEStringToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Integer createEIntFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEIntToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Boolean createEBooleanFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEBooleanToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Byte createEByteObjectFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEByteObjectToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Float createEFloatFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEFloatToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Character createECharFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertECharToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Long createELongFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertELongToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Double createEDoubleFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEDoubleToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Byte createEByteFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEByteToString(EDataType metaObject, java.lang.Object instanceValue)
public byte[] createEByteArrayFromString(EDataType eDataType, java.lang.String initialValue)
protected static byte hexCharToByte(char character)
public java.lang.String convertEByteArrayToString(EDataType eDataType, java.lang.Object instanceValue)
public java.lang.Short createEShortFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEShortToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Class<?> createEJavaClassFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEJavaClassToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Object createEJavaObjectFromString(EDataType eDataType, java.lang.String initialValue)
public java.lang.String convertEJavaObjectToString(EDataType eDataType, java.lang.Object instanceValue)
public java.lang.Long createELongObjectFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertELongObjectToString(EDataType metaObject, java.lang.Object instanceValue)
public java.lang.Short createEShortObjectFromString(EDataType metaObject, java.lang.String initialValue)
public java.lang.String convertEShortObjectToString(EDataType metaObject, java.lang.Object instanceValue)