public interface EDataType extends EClassifier
The following features are supported:
EcorePackage.getEDataType()
Modifier and Type | Interface and Description |
---|---|
static interface |
EDataType.Internal
Internal API implemented by all data types.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSerializable()
Returns the value of the 'Serializable' attribute.
|
void |
setSerializable(boolean value)
Sets the value of the '
Serializable ' attribute |
getClassifierID, getDefaultValue, getEPackage, getETypeParameters, getInstanceClass, getInstanceClassName, getInstanceTypeName, isInstance, setInstanceClass, setInstanceClassName, setInstanceTypeName
getName, setName
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
boolean isSerializable()
"true"
.
It represents whether values of this type will be serialized
.
For a serializable data type,
there will be factory methods of the form:
String convertXyzToString(EDataType metaObject, Object instanceValue) Object createXyzFromString(EDataType metaObject, String initialValue)in the generated factory implementation. Clients will typically need to hand write the bodies of these generated methods.
setSerializable(boolean)
,
EcorePackage.getEDataType_Serializable()
void setSerializable(boolean value)
Serializable
' attribute.
value
- the new value of the 'Serializable' attribute.isSerializable()