|
|||||||||||
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.GenTypedElementImpl
org.eclipse.emf.codegen.ecore.genmodel.impl.GenFeatureImpl
An implementation of the model object 'Gen Feature'.
The following features are implemented:
Property
Notify
Children
Create Child
Property Category
Property Filter Flags
Property Description
Property Multi Line
Property Sort Choices
Gen Class
Ecore Feature
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
GenBaseImpl.AnnotationFilter, GenBaseImpl.AnnotationFilterImpl, GenBaseImpl.ColorInformation, GenBaseImpl.EclipseUtil, GenBaseImpl.GenAnnotationCopier, GenBaseImpl.GenClassFilter, GenBaseImpl.GenConstraintFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.UniqueNameHelper |
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, 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 String |
PROPERTY_CATEGORY_EDEFAULT
The default value of the ' Property Category ' attribute |
protected static String |
PROPERTY_DESCRIPTION_EDEFAULT
The default value of the ' Property Description ' attribute |
protected static GenPropertyKind |
PROPERTY_EDEFAULT
The default value of the ' Property ' attribute |
protected static boolean |
PROPERTY_MULTI_LINE_EDEFAULT
The default value of the ' Property Multi Line ' attribute |
protected static boolean |
PROPERTY_SORT_CHOICES_EDEFAULT
The default value of the ' Property Sort Choices ' attribute |
protected String |
propertyCategory
The cached value of the ' Property Category ' attribute |
protected String |
propertyDescription
The cached value of the ' Property Description ' attribute |
protected EList |
propertyFilterFlags
The cached value of the ' Property Filter Flags ' attribute list |
protected boolean |
propertyMultiLine
The cached value of the ' Property Multi Line ' attribute |
protected boolean |
propertySortChoices
The cached value of the ' Property Sort Choices ' attribute |
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
DEFAULT_ANNOTATION_FILTER, ecoreGenPackage, EMPTY_URI, genAnnotations, PLATFORM_RESOURCE_URI, 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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
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, canGenerateTests, capName, format, gen, genEdit, genEditor, generate, generate, generateEdit, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, generateTests, genSchema, genTests, getDocumentation, getGenAnnotation, getGenAnnotations, getGenModel, hasDocumentation, safeName, uncapName, uncapPrefixedName |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
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 static final String PROPERTY_CATEGORY_EDEFAULT
Property Category
' attribute.
getPropertyCategory()
protected String propertyCategory
Property Category
' attribute.
getPropertyCategory()
protected EList propertyFilterFlags
Property Filter Flags
' attribute list.
getPropertyFilterFlags()
protected static final String PROPERTY_DESCRIPTION_EDEFAULT
Property Description
' attribute.
getPropertyDescription()
protected String propertyDescription
Property Description
' attribute.
getPropertyDescription()
protected static final boolean PROPERTY_MULTI_LINE_EDEFAULT
Property Multi Line
' attribute.
isPropertyMultiLine()
,
Constant Field Valuesprotected boolean propertyMultiLine
Property Multi Line
' attribute.
isPropertyMultiLine()
protected static final boolean PROPERTY_SORT_CHOICES_EDEFAULT
Property Sort Choices
' attribute.
isPropertySortChoices()
,
Constant Field Valuesprotected boolean propertySortChoices
Property Sort Choices
' attribute.
isPropertySortChoices()
protected EStructuralFeature ecoreFeature
Ecore Feature
' reference.
getEcoreFeature()
Constructor Detail |
protected GenFeatureImpl()
Method Detail |
protected EClass eStaticClass()
eStaticClass
in class GenTypedElementImpl
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()
public String getPropertyCategory()
getPropertyCategory
in interface GenFeature
GenFeature.setPropertyCategory(String)
,
GenModelPackage.getGenFeature_PropertyCategory()
public void setPropertyCategory(String newPropertyCategory)
setPropertyCategory
in interface GenFeature
newPropertyCategory
- the new value of the 'Property Category' attribute.GenFeature.getPropertyCategory()
public EList getPropertyFilterFlags()
getPropertyFilterFlags
in interface GenFeature
GenModelPackage.getGenFeature_PropertyFilterFlags()
public String getPropertyDescription()
getPropertyDescription
in interface GenFeature
GenFeature.setPropertyDescription(String)
,
GenModelPackage.getGenFeature_PropertyDescription()
public void setPropertyDescription(String newPropertyDescription)
setPropertyDescription
in interface GenFeature
newPropertyDescription
- the new value of the 'Property Description' attribute.GenFeature.getPropertyDescription()
public boolean isPropertyMultiLine()
isPropertyMultiLine
in interface GenFeature
GenFeature.setPropertyMultiLine(boolean)
,
GenModelPackage.getGenFeature_PropertyMultiLine()
public void setPropertyMultiLine(boolean newPropertyMultiLine)
setPropertyMultiLine
in interface GenFeature
newPropertyMultiLine
- the new value of the 'Property Multi Line' attribute.GenFeature.isPropertyMultiLine()
public boolean isPropertySortChoices()
isPropertySortChoices
in interface GenFeature
GenFeature.setPropertySortChoices(boolean)
,
GenModelPackage.getGenFeature_PropertySortChoices()
public void setPropertySortChoices(boolean newPropertySortChoices)
setPropertySortChoices
in interface GenFeature
newPropertySortChoices
- the new value of the 'Property Sort Choices' attribute.GenFeature.isPropertySortChoices()
protected void autoSetCreateChild()
public GenClass getGenClass()
getGenClass
in interface GenFeature
GenFeature.setGenClass(GenClass)
,
GenModelPackage.getGenFeature_GenClass()
,
GenClass.getGenFeatures()
public NotificationChain basicSetGenClass(GenClass newGenClass, NotificationChain msgs)
public void setGenClass(GenClass newGenClass)
setGenClass
in interface GenFeature
newGenClass
- the new value of the 'Gen Class' container reference.GenFeature.getGenClass()
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, NotificationChain msgs)
eInverseAdd
in class GenBaseImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class GenBaseImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class BasicEObjectImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class GenBaseImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class GenBaseImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class GenBaseImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class GenBaseImpl
public String toString()
toString
in class BasicEObjectImpl
public ETypedElement getEcoreTypedElement()
getEcoreTypedElement
in class GenTypedElementImpl
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 getGetArrayAccessor()
getGetArrayAccessor
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 getQualifiedFeatureAccessor()
getQualifiedFeatureAccessor
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
protected boolean isEObjectExtensionType()
isEObjectExtensionType
in class GenTypedElementImpl
protected boolean isEObjectType()
isEObjectType
in class GenTypedElementImpl
public boolean isMapType()
isMapType
in interface GenTypedElement
isMapType
in class GenTypedElementImpl
public boolean isFlag()
isFlag
in interface GenFeature
public boolean isESetFlag()
isESetFlag
in interface GenFeature
public boolean isSetDefaultValue()
isSetDefaultValue
in interface GenFeature
public String getDefaultValue()
getDefaultValue
in interface GenFeature
public String getStaticDefaultValue()
getStaticDefaultValue
in interface GenFeature
protected boolean isMapEntryFeature()
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 String getContainerClass()
getContainerClass
in interface GenFeature
public String getDerivedFlag()
getDerivedFlag
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 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 isDerived()
isDerived
in interface GenFeature
public boolean hasDelegateFeature()
hasDelegateFeature
in interface GenFeature
public GenFeature getDelegateFeature()
getDelegateFeature
in interface GenFeature
public List getDelegatedFeatures()
getDelegatedFeatures
in interface GenFeature
public String getCreateChildValueLiteral()
getCreateChildValueLiteral
in interface GenFeature
public boolean isSuppressedGetVisibility()
isSuppressedGetVisibility
in interface GenFeature
public boolean isSuppressedSetVisibility()
isSuppressedSetVisibility
in interface GenFeature
public boolean isSuppressedIsSetVisibility()
isSuppressedIsSetVisibility
in interface GenFeature
public boolean isSuppressedUnsetVisibility()
isSuppressedUnsetVisibility
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)
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
public boolean isField()
isField
in interface GenFeature
public boolean isESetField()
isESetField
in interface GenFeature
public boolean isGet()
isGet
in interface GenFeature
public boolean isBasicGet()
isBasicGet
in interface GenFeature
public boolean isBasicSet()
isBasicSet
in interface GenFeature
public boolean isSet()
isSet
in interface GenFeature
public boolean isBasicUnset()
isBasicUnset
in interface GenFeature
public boolean isUnset()
isUnset
in interface GenFeature
public boolean isIsSet()
isIsSet
in interface GenFeature
public boolean isEffectiveContains()
isEffectiveContains
in interface GenFeature
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |