|
|||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Gen Class'.
The following features are supported:
GenModelPackage.getGenClass()
Method Summary | |
java.lang.String |
getAbstractFlag()
|
java.util.List |
getAllBaseGenClasses()
|
java.util.List |
getAllChildrenFeatures()
|
java.util.List |
getAllGenFeatures()
|
java.util.List |
getAllGenOperations()
|
GenClass |
getBaseGenClass()
This returns the GenClass for the first immediate supertype. |
java.util.List |
getBaseGenClasses()
|
java.util.List |
getChildrenClasses(GenFeature genFeature)
|
java.util.List |
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.util.List |
getCrossPackageChildrenClasses(GenFeature genFeature)
|
java.util.List |
getCrossPackageChildrenFeatures()
|
java.util.List |
getEBasicRemoveFromContainerGenFeatures()
|
EClass |
getEcoreClass()
Returns the value of the 'Ecore Class' reference. |
java.util.List |
getEInverseAddGenFeatures()
|
java.util.List |
getEInverseRemoveGenFeatures()
|
java.util.List |
getESetGenFeatures()
|
int |
getFeatureCount()
|
java.lang.String |
getFeatureCountID()
|
java.lang.String |
getFeatureCountValue()
|
java.lang.String |
getFeatureID(GenFeature genFeature)
|
java.lang.String |
getFeatureValue(GenFeature genFeature)
|
EList |
getGenFeatures()
Returns the value of the 'Gen Features' containment reference list. |
EList |
getGenOperations()
Returns the value of the 'Gen Operations' containment reference list. |
java.util.List |
getImplementedGenFeatures()
|
java.util.List |
getImplementedGenOperations()
|
java.lang.String |
getImportedClassName()
|
java.lang.String |
getImportedInterfaceName()
|
java.lang.String |
getImportedProviderClassName()
|
java.util.List |
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. |
java.lang.String |
getItemProviderAdapterFactoryClassName()
|
GenFeature |
getLabelFeature()
Returns the value of the 'Label Feature' reference. |
java.util.List |
getLabelFeatureCandidates()
|
java.lang.String |
getLocalFeatureIndex(GenFeature genFeature)
|
GenFeature |
getMapEntryKeyFeature()
|
GenFeature |
getMapEntryValueFeature()
|
java.util.List |
getMixinGenClasses()
|
java.util.List |
getMixinGenFeatures()
|
java.lang.String |
getModelInfo()
|
java.util.List |
getNotifyFeatures()
|
java.util.List |
getPropertyFeatures()
|
GenProviderKind |
getProvider()
Returns the value of the 'Provider' attribute. |
java.lang.String |
getProviderBaseClassName()
|
java.lang.String |
getProviderClassName()
|
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 |
getSafeUncapName()
|
java.util.List |
getSharedClassChildrenFeatures()
|
java.util.List |
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.util.List |
getToStringGenFeatures()
|
java.lang.String |
getUncapName()
This returns the name uncapitalized. |
void |
initialize(EClass eClass)
|
boolean |
isAbstract()
|
boolean |
isEObject()
|
boolean |
isExternalInterface()
This indicates that there is already an existing interface for this class or interface, so none will be generated. |
boolean |
isImage()
Returns the value of the 'Image' attribute. |
boolean |
isInterface()
|
boolean |
isMapEntry()
|
boolean |
isProviderSingleton()
|
boolean |
reconcile(GenClass oldGenClassVersion)
|
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.GenClassifier |
getClassifierAccessorName, getClassifierID, getClassifierInstanceName, getEcoreClassifier, getFormattedName, getGenPackage, getImportedMetaType, getMetaType, getName |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
canGenerate, canGenerateEdit, canGenerateEditor, capName, ePackageGenModel, format, generate, generateEdit, generateEditor, getGenModel, reconcile, safeName, uncapName, uncapPrefixedName |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, 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 |
public GenProviderKind getProvider()
GenProviderKind
.
If the meaning of the 'Provider' attribute isn't clear, there really should be more of a description here...
GenProviderKind
,
setProvider(GenProviderKind)
,
GenModelPackage.getGenClass_Provider()
public void setProvider(GenProviderKind value)
Provider
' attribute.
value
- the new value of the 'Provider' attribute.GenProviderKind
,
getProvider()
public boolean isImage()
"true"
.
If the meaning of the 'Image' attribute isn't clear, there really should be more of a description here...
setImage(boolean)
,
GenModelPackage.getGenClass_Image()
public void setImage(boolean value)
Image
' attribute.
value
- the new value of the 'Image' attribute.isImage()
public EClass getEcoreClass()
If the meaning of the 'Ecore Class' reference isn't clear, there really should be more of a description here...
setEcoreClass(EClass)
,
GenModelPackage.getGenClass_EcoreClass()
public void setEcoreClass(EClass value)
Ecore Class
' reference.
value
- the new value of the 'Ecore Class' reference.getEcoreClass()
public EList getGenFeatures()
GenFeature
.
It is bidirectional and its opposite is 'Gen Class
'.
If the meaning of the 'Gen Features' reference list isn't clear, there really should be more of a description here...
GenModelPackage.getGenClass_GenFeatures()
,
GenFeature.getGenClass()
public EList getGenOperations()
GenOperation
.
It is bidirectional and its opposite is 'Gen Class
'.
If the meaning of the 'Gen Operations' reference list isn't clear, there really should be more of a description here...
GenModelPackage.getGenClass_GenOperations()
,
GenOperation.getGenClass()
public GenFeature getLabelFeature()
If the meaning of the 'Label Feature' reference isn't clear, there really should be more of a description here...
setLabelFeature(GenFeature)
,
GenModelPackage.getGenClass_LabelFeature()
public void setLabelFeature(GenFeature value)
Label Feature
' reference.
value
- the new value of the 'Label Feature' reference.getLabelFeature()
public java.lang.String getInterfaceName()
public java.lang.String getQualifiedInterfaceName()
public java.lang.String getImportedInterfaceName()
public java.lang.String getClassName()
public java.lang.String getQualifiedClassName()
public java.lang.String getImportedClassName()
public java.lang.String getUncapName()
public java.lang.String getSafeUncapName()
public java.util.List getBaseGenClasses()
public java.util.List getAllBaseGenClasses()
public java.util.List getSwitchGenClasses()
public GenClass getBaseGenClass()
public GenClass getClassExtendsGenClass()
public java.lang.String getClassExtends()
public java.lang.String getClassImplements()
public java.lang.String getInterfaceExtends()
public java.util.List getAllGenFeatures()
public java.util.List getInheritedGenFeatures()
public java.util.List getAllGenOperations()
public java.lang.String getFeatureID(GenFeature genFeature)
public java.lang.String getQualifiedFeatureID(GenFeature genFeature)
public java.lang.String getFeatureValue(GenFeature genFeature)
public java.lang.String getLocalFeatureIndex(GenFeature genFeature)
public java.lang.String getFeatureCountID()
public java.lang.String getQualifiedFeatureCountID()
public java.lang.String getFeatureCountValue()
public int getFeatureCount()
public boolean isEObject()
public boolean isAbstract()
public java.lang.String getAbstractFlag()
public boolean isInterface()
public java.lang.String getInterfaceFlag()
public boolean isExternalInterface()
public boolean isMapEntry()
public GenFeature getMapEntryKeyFeature()
public GenFeature getMapEntryValueFeature()
public java.util.List getImplementedGenFeatures()
public java.util.List getImplementedGenOperations()
public java.util.List getESetGenFeatures()
public java.util.List getEInverseAddGenFeatures()
public java.util.List getEInverseRemoveGenFeatures()
public java.util.List getEBasicRemoveFromContainerGenFeatures()
public java.util.List getToStringGenFeatures()
public java.util.List getMixinGenClasses()
public java.util.List getMixinGenFeatures()
public void initialize(EClass eClass)
public java.lang.String getProviderClassName()
public java.lang.String getQualifiedProviderClassName()
public java.lang.String getImportedProviderClassName()
public boolean isProviderSingleton()
public java.lang.String getProviderBaseClassName()
public java.util.List getLabelFeatureCandidates()
public java.util.List getPropertyFeatures()
public java.util.List getNotifyFeatures()
public java.util.List getChildrenFeatures()
public java.util.List getAllChildrenFeatures()
public java.util.List getCrossPackageChildrenFeatures()
public java.util.List getSharedClassChildrenFeatures()
public java.util.List getChildrenClasses(GenFeature genFeature)
public java.util.List getCrossPackageChildrenClasses(GenFeature genFeature)
public java.lang.String getItemProviderAdapterFactoryClassName()
public java.lang.String getModelInfo()
public boolean reconcile(GenClass oldGenClassVersion)
|
Copyright 2001-2003 IBM Corporation and others. All Rights Reserved. |
||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |