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:
GenDataType.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:
GenDataType.getEcoreDataType()
getQualifiedInstanceClassName
public java.lang.String getQualifiedInstanceClassName()
getImportedInstanceClassName
public java.lang.String getImportedInstanceClassName()
- Specified by:
getImportedInstanceClassName
in interface GenClassifier
getObjectInstanceClassName
public java.lang.String getObjectInstanceClassName()
isObjectType
public boolean isObjectType()
isPrimitiveType
public boolean isPrimitiveType()
isArrayType
public boolean isArrayType()
isSerializable
public boolean isSerializable()
getPrimitiveValueFunction
public java.lang.String getPrimitiveValueFunction()
getSerializableFlag
public java.lang.String getSerializableFlag()
getModelInfo
public java.lang.String getModelInfo()
getBaseType
public GenDataType getBaseType()
getItemType
public GenDataType getItemType()
getMemberTypes
public java.util.List getMemberTypes()
getObjectType
public GenDataType getObjectType()
getMinLiteral
public java.lang.String getMinLiteral()
isMinInclusive
public boolean isMinInclusive()
getMaxLiteral
public java.lang.String getMaxLiteral()
isMaxInclusive
public boolean isMaxInclusive()
getLengthAccessorFunction
public java.lang.String getLengthAccessorFunction()
getMinLength
public int getMinLength()
getMaxLength
public int getMaxLength()
getTotalDigits
public int getTotalDigits()
getFractionDigits
public int getFractionDigits()
getEnumerationLiterals
public java.util.List getEnumerationLiterals()
getWhiteSpace
public java.lang.String getWhiteSpace()
getPatterns
public java.util.List getPatterns()
isXMLCalendar
public boolean isXMLCalendar()
isXMLDuration
public boolean isXMLDuration()
getStaticValue
public java.lang.String getStaticValue(java.lang.String literal)
initialize
public void initialize(EDataType eDataType)
reconcile
public boolean reconcile(GenDataType oldGenDataVersion)