org.eclipse.emf.codegen.ecore.genmodel
Interface GenDataType
- All Superinterfaces:
- EObject, GenBase, GenClassifier, Notifier
- All Known Subinterfaces:
- GenEnum
- All Known Implementing Classes:
- GenDataTypeImpl, GenEnumImpl
- public interface GenDataType
- extends GenClassifier
A representation of the model object 'Gen Data Type'.
The following features are supported:
- See Also:
GenModelPackage.getGenDataType()
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenClassifier |
getAllGenConstraints, getClassifierAccessorName, getClassifierID, getClassifierInstanceName, getConstraintDelegate, getConstraintImplementor, getEcoreClassifier, getFormattedName, getGenConstraints, getGeneratedInstanceClassFlag, getGenPackage, getImportedMetaType, getMetaType, getName, getQualifiedClassifierAccessor, getSafeUncapName, hasOnlyDefaultConstraints |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
canGenerate, canGenerateEdit, canGenerateEditor, canGenerateSchema, canGenerateTests, capName, format, gen, genEdit, genEditor, generate, generate, generateEdit, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, generateTests, genSchema, genTests, getDocumentation, getEcoreModelElement, getGenAnnotation, getGenAnnotations, getGenModel, hasDocumentation, reconcile, safeName, uncapName, uncapPrefixedName |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
getEcoreDataType
public EDataType getEcoreDataType()
- Returns the value of the 'Ecore Data Type' reference.
If the meaning of the 'Ecore Data Type' reference isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Ecore Data Type' reference.
- See Also:
setEcoreDataType(EDataType)
,
GenModelPackage.getGenDataType_EcoreDataType()
setEcoreDataType
public void setEcoreDataType(EDataType value)
- Sets the value of the '
Ecore Data Type
' reference.
- Parameters:
value
- the new value of the 'Ecore Data Type' reference.- See Also:
getEcoreDataType()
getQualifiedInstanceClassName
public String getQualifiedInstanceClassName()
getImportedInstanceClassName
public String getImportedInstanceClassName()
- Specified by:
getImportedInstanceClassName
in interface GenClassifier
getObjectInstanceClassName
public String getObjectInstanceClassName()
isObjectType
public boolean isObjectType()
isPrimitiveType
public boolean isPrimitiveType()
isArrayType
public boolean isArrayType()
isSerializable
public boolean isSerializable()
getPrimitiveValueFunction
public String getPrimitiveValueFunction()
getSerializableFlag
public String getSerializableFlag()
getModelInfo
public String getModelInfo()
getBaseType
public GenDataType getBaseType()
getItemType
public GenDataType getItemType()
getMemberTypes
public List getMemberTypes()
getObjectType
public GenDataType getObjectType()
getMinLiteral
public String getMinLiteral()
isMinInclusive
public boolean isMinInclusive()
getMaxLiteral
public String getMaxLiteral()
isMaxInclusive
public boolean isMaxInclusive()
getLengthAccessorFunction
public String getLengthAccessorFunction()
getMinLength
public int getMinLength()
getMaxLength
public int getMaxLength()
getTotalDigits
public int getTotalDigits()
getFractionDigits
public int getFractionDigits()
getEnumerationLiterals
public List getEnumerationLiterals()
getWhiteSpace
public String getWhiteSpace()
getPatterns
public List getPatterns()
isXMLCalendar
public boolean isXMLCalendar()
isXMLDuration
public boolean isXMLDuration()
getStaticValue
public String getStaticValue(String literal)
initialize
public void initialize(EDataType eDataType)
reconcile
public boolean reconcile(GenDataType oldGenDataVersion)