|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GenClass
A representation of the model object 'Gen Class'.
The following features are supported:
GenModelPackage.getGenClass()
Nested Class Summary | |
---|---|
static class |
GenClass.ChildCreationData
|
Method Summary | |
---|---|
java.lang.String |
getAbstractFlag()
|
java.util.List<GenClass> |
getAllBaseGenClasses()
|
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<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.lang.String |
getClassName()
|
java.lang.String |
getClassTypeArguments()
|
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()
Returns the value of the 'Ecore Class' reference |
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)
Deprecated. use getFlagGenFeaturesWithDefault() |
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)
|
EList<GenFeature> |
getGenFeatures()
Returns the value of the 'Gen Features' containment reference list. |
EList<GenOperation> |
getGenOperations()
Returns the value of the 'Gen Operations' containment reference list. |
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 |
getImportedInterfaceName()
|
java.lang.String |
getImportedProviderClassName()
|
java.lang.String |
getImportedTestCaseClassName()
|
java.util.List<GenFeature> |
getInheritedGenFeatures()
|
java.lang.String |
getInterfaceExtends()
|
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()
|
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()
|
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()
|
java.util.List<GenFeature> |
getNotifyFeatures()
|
java.lang.String |
getOffsetCorrectionField(GenFeature genFeature)
|
java.lang.String |
getOperationID(GenOperation genOperation)
|
java.util.List<GenFeature> |
getPropertyFeatures()
|
GenProviderKind |
getProvider()
Returns the value of the 'Provider' attribute. |
java.lang.String |
getProviderBaseClassName()
|
java.lang.String |
getProviderClassName()
|
GenClass |
getProviderExtendsGenClass()
|
java.util.List<GenClass> |
getProviderImplementedGenClasses()
|
java.lang.String |
getQualifiedClassName()
|
java.lang.String |
getQualifiedFeatureCountID()
|
java.lang.String |
getQualifiedFeatureID(GenFeature genFeature)
|
java.lang.String |
getQualifiedInterfaceName()
|
java.lang.String |
getQualifiedProviderClassName()
|
java.lang.String |
getQualifiedTestCaseClassName()
|
java.lang.String |
getRawImportedInterfaceName()
|
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()
|
java.lang.String |
getTypeParameters()
|
java.lang.String |
getUncapName()
This returns the name uncapitalized. |
GenOperation |
getUnsetAccessorOperation(GenFeature genFeature)
|
boolean |
hasCollidingGetAccessorOperation(GenFeature genFeature)
|
boolean |
hasCollidingIsSetAccessorOperation(GenFeature genFeature)
|
boolean |
hasCollidingSetAccessorOperation(GenFeature genFeature)
|
boolean |
hasCollidingUnsetAccessorOperation(GenFeature genFeature)
|
boolean |
hasFactoryInterfaceCreateMethod()
|
boolean |
hasFeatureMapCreateChildFeatures()
|
boolean |
hasGenericSuperTypes()
|
boolean |
hasImplementedToStringGenOperation()
|
boolean |
hasOffsetCorrection()
|
boolean |
hasTests()
|
boolean |
implementsAny(java.util.Collection<GenFeature> genFeatures)
|
void |
initialize(EClass eClass)
|
boolean |
isAbstract()
|
boolean |
isDocumentRoot()
|
boolean |
isDynamic()
Returns the value of the 'Dynamic' attribute |
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()
Returns the value of the 'Image' attribute. |
boolean |
isInterface()
|
boolean |
isJavaIOSerializable()
|
boolean |
isMapEntry()
|
boolean |
isModelRoot()
|
boolean |
isProviderSingleton()
|
boolean |
needsHasChildrenMethodOverride()
|
boolean |
needsRootExtendsInterfaceExtendsTag()
|
boolean |
reconcile(GenClass oldGenClassVersion)
|
void |
setDynamic(boolean value)
Sets the value of the ' Dynamic ' attribute |
void |
setEcoreClass(EClass value)
Sets the value of the ' Ecore Class ' reference |
void |
setImage(boolean value)
Sets the value of the ' Image ' attribute |
void |
setLabelFeature(GenFeature value)
Sets the value of the ' Label Feature ' reference |
void |
setProvider(GenProviderKind value)
Sets the value of the ' Provider ' attribute |
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, getEcoreModelElement, 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 |
---|
GenProviderKind getProvider()
GenProviderKind
.
GenProviderKind
,
setProvider(GenProviderKind)
,
GenModelPackage.getGenClass_Provider()
void setProvider(GenProviderKind value)
Provider
' attribute.
value
- the new value of the 'Provider' attribute.GenProviderKind
,
getProvider()
boolean isImage()
"true"
.
setImage(boolean)
,
GenModelPackage.getGenClass_Image()
void setImage(boolean value)
Image
' attribute.
value
- the new value of the 'Image' attribute.isImage()
boolean isDynamic()
setDynamic(boolean)
,
GenModelPackage.getGenClass_Dynamic()
void setDynamic(boolean value)
Dynamic
' attribute.
value
- the new value of the 'Dynamic' attribute.isDynamic()
EClass getEcoreClass()
setEcoreClass(EClass)
,
GenModelPackage.getGenClass_EcoreClass()
void setEcoreClass(EClass value)
Ecore Class
' reference.
value
- the new value of the 'Ecore Class' reference.getEcoreClass()
EList<GenFeature> getGenFeatures()
GenFeature
.
It is bidirectional and its opposite is 'Gen Class
'.
GenModelPackage.getGenClass_GenFeatures()
,
GenFeature.getGenClass()
EList<GenOperation> getGenOperations()
GenOperation
.
It is bidirectional and its opposite is 'Gen Class
'.
GenModelPackage.getGenClass_GenOperations()
,
GenOperation.getGenClass()
GenFeature getLabelFeature()
setLabelFeature(GenFeature)
,
GenModelPackage.getGenClass_LabelFeature()
void setLabelFeature(GenFeature value)
Label Feature
' reference.
value
- the new value of the 'Label Feature' reference.getLabelFeature()
java.lang.String getInterfaceName()
java.lang.String getQualifiedInterfaceName()
java.lang.String getImportedInterfaceName()
java.lang.String getRawImportedInterfaceName()
java.lang.String getClassName()
java.lang.String getQualifiedClassName()
java.lang.String getImportedClassName()
java.lang.String getUncapName()
java.util.List<GenClass> getBaseGenClasses()
java.util.List<GenClass> getAllBaseGenClasses()
java.util.List<GenClass> getSwitchGenClasses()
GenClass getBaseGenClass()
GenClass getClassExtendsGenClass()
java.lang.String getClassExtends()
java.lang.String getClassImplements()
java.lang.String getInterfaceExtends()
boolean needsRootExtendsInterfaceExtendsTag()
boolean hasGenericSuperTypes()
java.lang.String getTypeParameters()
java.lang.String getInterfaceTypeArguments()
java.lang.String getInterfaceWildTypeArguments()
java.lang.String getClassTypeArguments()
java.util.List<GenFeature> getAllGenFeatures()
java.util.List<GenFeature> getInheritedGenFeatures()
java.util.List<GenOperation> getAllGenOperations()
java.lang.String getFeatureID(GenFeature genFeature)
java.lang.String getQualifiedFeatureID(GenFeature genFeature)
java.lang.String getOperationID(GenOperation genOperation)
java.lang.String getFeatureValue(GenFeature genFeature)
java.lang.String getLocalFeatureIndex(GenFeature genFeature)
java.lang.String getFlagsField(GenFeature genFeature)
int getFlagIndex(GenFeature genFeature)
int getFlagSize(GenFeature genFeature)
java.lang.String getFlagMask(GenFeature genFeature)
java.lang.String getESetFlagsField(GenFeature genFeature)
int getESetFlagIndex(GenFeature genFeature)
java.lang.String getFeatureCountID()
java.lang.String getQualifiedFeatureCountID()
java.lang.String getFeatureCountValue()
int getFeatureCount()
boolean isEObject()
boolean isEObjectExtension()
java.lang.String getCastFromEObject()
boolean isAbstract()
java.lang.String getAbstractFlag()
boolean isInterface()
java.lang.String getInterfaceFlag()
boolean isExternalInterface()
boolean isMapEntry()
GenFeature getMapEntryKeyFeature()
GenFeature getMapEntryValueFeature()
java.util.List<GenClass> getImplementedGenClasses()
java.util.List<GenFeature> getImplementedGenFeatures()
java.util.List<GenOperation> getImplementedGenOperations()
boolean hasImplementedToStringGenOperation()
GenModel getImplementingGenModel(GenFeature genFeature)
boolean implementsAny(java.util.Collection<GenFeature> genFeatures)
java.util.List<GenClass> getExtendedGenClasses()
java.util.List<GenFeature> getExtendedGenFeatures()
java.util.List<GenOperation> getExtendedGenOperations()
java.util.List<GenFeature> getDeclaredFieldGenFeatures()
java.util.List<GenFeature> getDeclaredGenFeatures()
java.util.List<GenOperation> getDeclaredGenOperations()
java.util.List<GenFeature> getFlagGenFeatures()
@Deprecated java.util.List<GenFeature> getFlagGenFeatures(java.lang.String staticDefaultValue)
getFlagGenFeaturesWithDefault()
java.util.List<GenFeature> getFlagGenFeaturesWithDefault()
java.util.List<GenFeature> getEGetGenFeatures()
java.util.List<GenFeature> getEIsSetGenFeatures()
java.util.List<GenFeature> getESetGenFeatures()
java.util.List<GenFeature> getEUnsetGenFeatures()
java.util.List<GenFeature> getEInverseAddGenFeatures()
java.util.List<GenFeature> getEInverseRemoveGenFeatures()
java.util.List<GenFeature> getEBasicRemoveFromContainerGenFeatures()
java.util.List<GenFeature> getToStringGenFeatures()
java.util.List<GenClass> getMixinGenClasses()
java.util.List<GenFeature> getMixinGenFeatures()
java.util.List<GenOperation> getMixinGenOperations()
void initialize(EClass eClass)
java.lang.String getProviderClassName()
java.lang.String getQualifiedProviderClassName()
java.lang.String getImportedProviderClassName()
boolean isProviderSingleton()
java.lang.String getItemIconFileName()
java.lang.String getCreateChildIconFileName(GenModel genModel, GenFeature feature, GenClass childClass)
java.lang.String getCreateChildIconFileName(GenFeature feature, GenClass childClass)
GenClass getProviderExtendsGenClass()
java.lang.String getProviderBaseClassName()
java.util.List<GenClass> getProviderImplementedGenClasses()
java.util.List<GenFeature> getLabelFeatureCandidates()
java.util.List<GenFeature> getPropertyFeatures()
java.util.List<GenFeature> getNotifyFeatures()
java.util.List<GenFeature> getLabelNotifyFeatures()
java.util.List<GenFeature> getContentNotifyFeatures()
java.util.List<GenFeature> getLabelAndContentNotifyFeatures()
java.util.List<GenFeature> getChildrenFeatures()
java.util.List<GenFeature> getAllChildrenFeatures()
java.util.List<GenFeature> getCreateChildFeatures()
java.util.List<GenFeature> getAllCreateChildFeatures()
java.util.List<GenFeature> getCreateChildFeaturesIncludingDelegation()
java.util.List<GenFeature> getAllCreateChildFeaturesIncludingDelegation()
java.util.List<GenFeature> getCrossPackageCreateChildFeatures()
java.util.List<GenFeature> getSharedClassCreateChildFeatures()
boolean hasFeatureMapCreateChildFeatures()
java.util.List<GenClass.ChildCreationData> getChildCreationData(GenModel context)
java.util.List<GenClass.ChildCreationData> getChildCreationData()
java.util.List<GenClass> getChildrenClasses(GenFeature genFeature)
java.util.List<GenClass> getCrossPackageChildrenClasses(GenFeature genFeature)
java.lang.String getItemProviderAdapterFactoryClassName()
java.lang.String getTestCaseClassName()
java.lang.String getQualifiedTestCaseClassName()
java.lang.String getImportedTestCaseClassName()
java.lang.String getModelInfo()
boolean reconcile(GenClass oldGenClassVersion)
java.util.List<GenOperation> getInvariantOperations()
GenOperation getInvariantOperation(java.lang.String constraint)
boolean isDocumentRoot()
GenFeature getMixedGenFeature()
java.lang.String getListConstructor(GenFeature genFeature)
boolean isModelRoot()
boolean isFlag(GenFeature genFeature)
boolean isESetFlag(GenFeature genFeature)
boolean isField(GenFeature genFeature)
boolean isESetField(GenFeature genFeature)
boolean hasTests()
java.lang.String getEVirtualValuesField()
java.util.List<java.lang.String> getEVirtualIndexBitFields(java.util.List<java.lang.String> eVirtualIndexBitFields)
java.util.List<java.lang.String> getAllEVirtualIndexBitFields(java.util.List<java.lang.String> allEVirtualIndexBitFields)
boolean isJavaIOSerializable()
boolean hasFactoryInterfaceCreateMethod()
boolean hasOffsetCorrection()
java.lang.String getOffsetCorrectionField(GenFeature genFeature)
boolean needsHasChildrenMethodOverride()
GenOperation getGetAccessorOperation(GenFeature genFeature)
GenOperation getIsSetAccessorOperation(GenFeature genFeature)
GenOperation getSetAccessorOperation(GenFeature genFeature)
GenOperation getUnsetAccessorOperation(GenFeature genFeature)
boolean hasCollidingGetAccessorOperation(GenFeature genFeature)
boolean hasCollidingIsSetAccessorOperation(GenFeature genFeature)
boolean hasCollidingSetAccessorOperation(GenFeature genFeature)
boolean hasCollidingUnsetAccessorOperation(GenFeature genFeature)
|
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 |