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