|
|||||||||||
| 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.GenFeatureImpl
An implementation of the model object 'Gen Feature'.
The following features are implemented:
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
GenBaseImpl.ColorInformation, GenBaseImpl.GenClassFilter, GenBaseImpl.GenConstraintFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.ImportManager, GenBaseImpl.UniqueNameHelper |
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
| Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
| Field Summary | |
protected boolean |
children
The cached value of the ' Children' attribute |
protected static boolean |
CHILDREN_EDEFAULT
The default value of the ' Children' attribute |
protected static boolean |
CREATE_CHILD_EDEFAULT
The default value of the ' Create Child' attribute |
protected boolean |
createChild
The cached value of the ' Create Child' attribute |
protected boolean |
createChildESet
This is true if the Create Child attribute has been set |
protected EStructuralFeature |
ecoreFeature
The cached value of the ' Ecore Feature' reference |
protected boolean |
notify
The cached value of the ' Notify' attribute |
protected static boolean |
NOTIFY_EDEFAULT
The default value of the ' Notify' attribute |
protected GenPropertyKind |
property
The cached value of the ' Property' attribute |
protected static GenPropertyKind |
PROPERTY_EDEFAULT
The default value of the ' Property' attribute |
| Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
ecoreGenPackage, javaLangTypes, javaReservedWords, 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 interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
protected |
GenFeatureImpl()
|
| Method Summary | |
protected void |
appendModelSetting(java.lang.StringBuffer result,
boolean qualified,
java.lang.String name,
java.lang.String value)
|
protected void |
autoSetCreateChild()
|
EStructuralFeature |
basicGetEcoreFeature()
|
NotificationChain |
eBasicRemoveFromContainer(NotificationChain msgs)
|
java.lang.Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
java.lang.String |
getAccessorName()
|
java.lang.String |
getCapName()
|
java.lang.String |
getChangeableFlag()
|
java.lang.String |
getContainerClass()
|
java.lang.String |
getContainmentFlag()
|
java.lang.String |
getDefaultValue()
|
GenFeature |
getDelegateFeature()
|
java.lang.String |
getDerivedFlag()
|
EStructuralFeature |
getEcoreFeature()
|
EModelElement |
getEcoreModelElement()
|
java.lang.String |
getEffectiveEObjectType()
|
java.lang.String |
getEffectiveFeatureMapWrapperInterface()
|
java.lang.String |
getEffectiveListType()
|
java.lang.String |
getEffectiveMapType()
|
java.lang.String |
getEObjectCast()
|
java.lang.String |
getFeatureAccessorName()
|
java.lang.String |
getFeatureKind()
|
java.lang.String |
getFormattedName()
|
GenClass |
getGenClass()
|
GenDataType |
getGenDataTypeType()
|
GenEnum |
getGenEnumType()
|
GenPackage |
getGenPackage()
|
java.lang.String |
getGetAccessor()
|
java.lang.String |
getIDFlag()
|
java.lang.String |
getImportedEffectiveFeatureMapWrapperClass()
|
java.lang.String |
getImportedEffectiveFeatureMapWrapperInternalInterface()
|
java.lang.String |
getImportedInternalType()
|
java.lang.String |
getImportedMetaType()
|
java.lang.String |
getImportedType()
|
java.lang.String |
getInternalTypeCast()
|
java.lang.String |
getIsName()
|
java.lang.String |
getListItemType()
|
java.lang.String |
getLowerBound()
|
GenClass |
getMapGenClass()
|
java.lang.String |
getMapItemType()
|
java.lang.String |
getMetaType()
|
java.lang.String |
getModelInfo()
|
java.lang.String |
getModelInfo(boolean qualified)
|
java.lang.String |
getName()
|
java.lang.String |
getObjectType()
|
java.lang.String |
getOrderedFlag()
|
java.lang.String |
getPrimitiveValueFunction()
|
GenPropertyKind |
getProperty()
|
java.lang.String |
getPropertyImageName()
|
java.lang.String |
getQualifiedFeatureAccessorName()
|
java.lang.String |
getQualifiedListItemType()
|
java.lang.String |
getQualifiedModelInfo()
|
java.lang.String |
getResolveProxiesFlag()
|
GenFeature |
getReverse()
|
java.lang.String |
getSafeName()
|
java.lang.String |
getSafeNameAsEObject()
|
java.lang.String |
getStaticDefaultValue()
|
java.lang.String |
getTransientFlag()
|
java.lang.String |
getType()
|
java.lang.String |
getTypeClassifier()
|
GenPackage |
getTypeGenPackage()
|
java.lang.String |
getUncapName()
|
java.lang.String |
getUniqueFlag()
|
java.lang.String |
getUnsettableFlag()
|
java.lang.String |
getUpperBound()
|
java.lang.String |
getUpperName()
|
java.lang.String |
getVolatileFlag()
|
boolean |
hasDelegateFeature()
|
void |
initialize(EStructuralFeature eFeature)
|
boolean |
isBidirectional()
|
boolean |
isBooleanType()
|
boolean |
isChangeable()
|
boolean |
isChildren()
|
boolean |
isContainer()
|
boolean |
isContains()
|
boolean |
isCreateChild()
Returns the value of the 'Create Child' attribute |
boolean |
isCreateChildGen()
|
boolean |
isEffectiveSuppressEMFTypes()
|
boolean |
isEnumType()
|
boolean |
isEObjectExtensionType()
|
boolean |
isEObjectType()
|
protected static boolean |
isFeatureMapEntry(java.lang.String name)
|
boolean |
isFeatureMapType()
|
boolean |
isFeatureMapWrapped()
|
boolean |
isID()
|
boolean |
isListType()
|
protected boolean |
isMapEntryFeature()
|
boolean |
isMapType()
|
boolean |
isNotify()
|
boolean |
isPrimitiveType()
|
boolean |
isProperty()
|
boolean |
isReferenceType()
|
boolean |
isResolveProxies()
|
boolean |
isSetCreateChild()
Set from children if necessary, and return true. |
boolean |
isSetCreateChildGen()
|
boolean |
isSetDefaultValue()
|
boolean |
isStringType()
|
boolean |
isUnique()
|
boolean |
isUnsettable()
|
boolean |
isVolatile()
|
boolean |
reconcile()
|
boolean |
reconcile(GenFeature oldGenFeatureVersion)
|
protected void |
reconcileSettings(GenFeature oldGenFeatureVersion)
|
void |
setChildren(boolean newChildren)
|
void |
setCreateChild(boolean newCreateChild)
|
void |
setEcoreFeature(EStructuralFeature newEcoreFeature)
|
void |
setGenClass(GenClass newGenClass)
|
void |
setNotify(boolean newNotify)
|
void |
setProperty(GenPropertyKind newProperty)
|
java.lang.String |
toString()
|
void |
unsetCreateChild()
|
| 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, capName, ePackageGenModel, format, generate, generateEdit, generateEditor, generateSchema, getDocumentation, getGenModel, hasDocumentation, safeName, uncapName, uncapPrefixedName |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
| 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 GenPropertyKind PROPERTY_EDEFAULT
Property' attribute.
getProperty()protected GenPropertyKind property
Property' attribute.
getProperty()protected static final boolean NOTIFY_EDEFAULT
Notify' attribute.
isNotify(),
Constant Field Valuesprotected boolean notify
Notify' attribute.
isNotify()protected static final boolean CHILDREN_EDEFAULT
Children' attribute.
isChildren(),
Constant Field Valuesprotected boolean children
Children' attribute.
isChildren()protected static final boolean CREATE_CHILD_EDEFAULT
Create Child' attribute.
isCreateChild(),
Constant Field Valuesprotected boolean createChild
Create Child' attribute.
isCreateChild()protected boolean createChildESet
protected EStructuralFeature ecoreFeature
Ecore Feature' reference.
getEcoreFeature()| Constructor Detail |
protected GenFeatureImpl()
| Method Detail |
protected EClass eStaticClass()
eStaticClass in class GenBaseImplpublic GenPropertyKind getProperty()
getProperty in interface GenFeatureGenPropertyKind,
GenFeature.setProperty(GenPropertyKind),
GenModelPackage.getGenFeature_Property()public boolean isProperty()
isProperty in interface GenFeaturepublic void setProperty(GenPropertyKind newProperty)
setProperty in interface GenFeaturenewProperty - the new value of the 'Property' attribute.GenPropertyKind,
GenFeature.getProperty()public boolean isNotify()
isNotify in interface GenFeatureGenFeature.setNotify(boolean),
GenModelPackage.getGenFeature_Notify()public void setNotify(boolean newNotify)
setNotify in interface GenFeaturenewNotify - the new value of the 'Notify' attribute.GenFeature.isNotify()public boolean isChildren()
isChildren in interface GenFeatureGenFeature.setChildren(boolean),
GenModelPackage.getGenFeature_Children()public void setChildren(boolean newChildren)
setChildren in interface GenFeaturenewChildren - the new value of the 'Children' attribute.GenFeature.isChildren()public boolean isCreateChild()
GenFeature
This attribute determines whether child objects can be created via this feature. It is temporarily unsettable to
ease migration from pre-2.0 versions of EMF, in which the children feature did this as a
secondary role.
If the feature has not yet been set, it will be set based on the value of the children
feature, before its value is returned. This ensures that pre-2.0 models will upgrade themselves, and continue to
work as before.
isCreateChild in interface GenFeatureGenFeature.isSetCreateChild(),
GenFeature.unsetCreateChild(),
GenFeature.setCreateChild(boolean),
GenModelPackage.getGenFeature_CreateChild()public boolean isCreateChildGen()
public void setCreateChild(boolean newCreateChild)
setCreateChild in interface GenFeaturenewCreateChild - the new value of the 'Create Child' attribute.GenFeature.isSetCreateChild(),
GenFeature.unsetCreateChild(),
GenFeature.isCreateChild()public void unsetCreateChild()
unsetCreateChild in interface GenFeatureGenFeature.isSetCreateChild(),
GenFeature.isCreateChild(),
GenFeature.setCreateChild(boolean)public boolean isSetCreateChild()
children if necessary, and return true.
isSetCreateChild in interface GenFeatureGenFeature.unsetCreateChild(),
GenFeature.isCreateChild(),
GenFeature.setCreateChild(boolean)public boolean isSetCreateChildGen()
protected void autoSetCreateChild()
public GenClass getGenClass()
getGenClass in interface GenFeatureGenFeature.setGenClass(GenClass),
GenModelPackage.getGenFeature_GenClass(),
GenClass.getGenFeatures()public void setGenClass(GenClass newGenClass)
setGenClass in interface GenFeaturenewGenClass - the new value of the 'Gen Class' container reference.GenFeature.getGenClass()public EModelElement getEcoreModelElement()
getEcoreModelElement in class GenBaseImplpublic EStructuralFeature getEcoreFeature()
getEcoreFeature in interface GenFeatureGenFeature.setEcoreFeature(EStructuralFeature),
GenModelPackage.getGenFeature_EcoreFeature()public EStructuralFeature basicGetEcoreFeature()
public void setEcoreFeature(EStructuralFeature newEcoreFeature)
setEcoreFeature in interface GenFeaturenewEcoreFeature - the new value of the 'Ecore Feature' reference.GenFeature.getEcoreFeature()
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
eInverseAdd in interface InternalEObjecteInverseAdd in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
eInverseRemove in interface InternalEObjecteInverseRemove in class BasicEObjectImplpublic NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
eBasicRemoveFromContainer in interface InternalEObjecteBasicRemoveFromContainer in class BasicEObjectImpl
public java.lang.Object eGet(EStructuralFeature eFeature,
boolean resolve)
eGet in interface EObjecteGet in class BasicEObjectImplpublic boolean eIsSet(EStructuralFeature eFeature)
eIsSet in interface EObjecteIsSet in class BasicEObjectImpl
public void eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
eSet in interface EObjecteSet in class BasicEObjectImplpublic void eUnset(EStructuralFeature eFeature)
eUnset in interface EObjecteUnset in class BasicEObjectImplpublic java.lang.String toString()
toString in class BasicEObjectImplpublic java.lang.String getName()
getName in interface GenFeaturegetName in class GenBaseImplpublic java.lang.String getCapName()
getCapName in interface GenFeaturepublic java.lang.String getAccessorName()
getAccessorName in interface GenFeaturepublic java.lang.String getGetAccessor()
getGetAccessor in interface GenFeaturepublic java.lang.String getSafeName()
getSafeName in interface GenFeaturepublic java.lang.String getSafeNameAsEObject()
getSafeNameAsEObject in interface GenFeaturepublic java.lang.String getFormattedName()
getFormattedName in interface GenFeaturepublic java.lang.String getUpperName()
getUpperName in interface GenFeaturepublic java.lang.String getUncapName()
getUncapName in interface GenFeaturepublic java.lang.String getIsName()
getIsName in interface GenFeaturepublic GenPackage getGenPackage()
getGenPackage in interface GenFeaturepublic java.lang.String getFeatureAccessorName()
getFeatureAccessorName in interface GenFeaturepublic java.lang.String getQualifiedFeatureAccessorName()
getQualifiedFeatureAccessorName in interface GenFeaturepublic java.lang.String getMetaType()
getMetaType in interface GenFeaturepublic java.lang.String getImportedMetaType()
getImportedMetaType in interface GenFeaturepublic java.lang.String getFeatureKind()
getFeatureKind in interface GenFeaturepublic boolean isReferenceType()
isReferenceType in interface GenFeaturepublic java.lang.String getEObjectCast()
getEObjectCast in interface GenFeaturepublic java.lang.String getInternalTypeCast()
getInternalTypeCast in interface GenFeaturepublic boolean isEObjectExtensionType()
public boolean isEObjectType()
public java.lang.String getTypeClassifier()
getTypeClassifier in interface GenFeaturepublic GenPackage getTypeGenPackage()
getTypeGenPackage in interface GenFeaturepublic boolean isEffectiveSuppressEMFTypes()
isEffectiveSuppressEMFTypes in interface GenFeaturepublic java.lang.String getEffectiveMapType()
public java.lang.String getEffectiveListType()
public java.lang.String getEffectiveEObjectType()
public java.lang.String getEffectiveFeatureMapWrapperInterface()
public java.lang.String getImportedEffectiveFeatureMapWrapperInternalInterface()
getImportedEffectiveFeatureMapWrapperInternalInterface in interface GenFeaturepublic java.lang.String getImportedEffectiveFeatureMapWrapperClass()
getImportedEffectiveFeatureMapWrapperClass in interface GenFeaturepublic java.lang.String getType()
getType in interface GenFeaturepublic java.lang.String getImportedType()
getImportedType in interface GenFeaturepublic java.lang.String getObjectType()
getObjectType in interface GenFeaturepublic java.lang.String getImportedInternalType()
getImportedInternalType in interface GenFeaturepublic java.lang.String getQualifiedListItemType()
getQualifiedListItemType in interface GenFeaturepublic java.lang.String getListItemType()
getListItemType in interface GenFeaturepublic GenClass getMapGenClass()
getMapGenClass in interface GenFeaturepublic java.lang.String getMapItemType()
getMapItemType in interface GenFeaturepublic boolean isSetDefaultValue()
isSetDefaultValue in interface GenFeaturepublic java.lang.String getDefaultValue()
getDefaultValue in interface GenFeaturepublic java.lang.String getStaticDefaultValue()
getStaticDefaultValue in interface GenFeaturepublic boolean isEnumType()
isEnumType in interface GenFeaturepublic GenEnum getGenEnumType()
getGenEnumType in interface GenFeaturepublic GenDataType getGenDataTypeType()
getGenDataTypeType in interface GenFeaturepublic boolean isBooleanType()
isBooleanType in interface GenFeaturepublic boolean isStringType()
isStringType in interface GenFeaturepublic boolean isListType()
isListType in interface GenFeaturepublic boolean isMapType()
isMapType in interface GenFeatureprotected boolean isMapEntryFeature()
protected static boolean isFeatureMapEntry(java.lang.String name)
public boolean isFeatureMapType()
isFeatureMapType in interface GenFeaturepublic boolean isFeatureMapWrapped()
isFeatureMapWrapped in interface GenFeaturepublic boolean isContainer()
isContainer in interface GenFeaturepublic boolean isContains()
isContains in interface GenFeaturepublic boolean isBidirectional()
isBidirectional in interface GenFeaturepublic GenFeature getReverse()
getReverse in interface GenFeaturepublic boolean isPrimitiveType()
isPrimitiveType in interface GenFeaturepublic java.lang.String getPrimitiveValueFunction()
getPrimitiveValueFunction in interface GenFeaturepublic java.lang.String getLowerBound()
getLowerBound in interface GenFeaturepublic java.lang.String getUpperBound()
getUpperBound in interface GenFeaturepublic java.lang.String getContainerClass()
getContainerClass in interface GenFeaturepublic java.lang.String getDerivedFlag()
getDerivedFlag in interface GenFeaturepublic java.lang.String getOrderedFlag()
getOrderedFlag in interface GenFeaturepublic java.lang.String getTransientFlag()
getTransientFlag in interface GenFeaturepublic java.lang.String getVolatileFlag()
getVolatileFlag in interface GenFeaturepublic java.lang.String getChangeableFlag()
getChangeableFlag in interface GenFeaturepublic java.lang.String getUnsettableFlag()
getUnsettableFlag in interface GenFeaturepublic java.lang.String getUniqueFlag()
getUniqueFlag in interface GenFeaturepublic java.lang.String getIDFlag()
getIDFlag in interface GenFeaturepublic java.lang.String getContainmentFlag()
getContainmentFlag in interface GenFeaturepublic java.lang.String getResolveProxiesFlag()
getResolveProxiesFlag in interface GenFeaturepublic boolean isResolveProxies()
isResolveProxies in interface GenFeaturepublic boolean isVolatile()
isVolatile in interface GenFeaturepublic boolean isChangeable()
isChangeable in interface GenFeaturepublic boolean isUnsettable()
isUnsettable in interface GenFeaturepublic boolean isID()
isID in interface GenFeaturepublic boolean isUnique()
isUnique in interface GenFeaturepublic boolean hasDelegateFeature()
hasDelegateFeature in interface GenFeaturepublic GenFeature getDelegateFeature()
getDelegateFeature in interface GenFeaturepublic void initialize(EStructuralFeature eFeature)
initialize in interface GenFeaturepublic java.lang.String getModelInfo()
getModelInfo in interface GenFeaturegetModelInfo in class GenBaseImplpublic java.lang.String getQualifiedModelInfo()
getQualifiedModelInfo in interface GenFeaturepublic java.lang.String getModelInfo(boolean qualified)
protected void appendModelSetting(java.lang.StringBuffer result,
boolean qualified,
java.lang.String name,
java.lang.String value)
public java.lang.String getPropertyImageName()
getPropertyImageName in interface GenFeaturepublic boolean reconcile(GenFeature oldGenFeatureVersion)
reconcile in interface GenFeatureprotected void reconcileSettings(GenFeature oldGenFeatureVersion)
public boolean reconcile()
reconcile in interface GenBase
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||