|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
org.eclipse.emf.codegen.ecore.genmodel.impl.GenTypedElementImpl
public abstract class GenTypedElementImpl
An implementation of the model object 'Gen Typed Element'.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
|---|
GenBaseImpl.AnnotationFilter, GenBaseImpl.AnnotationFilterImpl, GenBaseImpl.ColorInformation, GenBaseImpl.EclipseUtil, GenBaseImpl.GenAnnotationCopier, GenBaseImpl.GenClassFilter, GenBaseImpl.GenConstraintFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.UniqueNameHelper |
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
|---|
DEFAULT_ANNOTATION_FILTER, ecoreGenPackage, EMPTY_URI, genAnnotations, PLATFORM_RESOURCE_URI, xmlNamespaceGenPackage, xmlTypeGenPackage |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
GenTypedElementImpl()
|
| Method Summary | |
|---|---|
protected void |
appendModelSetting(java.lang.StringBuffer result,
boolean qualified,
java.lang.String name,
java.lang.String value)
|
protected EClass |
eStaticClass()
|
protected GenClass |
getContext()
|
EModelElement |
getEcoreModelElement()
|
abstract ETypedElement |
getEcoreTypedElement()
|
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. |
GenDataType |
getListDataType()
|
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(). |
protected java.lang.String |
getMapModelInfo(boolean qualified,
boolean includeFeatures)
|
protected java.lang.String |
getMultiplicityModelInfo(boolean qualified)
|
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()
|
protected boolean |
hasEObjectBound(ETypeParameter eTypeParameter)
|
protected boolean |
hasEObjectExtensionBound(ETypeParameter eTypeParameter)
|
boolean |
hasGenericType()
|
boolean |
isBooleanType()
|
boolean |
isEffectiveSuppressEMFTypes()
|
boolean |
isEnumBasedType()
|
boolean |
isEnumType()
|
protected boolean |
isEObjectExtensionType()
|
protected boolean |
isEObjectType()
|
protected static boolean |
isFeatureMapEntry(java.lang.String name)
|
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 class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Constructor Detail |
|---|
protected GenTypedElementImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class GenBaseImplpublic abstract ETypedElement getEcoreTypedElement()
public EModelElement getEcoreModelElement()
getEcoreModelElement in interface GenBasegetEcoreModelElement in interface GenTypedElementgetEcoreModelElement in class GenBaseImplpublic GenPackage getTypeGenPackage()
getTypeGenPackage in interface GenTypedElementpublic java.lang.String getTypeClassifierAccessorName()
getTypeClassifierAccessorName in interface GenTypedElement@Deprecated public java.lang.String getTypeClassifier()
getTypeClassifierAccessorName().
getTypeClassifier in interface GenTypedElementprotected GenClass getContext()
public boolean hasGenericType()
hasGenericType in interface GenTypedElementpublic java.lang.String getRawType()
getRawType in interface GenTypedElementpublic java.lang.String getRawBoundType()
GenTypedElement
getRawBoundType in interface GenTypedElement@Deprecated public java.lang.String getType()
GenTypedElementGenTypedElement.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 in interface GenTypedElementGenTypedElement.getType(GenClass)public java.lang.String getType(GenClass context)
GenTypedElement
getType in interface GenTypedElementpublic java.lang.String getRawImportedType()
getRawImportedType in interface GenTypedElementpublic java.lang.String getRawImportedBoundType()
GenTypedElement
getRawImportedBoundType in interface GenTypedElement@Deprecated public java.lang.String getImportedType()
GenTypedElementGenTypedElement.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 in interface GenTypedElementGenTypedElement.getImportedType(GenClass)public java.lang.String getImportedType(GenClass context)
GenTypedElement
getImportedType in interface GenTypedElement@Deprecated public java.lang.String getObjectType()
GenTypedElementGenTypedElement.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 in interface GenTypedElementGenTypedElement.getObjectType(GenClass)public java.lang.String getObjectType(GenClass context)
GenTypedElement
getObjectType in interface GenTypedElement@Deprecated public java.lang.String getImportedInternalType()
GenTypedElementGenTypedElement.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 in interface GenTypedElementGenTypedElement.getImportedInternalType(GenClass)public java.lang.String getImportedInternalType(GenClass context)
GenTypedElement
getImportedInternalType in interface GenTypedElementpublic boolean isFeatureMapType()
isFeatureMapType in interface GenTypedElementprotected static boolean isFeatureMapEntry(java.lang.String name)
public boolean isWrappedFeatureMapType()
isWrappedFeatureMapType in interface GenTypedElement@Deprecated public boolean isFeatureMapWrapped()
isWrappedFeatureMapType().
isFeatureMapWrapped in interface GenTypedElementpublic GenJDKLevel getEffectiveComplianceLevel()
getEffectiveComplianceLevel in interface GenTypedElementgetEffectiveComplianceLevel in class GenBaseImplpublic boolean isEffectiveSuppressEMFTypes()
isEffectiveSuppressEMFTypes in interface GenTypedElementisEffectiveSuppressEMFTypes in class GenBaseImplpublic java.lang.String getImportedEffectiveFeatureMapWrapperInternalInterface()
getImportedEffectiveFeatureMapWrapperInternalInterface in interface GenTypedElementgetImportedEffectiveFeatureMapWrapperInternalInterface in class GenBaseImplpublic java.lang.String getImportedEffectiveFeatureMapWrapperClass()
getImportedEffectiveFeatureMapWrapperClass in interface GenTypedElementgetImportedEffectiveFeatureMapWrapperClass in class GenBaseImplpublic boolean isListType()
isListType in interface GenTypedElementpublic boolean isListDataType()
isListDataType in interface GenTypedElementpublic GenDataType getListDataType()
public java.lang.String getListTemplateArguments(GenClass context)
GenTypedElement
getListTemplateArguments in interface GenTypedElement@Deprecated public java.lang.String getListItemType()
GenTypedElementGenTypedElement.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 in interface GenTypedElementGenTypedElement.getListItemType(GenClass)public java.lang.String getListItemType(GenClass context)
GenTypedElement
getListItemType in interface GenTypedElementpublic java.lang.String getRawListItemType()
GenTypedElement
getRawListItemType in interface GenTypedElement@Deprecated public java.lang.String getQualifiedListItemType()
GenTypedElementGenTypedElement.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 in interface GenTypedElementGenTypedElement.getQualifiedListItemType(GenClass)public java.lang.String getQualifiedListItemType(GenClass context)
GenTypedElement
getQualifiedListItemType in interface GenTypedElementpublic boolean isMapType()
isMapType in interface GenTypedElementpublic GenClass getMapEntryTypeGenClass()
getMapEntryTypeGenClass in interface GenTypedElementpublic java.lang.String getImportedMapEntryType()
getImportedMapEntryType in interface GenTypedElementpublic java.lang.String getImportedMapKeyType(GenClass context)
getImportedMapKeyType in interface GenTypedElementpublic java.lang.String getImportedMapValueType(GenClass context)
getImportedMapValueType in interface GenTypedElementpublic java.lang.String getImportedMapTemplateArguments(GenClass context)
getImportedMapTemplateArguments in interface GenTypedElement@Deprecated public GenClass getMapGenClass()
getMapEntryTypeGenClass().
getMapGenClass in interface GenTypedElement@Deprecated public java.lang.String getMapItemType()
getImportedMapEntryType().
getMapItemType in interface GenTypedElementprotected boolean isEObjectType()
protected boolean hasEObjectBound(ETypeParameter eTypeParameter)
protected boolean isEObjectExtensionType()
protected boolean hasEObjectExtensionBound(ETypeParameter eTypeParameter)
public boolean isUncheckedCast()
isUncheckedCast in interface GenTypedElementpublic java.lang.String getEObjectCast()
GenTypedElement
getEObjectCast in interface GenTypedElementpublic java.lang.String getInternalTypeCast()
GenTypedElement
getInternalTypeCast in interface GenTypedElement@Deprecated public java.lang.String getNonEObjectInternalTypeCast()
GenTypedElementGenTypedElement.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 in interface GenTypedElementGenTypedElement.getNonEObjectInternalTypeCast(GenClass)public java.lang.String getNonEObjectInternalTypeCast(GenClass context)
GenTypedElement
getNonEObjectInternalTypeCast in interface GenTypedElementpublic java.lang.String getRawTypeCast()
GenTypedElement
getRawTypeCast in interface GenTypedElementpublic boolean isPrimitiveType()
isPrimitiveType in interface GenTypedElementpublic java.lang.String getPrimitiveValueFunction()
getPrimitiveValueFunction in interface GenTypedElementpublic boolean isBooleanType()
isBooleanType in interface GenTypedElementpublic boolean isStringType()
isStringType in interface GenTypedElementpublic boolean isStringBasedType()
isStringBasedType in interface GenTypedElementpublic boolean isEnumType()
isEnumType in interface GenTypedElementpublic boolean isEnumBasedType()
isEnumBasedType in interface GenTypedElementpublic GenEnum getTypeGenEnum()
getTypeGenEnum in interface GenTypedElementpublic GenDataType getTypeGenDataType()
getTypeGenDataType in interface GenTypedElementpublic GenClass getTypeGenClass()
getTypeGenClass in interface GenTypedElementpublic GenClassifier getTypeGenClassifier()
getTypeGenClassifier in interface GenTypedElement@Deprecated public GenEnum getGenEnumType()
getTypeGenEnum().
getGenEnumType in interface GenTypedElement@Deprecated public GenDataType getGenDataTypeType()
getTypeGenDataType().
getGenDataTypeType in interface GenTypedElement@Deprecated public GenClass getGenClassType()
getTypeGenClass().
getGenClassType in interface GenTypedElementpublic java.lang.String getLowerBound()
getLowerBound in interface GenTypedElementpublic java.lang.String getUpperBound()
getUpperBound in interface GenTypedElementpublic boolean isUnique()
isUnique in interface GenTypedElementpublic java.lang.String getUniqueFlag()
getUniqueFlag in interface GenTypedElementpublic java.lang.String getOrderedFlag()
getOrderedFlag in interface GenTypedElement
protected void appendModelSetting(java.lang.StringBuffer result,
boolean qualified,
java.lang.String name,
java.lang.String value)
protected java.lang.String getMapModelInfo(boolean qualified,
boolean includeFeatures)
protected java.lang.String getMultiplicityModelInfo(boolean qualified)
|
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 | |||||||||