|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'EFactory'.
A factory is responsible for creating class instances,
and for converting data type instances to and from String.
The following features are supported:
EcorePackage.getEFactory()| Method Summary | |
String |
convertToString(EDataType eDataType,
Object instanceValue)
Returns the literal value of the instance. |
EObject |
create(EClass eClass)
Creates a new instance of the class and returns it. |
Object |
createFromString(EDataType eDataType,
String literalValue)
Creates an instance of the data type from the literal value. |
EPackage |
getEPackage()
Returns the value of the 'EPackage' reference. |
void |
setEPackage(EPackage value)
Sets the value of the ' EPackage' reference |
| 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 |
| Method Detail |
public EPackage getEPackage()
EFactory Instance'.
It represent the package of this factory.
setEPackage(EPackage),
EcorePackage.getEFactory_EPackage(),
EPackage.getEFactoryInstance()public void setEPackage(EPackage value)
EPackage' reference.
value - the new value of the 'EPackage' reference.getEPackage()public EObject create(EClass eClass)
eClass - the class of the new instance.
public Object createFromString(EDataType eDataType,
String literalValue)
literalValue - literal value of the instance.
convertToString(EDataType, Object)
public String convertToString(EDataType eDataType,
Object instanceValue)
eDataType - the data type of the value.instanceValue - the value.
createFromString(EDataType, String)
|
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 | ||||||||||