|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.GenClassifierImpl org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassImpl
public class GenClassImpl
An implementation of the model object 'Gen Class'.
The following features are implemented:
Nested Class Summary | |
---|---|
class |
GenClassImpl.CollidingGenOperationFilter
|
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.codegen.ecore.genmodel.GenClass |
---|
GenClass.ChildCreationData |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected boolean |
dynamic
The cached value of the ' Dynamic ' attribute |
protected static boolean |
DYNAMIC_EDEFAULT
The default value of the ' Dynamic ' attribute |
protected EClass |
ecoreClass
The cached value of the ' Ecore Class ' reference |
protected EList<GenFeature> |
genFeatures
The cached value of the ' Gen Features ' containment reference list |
protected EList<GenOperation> |
genOperations
The cached value of the ' Gen Operations ' containment reference list |
protected boolean |
image
The cached value of the ' Image ' attribute |
protected static boolean |
IMAGE_EDEFAULT
The default value of the ' Image ' attribute |
static java.util.List<java.lang.String> |
INTRINSIC_CONSTRAINTS
|
protected GenFeature |
labelFeature
The cached value of the ' Label Feature ' reference |
protected GenProviderKind |
provider
The cached value of the ' Provider ' attribute |
protected static GenProviderKind |
PROVIDER_EDEFAULT
The default value of the ' Provider ' attribute |
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassifierImpl |
---|
genTypeParameters |
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 |
GenClassImpl()
|
Method Summary | |
---|---|
EClass |
basicGetEcoreClass()
|
GenFeature |
basicGetLabelFeature()
|
boolean |
canGenerate()
|
boolean |
canGenerateEdit()
|
boolean |
canGenerateEditor()
|
boolean |
canGenerateTests()
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
void |
generate(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code.
This method will be removed after 2.2. |
void |
generateEdit(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code.
This method will be removed after 2.2. |
void |
generateTests(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code.
This method will be removed after 2.2. |
java.lang.String |
getAbstractFlag()
|
protected GenOperation |
getAccesorOperation(GenFeature genFeature,
java.lang.String accessor)
|
java.util.List<GenClass> |
getAllBaseGenClasses()
|
java.util.List<GenClass.ChildCreationData> |
getAllChildCreationData(GenModel context)
|
java.util.List<GenFeature> |
getAllChildrenFeatures()
|
java.util.List<GenFeature> |
getAllCreateChildFeatures()
|
java.util.List<GenFeature> |
getAllCreateChildFeaturesIncludingDelegation()
|
java.util.List<java.lang.String> |
getAllEVirtualIndexBitFields(java.util.List<java.lang.String> allEVirtualIndexBitFields)
|
java.util.List<java.lang.String> |
getAllGenConstraints()
|
java.util.List<GenFeature> |
getAllGenFeatures()
|
java.util.List<GenOperation> |
getAllGenOperations()
|
GenClass |
getBaseGenClass()
This returns the GenClass for the first immediate supertype. |
java.util.List<GenClass> |
getBaseGenClasses()
|
java.lang.String |
getCastFromEObject()
|
java.util.List<GenClass.ChildCreationData> |
getChildCreationData()
|
java.util.List<GenClass.ChildCreationData> |
getChildCreationData(GenModel context)
|
java.util.List<GenClass> |
getChildrenClasses(GenFeature genFeature)
|
java.util.List<GenFeature> |
getChildrenFeatures()
|
java.lang.String |
getClassExtends()
|
GenClass |
getClassExtendsGenClass()
This walks up the chain of GenClasses defined by getBaseGenClass() and returns the first that does not represent an abstract class or an interface; that is, the instantiable class that the implementation class should extended. |
java.lang.String |
getClassImplements()
|
java.util.List<java.lang.String> |
getClassImplementsList()
|
java.lang.String |
getClassName()
|
java.lang.String |
getClassTypeArguments()
|
GenClassifier |
getConstraintDelegate(java.lang.String constraint)
|
GenClassifier |
getConstraintImplementor(java.lang.String constraint)
|
java.util.List<GenFeature> |
getContentNotifyFeatures()
|
java.util.List<GenFeature> |
getCreateChildFeatures()
|
java.util.List<GenFeature> |
getCreateChildFeaturesIncludingDelegation()
|
java.lang.String |
getCreateChildIconFileName(GenFeature feature,
GenClass childClass)
|
java.lang.String |
getCreateChildIconFileName(GenModel genModel,
GenFeature feature,
GenClass childClass)
|
java.util.List<GenClass> |
getCrossPackageChildrenClasses(GenFeature genFeature)
|
java.util.List<GenFeature> |
getCrossPackageCreateChildFeatures()
|
java.util.List<GenFeature> |
getDeclaredFieldGenFeatures()
|
java.util.List<GenFeature> |
getDeclaredGenFeatures()
|
java.util.List<GenOperation> |
getDeclaredGenOperations()
|
java.util.List<GenFeature> |
getEBasicRemoveFromContainerGenFeatures()
|
EClass |
getEcoreClass()
|
EClassifier |
getEcoreClassifier()
|
java.util.List<GenFeature> |
getEGetGenFeatures()
|
java.util.List<GenFeature> |
getEInverseAddGenFeatures()
|
java.util.List<GenFeature> |
getEInverseRemoveGenFeatures()
|
java.util.List<GenFeature> |
getEIsSetGenFeatures()
|
int |
getESetFlagIndex(GenFeature genFeature)
|
java.lang.String |
getESetFlagsField(GenFeature genFeature)
|
java.util.List<GenFeature> |
getESetGenFeatures()
|
java.util.List<GenFeature> |
getEUnsetGenFeatures()
|
java.util.List<java.lang.String> |
getEVirtualIndexBitFields(java.util.List<java.lang.String> eVirtualIndexBitFields)
|
java.lang.String |
getEVirtualValuesField()
|
java.util.List<GenClass> |
getExtendedGenClasses()
|
java.util.List<GenFeature> |
getExtendedGenFeatures()
|
java.util.List<GenOperation> |
getExtendedGenOperations()
|
int |
getFeatureCount()
|
java.lang.String |
getFeatureCountID()
|
java.lang.String |
getFeatureCountValue()
|
java.lang.String |
getFeatureID(GenFeature genFeature)
|
java.lang.String |
getFeatureValue(GenFeature genFeature)
|
java.util.List<GenFeature> |
getFlagGenFeatures()
|
java.util.List<GenFeature> |
getFlagGenFeatures(java.lang.String staticDefaultValue)
|
java.util.List<GenFeature> |
getFlagGenFeaturesWithDefault()
|
int |
getFlagIndex(GenFeature genFeature)
|
java.lang.String |
getFlagMask(GenFeature genFeature)
|
java.lang.String |
getFlagsField(GenFeature genFeature)
|
int |
getFlagSize(GenFeature genFeature)
|
java.util.List<java.lang.String> |
getGenConstraints()
|
java.lang.String |
getGeneratedInstanceClassFlag()
|
EList<GenFeature> |
getGenFeatures()
|
EList<GenOperation> |
getGenOperations()
|
GenOperation |
getGetAccessorOperation(GenFeature genFeature)
|
java.util.List<GenClass> |
getImplementedGenClasses()
|
java.util.List<GenFeature> |
getImplementedGenFeatures()
|
java.util.List<GenOperation> |
getImplementedGenOperations()
|
GenModel |
getImplementingGenModel(GenFeature genFeature)
|
java.lang.String |
getImportedClassName()
|
java.lang.String |
getImportedInstanceClassName()
|
java.lang.String |
getImportedInterfaceName()
|
java.lang.String |
getImportedMetaType()
|
java.lang.String |
getImportedProviderClassName()
|
java.lang.String |
getImportedTestCaseClassName()
|
java.lang.String |
getImportedWildcardInstanceClassName()
|
java.util.List<GenFeature> |
getInheritedGenFeatures()
|
java.lang.String |
getInterfaceExtends()
|
java.util.List<java.lang.String> |
getInterfaceExtendsList()
|
java.lang.String |
getInterfaceFlag()
|
java.lang.String |
getInterfaceName()
This should only be called when there is actually an interface being generated (i.e. when, for certain, this is not an external interface). |
java.lang.String |
getInterfaceTypeArguments()
|
java.lang.String |
getInterfaceWildTypeArguments()
|
protected java.lang.String |
getInternalQualifiedInterfaceName()
|
protected java.lang.String |
getInternalQualifiedInterfaceName(boolean includeTemplateArguments)
|
GenOperation |
getInvariantOperation(java.lang.String constraint)
|
java.util.List<GenOperation> |
getInvariantOperations()
|
GenOperation |
getIsSetAccessorOperation(GenFeature genFeature)
|
java.lang.String |
getItemIconFileName()
|
java.lang.String |
getItemProviderAdapterFactoryClassName()
|
java.util.List<GenFeature> |
getLabelAndContentNotifyFeatures()
|
GenFeature |
getLabelFeature()
Returns the value of the 'Label Feature' reference |
java.util.List<GenFeature> |
getLabelFeatureCandidates()
|
GenFeature |
getLabelFeatureGen()
|
java.util.List<GenFeature> |
getLabelNotifyFeatures()
|
java.lang.String |
getListConstructor(GenFeature genFeature)
|
java.lang.String |
getLocalFeatureIndex(GenFeature genFeature)
|
GenFeature |
getMapEntryKeyFeature()
|
GenFeature |
getMapEntryValueFeature()
|
GenFeature |
getMixedGenFeature()
|
java.util.List<GenClass> |
getMixinGenClasses()
|
java.util.List<GenFeature> |
getMixinGenFeatures()
|
java.util.List<GenOperation> |
getMixinGenOperations()
|
java.lang.String |
getModelInfo()
|
protected int |
getNonPrimitiveFeatureCount()
|
java.util.List<GenFeature> |
getNotifyFeatures()
|
java.lang.String |
getOffsetCorrectionField(GenFeature genFeature)
|
java.lang.String |
getOperationID(GenOperation genOperation)
|
java.util.List<GenFeature> |
getPropertyFeatures()
|
GenProviderKind |
getProvider()
|
java.lang.String |
getProviderBaseClassName()
|
java.lang.String |
getProviderClassName()
|
GenClass |
getProviderExtendsGenClass()
|
java.util.List<GenClass> |
getProviderImplementedGenClasses()
|
protected java.util.List<GenFeature> |
getProviderImplementedGenFeatures()
|
protected java.util.List<java.lang.String> |
getQualifiedClassImplementsList()
|
java.lang.String |
getQualifiedClassName()
|
java.lang.String |
getQualifiedFeatureCountID()
|
java.lang.String |
getQualifiedFeatureID(GenFeature genFeature)
|
java.util.List<java.lang.String> |
getQualifiedInterfaceExtendsList()
|
java.lang.String |
getQualifiedInterfaceName()
|
java.lang.String |
getQualifiedProviderClassName()
|
java.lang.String |
getQualifiedTestCaseClassName()
|
java.lang.String |
getRawImportedInstanceClassName()
|
java.lang.String |
getRawImportedInterfaceName()
|
java.lang.String |
getRawInstanceClassName()
|
GenOperation |
getSetAccessorOperation(GenFeature genFeature)
|
java.util.List<GenFeature> |
getSharedClassCreateChildFeatures()
|
java.util.List<GenClass> |
getSwitchGenClasses()
Like getAllBaseGenClasses(), this returns the GenClasses for all of the supertypes, but the result is ordered by a breadth-first search, making it appropriate for use in the switch class. |
java.lang.String |
getTestCaseClassName()
|
java.util.List<GenFeature> |
getToStringGenFeatures()
|
protected java.lang.String |
getTypeArguments(boolean isInterface,
boolean isWild)
|
java.lang.String |
getTypeParameters()
|
GenOperation |
getUnsetAccessorOperation(GenFeature genFeature)
|
protected boolean |
hasCollidingAccessorOperation(GenFeature genFeature,
java.lang.String accessor)
|
boolean |
hasCollidingGetAccessorOperation(GenFeature genFeature)
|
boolean |
hasCollidingIsSetAccessorOperation(GenFeature genFeature)
|
boolean |
hasCollidingSetAccessorOperation(GenFeature genFeature)
|
boolean |
hasCollidingUnsetAccessorOperation(GenFeature genFeature)
|
boolean |
hasFactoryInterfaceCreateMethod()
|
boolean |
hasFeatureMapCreateChildFeatures()
|
boolean |
hasGenericSuperTypes()
|
boolean |
hasImplementedToStringGenOperation()
|
protected boolean |
hasModelContribution()
|
boolean |
hasOffsetCorrection()
|
boolean |
hasOnlyDefaultConstraints()
|
boolean |
hasTests()
|
boolean |
implementsAny(java.util.Collection<GenFeature> genFeatures)
|
void |
initialize(EClass eClass)
|
boolean |
isAbstract()
|
boolean |
isDocumentRoot()
|
boolean |
isDynamic()
|
boolean |
isEObject()
|
boolean |
isEObjectExtension()
|
boolean |
isESetField(GenFeature genFeature)
|
boolean |
isESetFlag(GenFeature genFeature)
|
boolean |
isExternalInterface()
This indicates that there is already an existing interface for this class or interface, so none will be generated. |
boolean |
isField(GenFeature genFeature)
|
boolean |
isFlag(GenFeature genFeature)
|
boolean |
isImage()
|
boolean |
isInterface()
|
boolean |
isJavaIOSerializable()
|
boolean |
isMapEntry()
|
protected boolean |
isMixed()
|
boolean |
isModelRoot()
|
boolean |
isProviderSingleton()
|
boolean |
needsHasChildrenMethodOverride()
|
boolean |
needsRootExtendsInterfaceExtendsTag()
|
boolean |
needsRootImplementsInterfaceOperations()
|
boolean |
reconcile()
|
boolean |
reconcile(GenClass oldGenClassVersion)
|
protected void |
reconcileSettings(GenClass oldGenClassVersion)
|
void |
setDynamic(boolean newDynamic)
|
void |
setEcoreClass(EClass newEcoreClass)
|
void |
setImage(boolean newImage)
|
void |
setLabelFeature(GenFeature newLabelFeature)
|
void |
setProvider(GenProviderKind newProvider)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassifierImpl |
---|
getClassifierAccessorName, getClassifierID, getClassifierInstanceName, getEcoreModelElement, getFormattedName, getGenPackage, getGenTypeParameters, getImportedBoundedWildcardInstanceClassName, getImportedParameterizedInstanceClassName, getMetaType, getName, getQualifiedClassifierAccessor, getSafeUncapName, getUncapName, isUncheckedCast |
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.GenClass |
---|
getUncapName |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenClassifier |
---|
getClassifierAccessorName, getClassifierID, getClassifierInstanceName, getFormattedName, getGenPackage, getGenTypeParameters, getImportedBoundedWildcardInstanceClassName, getImportedParameterizedInstanceClassName, getMetaType, getName, getQualifiedClassifierAccessor, getSafeUncapName, isUncheckedCast |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
---|
canGenerateSchema, capName, format, gen, genEdit, genEditor, generate, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, genSchema, genTests, getCopyright, getDocumentation, getEcoreModelElement, getGenAnnotation, getGenAnnotations, getGenModel, hasCopyright, hasDocumentation, 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 |
Field Detail |
---|
protected static final GenProviderKind PROVIDER_EDEFAULT
Provider
' attribute.
getProvider()
protected GenProviderKind provider
Provider
' attribute.
getProvider()
protected static final boolean IMAGE_EDEFAULT
Image
' attribute.
isImage()
,
Constant Field Valuesprotected boolean image
Image
' attribute.
isImage()
protected static final boolean DYNAMIC_EDEFAULT
Dynamic
' attribute.
isDynamic()
,
Constant Field Valuesprotected boolean dynamic
Dynamic
' attribute.
isDynamic()
protected EClass ecoreClass
Ecore Class
' reference.
getEcoreClass()
protected EList<GenFeature> genFeatures
Gen Features
' containment reference list.
getGenFeatures()
protected EList<GenOperation> genOperations
Gen Operations
' containment reference list.
getGenOperations()
protected GenFeature labelFeature
Label Feature
' reference.
getLabelFeature()
public static final java.util.List<java.lang.String> INTRINSIC_CONSTRAINTS
Constructor Detail |
---|
protected GenClassImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class GenClassifierImpl
public GenProviderKind getProvider()
getProvider
in interface GenClass
GenProviderKind
,
GenClass.setProvider(GenProviderKind)
,
GenModelPackage.getGenClass_Provider()
public boolean isProviderSingleton()
isProviderSingleton
in interface GenClass
public void setProvider(GenProviderKind newProvider)
setProvider
in interface GenClass
newProvider
- the new value of the 'Provider' attribute.GenProviderKind
,
GenClass.getProvider()
public boolean isImage()
isImage
in interface GenClass
GenClass.setImage(boolean)
,
GenModelPackage.getGenClass_Image()
public void setImage(boolean newImage)
setImage
in interface GenClass
newImage
- the new value of the 'Image' attribute.GenClass.isImage()
public boolean isDynamic()
isDynamic
in interface GenClass
GenClass.setDynamic(boolean)
,
GenModelPackage.getGenClass_Dynamic()
public void setDynamic(boolean newDynamic)
setDynamic
in interface GenClass
newDynamic
- the new value of the 'Dynamic' attribute.GenClass.isDynamic()
public EClass getEcoreClass()
getEcoreClass
in interface GenClass
GenClass.setEcoreClass(EClass)
,
GenModelPackage.getGenClass_EcoreClass()
public EClass basicGetEcoreClass()
public void setEcoreClass(EClass newEcoreClass)
setEcoreClass
in interface GenClass
newEcoreClass
- the new value of the 'Ecore Class' reference.GenClass.getEcoreClass()
public EList<GenFeature> getGenFeatures()
getGenFeatures
in interface GenClass
GenModelPackage.getGenClass_GenFeatures()
,
GenFeature.getGenClass()
public EList<GenOperation> getGenOperations()
getGenOperations
in interface GenClass
GenModelPackage.getGenClass_GenOperations()
,
GenOperation.getGenClass()
public EClassifier getEcoreClassifier()
getEcoreClassifier
in interface GenClassifier
getEcoreClassifier
in class GenClassifierImpl
public java.lang.String getImportedMetaType()
getImportedMetaType
in interface GenClassifier
getImportedMetaType
in class GenClassifierImpl
public java.lang.String getInterfaceName()
GenClass
getInterfaceName
in interface GenClass
public java.lang.String getQualifiedInterfaceName()
getQualifiedInterfaceName
in interface GenClass
protected java.lang.String getInternalQualifiedInterfaceName()
protected java.lang.String getInternalQualifiedInterfaceName(boolean includeTemplateArguments)
public java.lang.String getRawImportedInstanceClassName()
getRawImportedInstanceClassName
in interface GenClassifier
public java.lang.String getRawInstanceClassName()
getRawInstanceClassName
in interface GenClassifier
public java.lang.String getImportedInstanceClassName()
getImportedInstanceClassName
in interface GenClassifier
public java.lang.String getImportedInterfaceName()
getImportedInterfaceName
in interface GenClass
public java.lang.String getRawImportedInterfaceName()
getRawImportedInterfaceName
in interface GenClass
public java.lang.String getClassName()
getClassName
in interface GenClass
public java.lang.String getQualifiedClassName()
getQualifiedClassName
in interface GenClass
public java.lang.String getImportedClassName()
getImportedClassName
in interface GenClass
public java.util.List<GenClass> getBaseGenClasses()
getBaseGenClasses
in interface GenClass
public java.util.List<GenClass> getAllBaseGenClasses()
getAllBaseGenClasses
in interface GenClass
public java.util.List<GenClass> getSwitchGenClasses()
GenClass
getSwitchGenClasses
in interface GenClass
public GenClass getBaseGenClass()
GenClass
getBaseGenClass
in interface GenClass
public GenClass getClassExtendsGenClass()
GenClass
getClassExtendsGenClass
in interface GenClass
public java.lang.String getClassExtends()
getClassExtends
in interface GenClass
public boolean needsRootImplementsInterfaceOperations()
public java.util.List<java.lang.String> getClassImplementsList()
protected java.util.List<java.lang.String> getQualifiedClassImplementsList()
public java.lang.String getClassImplements()
getClassImplements
in interface GenClass
public boolean needsRootExtendsInterfaceExtendsTag()
needsRootExtendsInterfaceExtendsTag
in interface GenClass
public java.util.List<java.lang.String> getInterfaceExtendsList()
public java.util.List<java.lang.String> getQualifiedInterfaceExtendsList()
public java.lang.String getInterfaceExtends()
getInterfaceExtends
in interface GenClass
public boolean hasGenericSuperTypes()
hasGenericSuperTypes
in interface GenClass
public java.lang.String getTypeParameters()
getTypeParameters
in interface GenClass
public java.lang.String getClassTypeArguments()
getClassTypeArguments
in interface GenClass
public java.lang.String getInterfaceTypeArguments()
getInterfaceTypeArguments
in interface GenClass
public java.lang.String getImportedWildcardInstanceClassName()
getImportedWildcardInstanceClassName
in interface GenClassifier
getImportedWildcardInstanceClassName
in class GenClassifierImpl
public java.lang.String getInterfaceWildTypeArguments()
getInterfaceWildTypeArguments
in interface GenClass
protected java.lang.String getTypeArguments(boolean isInterface, boolean isWild)
public java.util.List<GenFeature> getAllGenFeatures()
getAllGenFeatures
in interface GenClass
public java.util.List<GenFeature> getInheritedGenFeatures()
getInheritedGenFeatures
in interface GenClass
public java.util.List<GenOperation> getAllGenOperations()
getAllGenOperations
in interface GenClass
public java.lang.String getFeatureID(GenFeature genFeature)
getFeatureID
in interface GenClass
public java.lang.String getQualifiedFeatureID(GenFeature genFeature)
getQualifiedFeatureID
in interface GenClass
public java.lang.String getOperationID(GenOperation genOperation)
getOperationID
in interface GenClass
public java.lang.String getFeatureValue(GenFeature genFeature)
getFeatureValue
in interface GenClass
public java.lang.String getLocalFeatureIndex(GenFeature genFeature)
getLocalFeatureIndex
in interface GenClass
public java.lang.String getFlagsField(GenFeature genFeature)
getFlagsField
in interface GenClass
public int getFlagIndex(GenFeature genFeature)
getFlagIndex
in interface GenClass
public int getFlagSize(GenFeature genFeature)
getFlagSize
in interface GenClass
public java.lang.String getFlagMask(GenFeature genFeature)
getFlagMask
in interface GenClass
public java.lang.String getESetFlagsField(GenFeature genFeature)
getESetFlagsField
in interface GenClass
public int getESetFlagIndex(GenFeature genFeature)
getESetFlagIndex
in interface GenClass
public java.lang.String getFeatureCountID()
getFeatureCountID
in interface GenClass
public java.lang.String getQualifiedFeatureCountID()
getQualifiedFeatureCountID
in interface GenClass
public java.lang.String getFeatureCountValue()
getFeatureCountValue
in interface GenClass
public int getFeatureCount()
getFeatureCount
in interface GenClass
public boolean isEObject()
isEObject
in interface GenClass
public boolean isEObjectExtension()
isEObjectExtension
in interface GenClass
public java.lang.String getCastFromEObject()
getCastFromEObject
in interface GenClass
public boolean isAbstract()
isAbstract
in interface GenClass
public java.lang.String getAbstractFlag()
getAbstractFlag
in interface GenClass
public boolean isInterface()
isInterface
in interface GenClass
public java.lang.String getInterfaceFlag()
getInterfaceFlag
in interface GenClass
public java.lang.String getGeneratedInstanceClassFlag()
getGeneratedInstanceClassFlag
in interface GenClassifier
public boolean isExternalInterface()
GenClass
isExternalInterface
in interface GenClass
public boolean isMapEntry()
isMapEntry
in interface GenClass
public GenFeature getMapEntryKeyFeature()
getMapEntryKeyFeature
in interface GenClass
public GenFeature getMapEntryValueFeature()
getMapEntryValueFeature
in interface GenClass
public java.util.List<GenClass> getImplementedGenClasses()
getImplementedGenClasses
in interface GenClass
public java.util.List<GenFeature> getImplementedGenFeatures()
getImplementedGenFeatures
in interface GenClass
public GenModel getImplementingGenModel(GenFeature genFeature)
getImplementingGenModel
in interface GenClass
public java.util.List<GenOperation> getImplementedGenOperations()
getImplementedGenOperations
in interface GenClass
public boolean hasImplementedToStringGenOperation()
hasImplementedToStringGenOperation
in interface GenClass
public java.util.List<GenClass> getExtendedGenClasses()
getExtendedGenClasses
in interface GenClass
public java.util.List<GenFeature> getExtendedGenFeatures()
getExtendedGenFeatures
in interface GenClass
public java.util.List<GenOperation> getExtendedGenOperations()
getExtendedGenOperations
in interface GenClass
public java.util.List<GenFeature> getDeclaredGenFeatures()
getDeclaredGenFeatures
in interface GenClass
public java.util.List<GenOperation> getDeclaredGenOperations()
getDeclaredGenOperations
in interface GenClass
public java.util.List<GenFeature> getFlagGenFeatures()
getFlagGenFeatures
in interface GenClass
public java.util.List<GenFeature> getFlagGenFeatures(java.lang.String staticDefaultValue)
getFlagGenFeatures
in interface GenClass
public java.util.List<GenFeature> getFlagGenFeaturesWithDefault()
getFlagGenFeaturesWithDefault
in interface GenClass
public java.util.List<GenFeature> getEGetGenFeatures()
getEGetGenFeatures
in interface GenClass
public java.util.List<GenFeature> getEIsSetGenFeatures()
getEIsSetGenFeatures
in interface GenClass
public java.util.List<GenFeature> getESetGenFeatures()
getESetGenFeatures
in interface GenClass
public java.util.List<GenFeature> getEUnsetGenFeatures()
getEUnsetGenFeatures
in interface GenClass
public java.util.List<GenFeature> getEInverseAddGenFeatures()
getEInverseAddGenFeatures
in interface GenClass
public java.util.List<GenFeature> getEInverseRemoveGenFeatures()
getEInverseRemoveGenFeatures
in interface GenClass
public java.util.List<GenFeature> getEBasicRemoveFromContainerGenFeatures()
getEBasicRemoveFromContainerGenFeatures
in interface GenClass
public java.util.List<GenFeature> getToStringGenFeatures()
getToStringGenFeatures
in interface GenClass
public java.util.List<GenClass> getMixinGenClasses()
getMixinGenClasses
in interface GenClass
public java.util.List<GenFeature> getMixinGenFeatures()
getMixinGenFeatures
in interface GenClass
public java.util.List<GenOperation> getMixinGenOperations()
getMixinGenOperations
in interface GenClass
public void initialize(EClass eClass)
initialize
in interface GenClass
protected boolean hasModelContribution()
hasModelContribution
in class GenBaseImpl
@Deprecated public void generate(Monitor progressMonitor)
Generator
should be used to generate code.
This method will be removed after 2.2.
generate
in interface GenBase
generate
in class GenBaseImpl
public java.lang.String getModelInfo()
getModelInfo
in interface GenClass
getModelInfo
in class GenBaseImpl
public java.lang.String getProviderClassName()
getProviderClassName
in interface GenClass
public java.lang.String getQualifiedProviderClassName()
getQualifiedProviderClassName
in interface GenClass
public java.lang.String getImportedProviderClassName()
getImportedProviderClassName
in interface GenClass
public java.lang.String getItemIconFileName()
getItemIconFileName
in interface GenClass
public java.lang.String getCreateChildIconFileName(GenFeature feature, GenClass childClass)
getCreateChildIconFileName
in interface GenClass
public java.lang.String getCreateChildIconFileName(GenModel genModel, GenFeature feature, GenClass childClass)
getCreateChildIconFileName
in interface GenClass
public GenClass getProviderExtendsGenClass()
getProviderExtendsGenClass
in interface GenClass
public java.lang.String getProviderBaseClassName()
getProviderBaseClassName
in interface GenClass
public java.util.List<GenClass> getProviderImplementedGenClasses()
getProviderImplementedGenClasses
in interface GenClass
protected java.util.List<GenFeature> getProviderImplementedGenFeatures()
public java.util.List<GenFeature> getLabelFeatureCandidates()
getLabelFeatureCandidates
in interface GenClass
public java.util.List<GenFeature> getPropertyFeatures()
getPropertyFeatures
in interface GenClass
public java.util.List<GenFeature> getNotifyFeatures()
getNotifyFeatures
in interface GenClass
public java.util.List<GenFeature> getLabelNotifyFeatures()
getLabelNotifyFeatures
in interface GenClass
public java.util.List<GenFeature> getContentNotifyFeatures()
getContentNotifyFeatures
in interface GenClass
public java.util.List<GenFeature> getLabelAndContentNotifyFeatures()
getLabelAndContentNotifyFeatures
in interface GenClass
public java.util.List<GenFeature> getChildrenFeatures()
getChildrenFeatures
in interface GenClass
public java.util.List<GenFeature> getAllChildrenFeatures()
getAllChildrenFeatures
in interface GenClass
public java.util.List<GenFeature> getCreateChildFeatures()
getCreateChildFeatures
in interface GenClass
public java.util.List<GenFeature> getAllCreateChildFeatures()
getAllCreateChildFeatures
in interface GenClass
public java.util.List<GenFeature> getAllCreateChildFeaturesIncludingDelegation()
getAllCreateChildFeaturesIncludingDelegation
in interface GenClass
public java.util.List<GenFeature> getCreateChildFeaturesIncludingDelegation()
getCreateChildFeaturesIncludingDelegation
in interface GenClass
public java.util.List<GenFeature> getCrossPackageCreateChildFeatures()
getCrossPackageCreateChildFeatures
in interface GenClass
public java.util.List<GenFeature> getSharedClassCreateChildFeatures()
getSharedClassCreateChildFeatures
in interface GenClass
public boolean hasFeatureMapCreateChildFeatures()
hasFeatureMapCreateChildFeatures
in interface GenClass
public java.util.List<GenClass> getChildrenClasses(GenFeature genFeature)
getChildrenClasses
in interface GenClass
public java.util.List<GenClass> getCrossPackageChildrenClasses(GenFeature genFeature)
getCrossPackageChildrenClasses
in interface GenClass
public java.util.List<GenClass.ChildCreationData> getChildCreationData()
getChildCreationData
in interface GenClass
public java.util.List<GenClass.ChildCreationData> getAllChildCreationData(GenModel context)
public java.util.List<GenClass.ChildCreationData> getChildCreationData(GenModel context)
getChildCreationData
in interface GenClass
public GenFeature getLabelFeatureGen()
public GenFeature getLabelFeature()
GenClass
getLabelFeature
in interface GenClass
GenClass.setLabelFeature(GenFeature)
,
GenModelPackage.getGenClass_LabelFeature()
public GenFeature basicGetLabelFeature()
public void setLabelFeature(GenFeature newLabelFeature)
setLabelFeature
in interface GenClass
newLabelFeature
- the new value of the 'Label Feature' reference.GenClass.getLabelFeature()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class GenBaseImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class GenClassifierImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class GenClassifierImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class GenClassifierImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class GenClassifierImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class GenClassifierImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class BasicEObjectImpl
public java.lang.String getItemProviderAdapterFactoryClassName()
getItemProviderAdapterFactoryClassName
in interface GenClass
public java.lang.String getTestCaseClassName()
getTestCaseClassName
in interface GenClass
public java.lang.String getQualifiedTestCaseClassName()
getQualifiedTestCaseClassName
in interface GenClass
public java.lang.String getImportedTestCaseClassName()
getImportedTestCaseClassName
in interface GenClass
public boolean canGenerate()
canGenerate
in interface GenBase
canGenerate
in class GenBaseImpl
public boolean canGenerateEdit()
canGenerateEdit
in interface GenBase
canGenerateEdit
in class GenBaseImpl
public boolean canGenerateEditor()
canGenerateEditor
in interface GenBase
canGenerateEditor
in class GenBaseImpl
@Deprecated public void generateEdit(Monitor progressMonitor)
Generator
should be used to generate code.
This method will be removed after 2.2.
generateEdit
in interface GenBase
generateEdit
in class GenBaseImpl
public boolean hasTests()
hasTests
in interface GenClass
public boolean canGenerateTests()
canGenerateTests
in interface GenBase
canGenerateTests
in class GenBaseImpl
@Deprecated public void generateTests(Monitor progressMonitor)
Generator
should be used to generate code.
This method will be removed after 2.2.
generateTests
in interface GenBase
generateTests
in class GenBaseImpl
public boolean reconcile(GenClass oldGenClassVersion)
reconcile
in interface GenClass
protected void reconcileSettings(GenClass oldGenClassVersion)
public boolean reconcile()
reconcile
in interface GenBase
public java.util.List<java.lang.String> getGenConstraints()
getGenConstraints
in interface GenClassifier
getGenConstraints
in class GenClassifierImpl
public java.util.List<java.lang.String> getAllGenConstraints()
getAllGenConstraints
in interface GenClassifier
getAllGenConstraints
in class GenClassifierImpl
public GenClassifier getConstraintImplementor(java.lang.String constraint)
getConstraintImplementor
in interface GenClassifier
getConstraintImplementor
in class GenClassifierImpl
public GenClassifier getConstraintDelegate(java.lang.String constraint)
getConstraintDelegate
in interface GenClassifier
public boolean hasOnlyDefaultConstraints()
hasOnlyDefaultConstraints
in interface GenClassifier
hasOnlyDefaultConstraints
in class GenClassifierImpl
public java.util.List<GenOperation> getInvariantOperations()
getInvariantOperations
in interface GenClass
public GenOperation getInvariantOperation(java.lang.String constraint)
getInvariantOperation
in interface GenClass
public boolean isDocumentRoot()
isDocumentRoot
in interface GenClass
protected boolean isMixed()
public GenFeature getMixedGenFeature()
getMixedGenFeature
in interface GenClass
public java.lang.String getListConstructor(GenFeature genFeature)
getListConstructor
in interface GenClass
public boolean isModelRoot()
isModelRoot
in interface GenClass
public java.util.List<GenFeature> getDeclaredFieldGenFeatures()
getDeclaredFieldGenFeatures
in interface GenClass
public boolean isFlag(GenFeature genFeature)
isFlag
in interface GenClass
public boolean isESetFlag(GenFeature genFeature)
isESetFlag
in interface GenClass
public boolean isField(GenFeature genFeature)
isField
in interface GenClass
public boolean isESetField(GenFeature genFeature)
isESetField
in interface GenClass
public boolean implementsAny(java.util.Collection<GenFeature> genFeatures)
implementsAny
in interface GenClass
protected int getNonPrimitiveFeatureCount()
public java.lang.String getEVirtualValuesField()
getEVirtualValuesField
in interface GenClass
public java.util.List<java.lang.String> getEVirtualIndexBitFields(java.util.List<java.lang.String> eVirtualIndexBitFields)
getEVirtualIndexBitFields
in interface GenClass
public java.util.List<java.lang.String> getAllEVirtualIndexBitFields(java.util.List<java.lang.String> allEVirtualIndexBitFields)
getAllEVirtualIndexBitFields
in interface GenClass
public boolean isJavaIOSerializable()
isJavaIOSerializable
in interface GenClass
public boolean hasFactoryInterfaceCreateMethod()
hasFactoryInterfaceCreateMethod
in interface GenClass
public boolean hasOffsetCorrection()
hasOffsetCorrection
in interface GenClass
public java.lang.String getOffsetCorrectionField(GenFeature genFeature)
getOffsetCorrectionField
in interface GenClass
public boolean needsHasChildrenMethodOverride()
needsHasChildrenMethodOverride
in interface GenClass
protected GenOperation getAccesorOperation(GenFeature genFeature, java.lang.String accessor)
public GenOperation getGetAccessorOperation(GenFeature genFeature)
getGetAccessorOperation
in interface GenClass
public GenOperation getSetAccessorOperation(GenFeature genFeature)
getSetAccessorOperation
in interface GenClass
public GenOperation getIsSetAccessorOperation(GenFeature genFeature)
getIsSetAccessorOperation
in interface GenClass
public GenOperation getUnsetAccessorOperation(GenFeature genFeature)
getUnsetAccessorOperation
in interface GenClass
protected boolean hasCollidingAccessorOperation(GenFeature genFeature, java.lang.String accessor)
public boolean hasCollidingGetAccessorOperation(GenFeature genFeature)
hasCollidingGetAccessorOperation
in interface GenClass
public boolean hasCollidingSetAccessorOperation(GenFeature genFeature)
hasCollidingSetAccessorOperation
in interface GenClass
public boolean hasCollidingIsSetAccessorOperation(GenFeature genFeature)
hasCollidingIsSetAccessorOperation
in interface GenClass
public boolean hasCollidingUnsetAccessorOperation(GenFeature genFeature)
hasCollidingUnsetAccessorOperation
in interface GenClass
|
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 |