|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.emf.ecore.impl.FlatEObjectImpl org.eclipse.emf.ecore.impl.EModelElementImpl org.eclipse.emf.ecore.impl.EFactoryImpl org.eclipse.emf.ecore.impl.EcoreFactoryImpl
public class EcoreFactoryImpl
An implementation of the model Factory.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected static char[] |
HEX_DIGITS
|
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl |
---|
EDATE_FORMATS, ePackage |
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG |
Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
---|
eContents, eCrossReferences, eProxyURI |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.EcoreFactory |
---|
eINSTANCE |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
EcoreFactoryImpl()
Creates an instance of the factory |
Method Summary | |
---|---|
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 |
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl |
---|
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, createFromString, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage |
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen |
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
---|
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
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.EFactory |
---|
getEPackage, setEPackage |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected static final char[] HEX_DIGITS
Constructor Detail |
---|
public EcoreFactoryImpl()
Method Detail |
---|
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)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |