|
|||||||||||
| 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()
|
| 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,
Class baseClass,
NotificationChain msgs)
eInverseAdd in interface InternalEObjecteInverseAdd in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
eInverseRemove in interface InternalEObjecteInverseRemove in class BasicEObjectImplpublic NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
eBasicRemoveFromContainer in interface InternalEObjecteBasicRemoveFromContainer in class BasicEObjectImpl
public 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,
Object newValue)
eSet in interface EObjecteSet in class BasicEObjectImplpublic void eUnset(EStructuralFeature eFeature)
eUnset in interface EObjecteUnset in class BasicEObjectImplpublic String toString()
toString in class BasicEObjectImplpublic String getName()
getName in interface GenFeaturegetName in class GenBaseImplpublic String getCapName()
getCapName in interface GenFeaturepublic String getAccessorName()
getAccessorName in interface GenFeaturepublic String getGetAccessor()
getGetAccessor in interface GenFeaturepublic String getSafeName()
getSafeName in interface GenFeaturepublic String getSafeNameAsEObject()
getSafeNameAsEObject in interface GenFeaturepublic String getFormattedName()
getFormattedName in interface GenFeaturepublic String getUpperName()
getUpperName in interface GenFeaturepublic String getUncapName()
getUncapName in interface GenFeaturepublic String getIsName()
getIsName in interface GenFeaturepublic GenPackage getGenPackage()
getGenPackage in interface GenFeaturepublic String getFeatureAccessorName()
getFeatureAccessorName in interface GenFeaturepublic String getQualifiedFeatureAccessorName()
getQualifiedFeatureAccessorName in interface GenFeaturepublic String getMetaType()
getMetaType in interface GenFeaturepublic String getImportedMetaType()
getImportedMetaType in interface GenFeaturepublic String getFeatureKind()
getFeatureKind in interface GenFeaturepublic boolean isReferenceType()
isReferenceType in interface GenFeaturepublic String getEObjectCast()
getEObjectCast in interface GenFeaturepublic String getInternalTypeCast()
getInternalTypeCast in interface GenFeaturepublic boolean isEObjectExtensionType()
public boolean isEObjectType()
public String getTypeClassifier()
getTypeClassifier in interface GenFeaturepublic GenPackage getTypeGenPackage()
getTypeGenPackage in interface GenFeaturepublic boolean isEffectiveSuppressEMFTypes()
isEffectiveSuppressEMFTypes in interface GenFeaturepublic String getEffectiveMapType()
public String getEffectiveListType()
public String getEffectiveEObjectType()
public String getEffectiveFeatureMapWrapperInterface()
public String getImportedEffectiveFeatureMapWrapperInternalInterface()
getImportedEffectiveFeatureMapWrapperInternalInterface in interface GenFeaturepublic String getImportedEffectiveFeatureMapWrapperClass()
getImportedEffectiveFeatureMapWrapperClass in interface GenFeaturepublic String getType()
getType in interface GenFeaturepublic String getImportedType()
getImportedType in interface GenFeaturepublic String getObjectType()
getObjectType in interface GenFeaturepublic String getImportedInternalType()
getImportedInternalType in interface GenFeaturepublic String getQualifiedListItemType()
getQualifiedListItemType in interface GenFeaturepublic String getListItemType()
getListItemType in interface GenFeaturepublic GenClass getMapGenClass()
getMapGenClass in interface GenFeaturepublic String getMapItemType()
getMapItemType in interface GenFeaturepublic boolean isSetDefaultValue()
isSetDefaultValue in interface GenFeaturepublic String getDefaultValue()
getDefaultValue in interface GenFeaturepublic 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(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 String getPrimitiveValueFunction()
getPrimitiveValueFunction in interface GenFeaturepublic String getLowerBound()
getLowerBound in interface GenFeaturepublic String getUpperBound()
getUpperBound in interface GenFeaturepublic String getContainerClass()
getContainerClass in interface GenFeaturepublic String getDerivedFlag()
getDerivedFlag in interface GenFeaturepublic String getOrderedFlag()
getOrderedFlag in interface GenFeaturepublic String getTransientFlag()
getTransientFlag in interface GenFeaturepublic String getVolatileFlag()
getVolatileFlag in interface GenFeaturepublic String getChangeableFlag()
getChangeableFlag in interface GenFeaturepublic String getUnsettableFlag()
getUnsettableFlag in interface GenFeaturepublic String getUniqueFlag()
getUniqueFlag in interface GenFeaturepublic String getIDFlag()
getIDFlag in interface GenFeaturepublic String getContainmentFlag()
getContainmentFlag in interface GenFeaturepublic 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 String getModelInfo()
getModelInfo in interface GenFeaturegetModelInfo in class GenBaseImplpublic String getQualifiedModelInfo()
getQualifiedModelInfo in interface GenFeaturepublic String getModelInfo(boolean qualified)
protected void appendModelSetting(StringBuffer result,
boolean qualified,
String name,
String value)
public 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 | ||||||||||