|
|||||||||||
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 GenBaseImpl
public GenPropertyKind getProperty()
getProperty
in interface GenFeature
GenPropertyKind
,
GenFeature.setProperty(GenPropertyKind)
,
GenModelPackage.getGenFeature_Property()
public boolean isProperty()
isProperty
in interface GenFeature
public void setProperty(GenPropertyKind newProperty)
setProperty
in interface GenFeature
newProperty
- the new value of the 'Property' attribute.GenPropertyKind
,
GenFeature.getProperty()
public boolean isNotify()
isNotify
in interface GenFeature
GenFeature.setNotify(boolean)
,
GenModelPackage.getGenFeature_Notify()
public void setNotify(boolean newNotify)
setNotify
in interface GenFeature
newNotify
- the new value of the 'Notify' attribute.GenFeature.isNotify()
public boolean isChildren()
isChildren
in interface GenFeature
GenFeature.setChildren(boolean)
,
GenModelPackage.getGenFeature_Children()
public void setChildren(boolean newChildren)
setChildren
in interface GenFeature
newChildren
- 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 GenFeature
GenFeature.isSetCreateChild()
,
GenFeature.unsetCreateChild()
,
GenFeature.setCreateChild(boolean)
,
GenModelPackage.getGenFeature_CreateChild()
public boolean isCreateChildGen()
public void setCreateChild(boolean newCreateChild)
setCreateChild
in interface GenFeature
newCreateChild
- the new value of the 'Create Child' attribute.GenFeature.isSetCreateChild()
,
GenFeature.unsetCreateChild()
,
GenFeature.isCreateChild()
public void unsetCreateChild()
unsetCreateChild
in interface GenFeature
GenFeature.isSetCreateChild()
,
GenFeature.isCreateChild()
,
GenFeature.setCreateChild(boolean)
public boolean isSetCreateChild()
children
if necessary, and return true.
isSetCreateChild
in interface GenFeature
GenFeature.unsetCreateChild()
,
GenFeature.isCreateChild()
,
GenFeature.setCreateChild(boolean)
public boolean isSetCreateChildGen()
protected void autoSetCreateChild()
public GenClass getGenClass()
getGenClass
in interface GenFeature
GenFeature.setGenClass(GenClass)
,
GenModelPackage.getGenFeature_GenClass()
,
GenClass.getGenFeatures()
public void setGenClass(GenClass newGenClass)
setGenClass
in interface GenFeature
newGenClass
- the new value of the 'Gen Class' container reference.GenFeature.getGenClass()
public EModelElement getEcoreModelElement()
getEcoreModelElement
in class GenBaseImpl
public EStructuralFeature getEcoreFeature()
getEcoreFeature
in interface GenFeature
GenFeature.setEcoreFeature(EStructuralFeature)
,
GenModelPackage.getGenFeature_EcoreFeature()
public EStructuralFeature basicGetEcoreFeature()
public void setEcoreFeature(EStructuralFeature newEcoreFeature)
setEcoreFeature
in interface GenFeature
newEcoreFeature
- 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 InternalEObject
eInverseAdd
in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
eInverseRemove
in interface InternalEObject
eInverseRemove
in class BasicEObjectImpl
public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
eBasicRemoveFromContainer
in interface InternalEObject
eBasicRemoveFromContainer
in class BasicEObjectImpl
public java.lang.Object eGet(EStructuralFeature eFeature, boolean resolve)
eGet
in interface EObject
eGet
in class BasicEObjectImpl
public boolean eIsSet(EStructuralFeature eFeature)
eIsSet
in interface EObject
eIsSet
in class BasicEObjectImpl
public void eSet(EStructuralFeature eFeature, java.lang.Object newValue)
eSet
in interface EObject
eSet
in class BasicEObjectImpl
public void eUnset(EStructuralFeature eFeature)
eUnset
in interface EObject
eUnset
in class BasicEObjectImpl
public java.lang.String toString()
toString
in class BasicEObjectImpl
public java.lang.String getName()
getName
in interface GenFeature
getName
in class GenBaseImpl
public java.lang.String getCapName()
getCapName
in interface GenFeature
public java.lang.String getAccessorName()
getAccessorName
in interface GenFeature
public java.lang.String getGetAccessor()
getGetAccessor
in interface GenFeature
public java.lang.String getSafeName()
getSafeName
in interface GenFeature
public java.lang.String getSafeNameAsEObject()
getSafeNameAsEObject
in interface GenFeature
public java.lang.String getFormattedName()
getFormattedName
in interface GenFeature
public java.lang.String getUpperName()
getUpperName
in interface GenFeature
public java.lang.String getUncapName()
getUncapName
in interface GenFeature
public java.lang.String getIsName()
getIsName
in interface GenFeature
public GenPackage getGenPackage()
getGenPackage
in interface GenFeature
public java.lang.String getFeatureAccessorName()
getFeatureAccessorName
in interface GenFeature
public java.lang.String getQualifiedFeatureAccessorName()
getQualifiedFeatureAccessorName
in interface GenFeature
public java.lang.String getMetaType()
getMetaType
in interface GenFeature
public java.lang.String getImportedMetaType()
getImportedMetaType
in interface GenFeature
public java.lang.String getFeatureKind()
getFeatureKind
in interface GenFeature
public boolean isReferenceType()
isReferenceType
in interface GenFeature
public java.lang.String getEObjectCast()
getEObjectCast
in interface GenFeature
public java.lang.String getInternalTypeCast()
getInternalTypeCast
in interface GenFeature
public boolean isEObjectExtensionType()
public boolean isEObjectType()
public java.lang.String getTypeClassifier()
getTypeClassifier
in interface GenFeature
public GenPackage getTypeGenPackage()
getTypeGenPackage
in interface GenFeature
public boolean isEffectiveSuppressEMFTypes()
isEffectiveSuppressEMFTypes
in interface GenFeature
public 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 GenFeature
public java.lang.String getImportedEffectiveFeatureMapWrapperClass()
getImportedEffectiveFeatureMapWrapperClass
in interface GenFeature
public java.lang.String getType()
getType
in interface GenFeature
public java.lang.String getImportedType()
getImportedType
in interface GenFeature
public java.lang.String getObjectType()
getObjectType
in interface GenFeature
public java.lang.String getImportedInternalType()
getImportedInternalType
in interface GenFeature
public java.lang.String getQualifiedListItemType()
getQualifiedListItemType
in interface GenFeature
public java.lang.String getListItemType()
getListItemType
in interface GenFeature
public GenClass getMapGenClass()
getMapGenClass
in interface GenFeature
public java.lang.String getMapItemType()
getMapItemType
in interface GenFeature
public boolean isSetDefaultValue()
isSetDefaultValue
in interface GenFeature
public java.lang.String getDefaultValue()
getDefaultValue
in interface GenFeature
public java.lang.String getStaticDefaultValue()
getStaticDefaultValue
in interface GenFeature
public boolean isEnumType()
isEnumType
in interface GenFeature
public GenEnum getGenEnumType()
getGenEnumType
in interface GenFeature
public GenDataType getGenDataTypeType()
getGenDataTypeType
in interface GenFeature
public boolean isBooleanType()
isBooleanType
in interface GenFeature
public boolean isStringType()
isStringType
in interface GenFeature
public boolean isListType()
isListType
in interface GenFeature
public boolean isMapType()
isMapType
in interface GenFeature
protected boolean isMapEntryFeature()
protected static boolean isFeatureMapEntry(java.lang.String name)
public boolean isFeatureMapType()
isFeatureMapType
in interface GenFeature
public boolean isFeatureMapWrapped()
isFeatureMapWrapped
in interface GenFeature
public boolean isContainer()
isContainer
in interface GenFeature
public boolean isContains()
isContains
in interface GenFeature
public boolean isBidirectional()
isBidirectional
in interface GenFeature
public GenFeature getReverse()
getReverse
in interface GenFeature
public boolean isPrimitiveType()
isPrimitiveType
in interface GenFeature
public java.lang.String getPrimitiveValueFunction()
getPrimitiveValueFunction
in interface GenFeature
public java.lang.String getLowerBound()
getLowerBound
in interface GenFeature
public java.lang.String getUpperBound()
getUpperBound
in interface GenFeature
public java.lang.String getContainerClass()
getContainerClass
in interface GenFeature
public java.lang.String getDerivedFlag()
getDerivedFlag
in interface GenFeature
public java.lang.String getOrderedFlag()
getOrderedFlag
in interface GenFeature
public java.lang.String getTransientFlag()
getTransientFlag
in interface GenFeature
public java.lang.String getVolatileFlag()
getVolatileFlag
in interface GenFeature
public java.lang.String getChangeableFlag()
getChangeableFlag
in interface GenFeature
public java.lang.String getUnsettableFlag()
getUnsettableFlag
in interface GenFeature
public java.lang.String getUniqueFlag()
getUniqueFlag
in interface GenFeature
public java.lang.String getIDFlag()
getIDFlag
in interface GenFeature
public java.lang.String getContainmentFlag()
getContainmentFlag
in interface GenFeature
public java.lang.String getResolveProxiesFlag()
getResolveProxiesFlag
in interface GenFeature
public boolean isResolveProxies()
isResolveProxies
in interface GenFeature
public boolean isVolatile()
isVolatile
in interface GenFeature
public boolean isChangeable()
isChangeable
in interface GenFeature
public boolean isUnsettable()
isUnsettable
in interface GenFeature
public boolean isID()
isID
in interface GenFeature
public boolean isUnique()
isUnique
in interface GenFeature
public boolean hasDelegateFeature()
hasDelegateFeature
in interface GenFeature
public GenFeature getDelegateFeature()
getDelegateFeature
in interface GenFeature
public void initialize(EStructuralFeature eFeature)
initialize
in interface GenFeature
public java.lang.String getModelInfo()
getModelInfo
in interface GenFeature
getModelInfo
in class GenBaseImpl
public java.lang.String getQualifiedModelInfo()
getQualifiedModelInfo
in interface GenFeature
public 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 GenFeature
public boolean reconcile(GenFeature oldGenFeatureVersion)
reconcile
in interface GenFeature
protected 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 |