|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GenTypedElement
A representation of the model object 'Gen Typed Element'.
GenModelPackage.getGenTypedElement()| Method Summary | |
|---|---|
EModelElement |
getEcoreModelElement()
|
GenJDKLevel |
getEffectiveComplianceLevel()
|
java.lang.String |
getEObjectCast()
This returns either "(EObject)", "(org.eclipse.emf.ecore.EObject)", or "" as needed for the reference type. |
GenClass |
getGenClassType()
Deprecated. As of EMF 2.1, replaced by getTypeGenClass(). |
GenDataType |
getGenDataTypeType()
Deprecated. As of EMF 2.1, replaced by getTypeGenDataType(). |
GenEnum |
getGenEnumType()
Deprecated. As of EMF 2.1, replaced by getTypeGenEnum(). |
java.lang.String |
getImportedEffectiveFeatureMapWrapperClass()
|
java.lang.String |
getImportedEffectiveFeatureMapWrapperInternalInterface()
|
java.lang.String |
getImportedInternalType()
Deprecated. |
java.lang.String |
getImportedInternalType(GenClass context)
This returns the real imported feature type used internally, regardless of the value of GenModel.isSuppressEMFValues(). |
java.lang.String |
getImportedMapEntryType()
|
java.lang.String |
getImportedMapKeyType(GenClass context)
|
java.lang.String |
getImportedMapTemplateArguments(GenClass context)
|
java.lang.String |
getImportedMapValueType(GenClass context)
|
java.lang.String |
getImportedType()
Deprecated. |
java.lang.String |
getImportedType(GenClass context)
This returns the feature type, either primitive (e.g. |
java.lang.String |
getInternalTypeCast()
This returns either "(EObject)", "(org.eclipse.emf.ecore.EObject)", or "" as needed for the reference type. |
java.lang.String |
getListItemType()
Deprecated. |
java.lang.String |
getListItemType(GenClass context)
This returns the imported name of the feature type/wrapper class, or if a multi-valued feature, the type of the EList members |
java.lang.String |
getListTemplateArguments(GenClass context)
Returns either "" or the getListItemType surrounded by <>, depending on the effective compliance level. |
java.lang.String |
getLowerBound()
|
GenClass |
getMapEntryTypeGenClass()
|
GenClass |
getMapGenClass()
Deprecated. As of EMF 2.1, replaced by getMapEntryTypeGenClass(). |
java.lang.String |
getMapItemType()
Deprecated. As of EMF 2.1, replaced by getImportedMapEntryType(). |
java.lang.String |
getNonEObjectInternalTypeCast()
Deprecated. |
java.lang.String |
getNonEObjectInternalTypeCast(GenClass context)
This returns either a cast to the internal type, or "" if it is EObject. |
java.lang.String |
getObjectType()
Deprecated. |
java.lang.String |
getObjectType(GenClass context)
This returns the imported name of the feature type or, if primitive, of the wrapper class (e.g. |
java.lang.String |
getOrderedFlag()
|
java.lang.String |
getPrimitiveValueFunction()
|
java.lang.String |
getQualifiedListItemType()
Deprecated. |
java.lang.String |
getQualifiedListItemType(GenClass context)
This returns the qualified name of the feature type/wrapper class, or if a multi-valued feature, the type of the EList members. |
java.lang.String |
getRawBoundType()
This returns the feature type as for getRawType, except for the case that the type is a type parameter, in which case it returns the actual bounding type. |
java.lang.String |
getRawImportedBoundType()
This returns the feature type as for getRawImportedType, except for the case that the type is a type parameter, in which case it returns the actual bounding type. |
java.lang.String |
getRawImportedType()
|
java.lang.String |
getRawListItemType()
This returns the raw imported name of the feature type/wrapper class, or if a multi-valued feature, the type of the EList members. |
java.lang.String |
getRawType()
|
java.lang.String |
getRawTypeCast()
This returns that case to the actual type if it's different from the raw type. |
java.lang.String |
getType()
Deprecated. |
java.lang.String |
getType(GenClass context)
This returns the feature type, either primitive (e.g. |
java.lang.String |
getTypeClassifier()
Deprecated. As of EMF 2.1, replaced by getTypeClassifierAccessorName(). |
java.lang.String |
getTypeClassifierAccessorName()
|
GenClass |
getTypeGenClass()
|
GenClassifier |
getTypeGenClassifier()
|
GenDataType |
getTypeGenDataType()
|
GenEnum |
getTypeGenEnum()
|
GenPackage |
getTypeGenPackage()
|
java.lang.String |
getUniqueFlag()
|
java.lang.String |
getUpperBound()
|
boolean |
hasGenericType()
|
boolean |
isBooleanType()
|
boolean |
isEffectiveSuppressEMFTypes()
|
boolean |
isEnumBasedType()
|
boolean |
isEnumType()
|
boolean |
isFeatureMapType()
|
boolean |
isFeatureMapWrapped()
Deprecated. As of EMF 2.1, replaced by isWrappedFeatureMapType(). |
boolean |
isListDataType()
|
boolean |
isListType()
|
boolean |
isMapType()
|
boolean |
isPrimitiveType()
|
boolean |
isStringBasedType()
|
boolean |
isStringType()
|
boolean |
isUncheckedCast()
|
boolean |
isUnique()
|
boolean |
isWrappedFeatureMapType()
|
| 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, getCopyright, getDocumentation, getGenAnnotation, getGenAnnotations, getGenModel, hasCopyright, 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 |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
EModelElement getEcoreModelElement()
getEcoreModelElement in interface GenBaseGenPackage getTypeGenPackage()
java.lang.String getTypeClassifierAccessorName()
@Deprecated java.lang.String getTypeClassifier()
getTypeClassifierAccessorName().
boolean hasGenericType()
java.lang.String getRawType()
java.lang.String getRawBoundType()
java.lang.String getType(GenClass context)
@Deprecated java.lang.String getType()
getType(GenClass) with either null for erasing type parameter references
or a GenClass context representing potential type substitutions for type parameter references.
By default, this will just do getType(getGenClass()).
getType(GenClass)java.lang.String getRawImportedType()
java.lang.String getRawImportedBoundType()
java.lang.String getImportedType(GenClass context)
@Deprecated java.lang.String getImportedType()
getImportedType(GenClass) with either null for erasing type parameter references
or a GenClass context representing potential type substitutions for type parameter references.
By default, this will just do getImportedType(getGenClass()).
getImportedType(GenClass)java.lang.String getObjectType(GenClass context)
@Deprecated java.lang.String getObjectType()
getObjectType(GenClass) with either null for erasing type parameter references
or a GenClass context representing potential type substitutions for type parameter references.
By default, this will just do getObjectType(getGenClass()).
getObjectType(GenClass)java.lang.String getImportedInternalType(GenClass context)
@Deprecated java.lang.String getImportedInternalType()
getImportedInternalType(GenClass) with either null for erasing type parameter references
or a GenClass context representing potential type substitutions for type parameter references.
By default, this will just do getImportedInternalType(getGenClass()).
getImportedInternalType(GenClass)boolean isFeatureMapType()
boolean isWrappedFeatureMapType()
@Deprecated boolean isFeatureMapWrapped()
isWrappedFeatureMapType().
boolean isEffectiveSuppressEMFTypes()
GenJDKLevel getEffectiveComplianceLevel()
java.lang.String getImportedEffectiveFeatureMapWrapperInternalInterface()
java.lang.String getImportedEffectiveFeatureMapWrapperClass()
boolean isListType()
boolean isListDataType()
java.lang.String getListTemplateArguments(GenClass context)
java.lang.String getRawListItemType()
java.lang.String getListItemType(GenClass context)
@Deprecated java.lang.String getListItemType()
getListItemType(GenClass) with either null for erasing type parameter references
or a GenClass context representing potential type substitutions for type parameter references.
By default, this will just do getListItemType(getGenClass()).
getListItemType(GenClass)java.lang.String getQualifiedListItemType(GenClass context)
@Deprecated java.lang.String getQualifiedListItemType()
getQualifiedListItemType(GenClass) with either null for erasing type parameter references
or a GenClass context representing potential type substitutions for type parameter references.
By default, this will just do getQualifiedListItemType(getGenClass()).
getQualifiedListItemType(GenClass)boolean isMapType()
GenClass getMapEntryTypeGenClass()
java.lang.String getImportedMapEntryType()
java.lang.String getImportedMapKeyType(GenClass context)
java.lang.String getImportedMapValueType(GenClass context)
java.lang.String getImportedMapTemplateArguments(GenClass context)
@Deprecated GenClass getMapGenClass()
getMapEntryTypeGenClass().
@Deprecated java.lang.String getMapItemType()
getImportedMapEntryType().
boolean isUncheckedCast()
java.lang.String getEObjectCast()
java.lang.String getInternalTypeCast()
java.lang.String getNonEObjectInternalTypeCast(GenClass context)
@Deprecated java.lang.String getNonEObjectInternalTypeCast()
getNonEObjectInternalTypeCast(GenClass) with either null for erasing type parameter references
or a GenClass context representing potential type substitutions for type parameter references.
By default, this will just do getNonEObjectInternalTypeCast(getGenClass()).
getNonEObjectInternalTypeCast(GenClass)java.lang.String getRawTypeCast()
boolean isPrimitiveType()
java.lang.String getPrimitiveValueFunction()
boolean isBooleanType()
boolean isStringType()
boolean isStringBasedType()
boolean isEnumType()
boolean isEnumBasedType()
GenEnum getTypeGenEnum()
GenDataType getTypeGenDataType()
GenClass getTypeGenClass()
GenClassifier getTypeGenClassifier()
@Deprecated GenEnum getGenEnumType()
getTypeGenEnum().
@Deprecated GenDataType getGenDataTypeType()
getTypeGenDataType().
@Deprecated GenClass getGenClassType()
getTypeGenClass().
java.lang.String getLowerBound()
java.lang.String getUpperBound()
boolean isUnique()
java.lang.String getUniqueFlag()
java.lang.String getOrderedFlag()
|
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 | |||||||||