org.eclipse.emf.codegen.ecore.genmodel.impl
Class GenFeatureImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
                  extended byorg.eclipse.emf.codegen.ecore.genmodel.impl.GenTypedElementImpl
                      extended byorg.eclipse.emf.codegen.ecore.genmodel.impl.GenFeatureImpl
All Implemented Interfaces:
EObject, GenBase, GenFeature, GenTypedElement, InternalEObject, Notifier

public class GenFeatureImpl
extends GenTypedElementImpl
implements GenFeature

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.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()
           
 
Method Summary
protected  void autoSetCreateChild()
           
 EStructuralFeature basicGetEcoreFeature()
           
 NotificationChain basicSetGenClass(GenClass newGenClass, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 String getAccessorName()
           
 String getCapName()
           
 String getChangeableFlag()
           
 String getContainerClass()
           
 String getContainmentFlag()
           
 String getCreateChildValueLiteral()
           
 String getDefaultValue()
           
 List getDelegatedFeatures()
          It considers mixed types, model groups, subsitution groups and wildcards.
 GenFeature getDelegateFeature()
           
 String getDerivedFlag()
           
 EStructuralFeature getEcoreFeature()
           
 ETypedElement getEcoreTypedElement()
           
 String getFeatureAccessorName()
           
 String getFeatureKind()
           
 String getFormattedName()
           
 GenClass getGenClass()
           
 GenPackage getGenPackage()
           
 String getGetAccessor()
           
 String getGetArrayAccessor()
           
 String getIDFlag()
           
 String getImportedMetaType()
           
 String getIsName()
           
 String getMetaType()
           
 String getModelInfo()
           
 String getModelInfo(boolean qualified)
           
 String getName()
           
 GenPropertyKind getProperty()
           
 String getPropertyCategory()
           
 String getPropertyDescription()
           
 EList getPropertyFilterFlags()
           
 String getPropertyImageName()
           
 String getQualifiedFeatureAccessor()
           
 String getQualifiedFeatureAccessorName()
           
 String getQualifiedModelInfo()
           
 String getResolveProxiesFlag()
           
 GenFeature getReverse()
           
 String getSafeName()
           
 String getSafeNameAsEObject()
           
 String getStaticDefaultValue()
           
 String getTransientFlag()
           
 String getUncapName()
           
 String getUnsettableFlag()
           
 String getUpperName()
           
 String getVolatileFlag()
           
 boolean hasDelegateFeature()
           
 void initialize(EStructuralFeature eFeature)
           
 boolean isBasicGet()
           
 boolean isBasicSet()
           
 boolean isBasicUnset()
           
 boolean isBidirectional()
           
 boolean isChangeable()
           
 boolean isChildren()
           
 boolean isContainer()
           
 boolean isContains()
           
 boolean isCreateChild()
          Returns the value of the 'Create Child' attribute
 boolean isCreateChildGen()
           
 boolean isDerived()
           
 boolean isEffectiveContains()
           
protected  boolean isEObjectExtensionType()
           
protected  boolean isEObjectType()
           
 boolean isESetField()
           
 boolean isESetFlag()
           
 boolean isField()
           
 boolean isFlag()
           
 boolean isGet()
           
 boolean isID()
           
 boolean isIsSet()
           
protected  boolean isMapEntryFeature()
           
 boolean isMapType()
           
 boolean isNotify()
           
 boolean isProperty()
           
 boolean isPropertyMultiLine()
           
 boolean isPropertySortChoices()
           
 boolean isReferenceType()
           
 boolean isResolveProxies()
           
 boolean isSet()
           
 boolean isSetCreateChild()
          Set from children if necessary, and return true.
 boolean isSetCreateChildGen()
           
 boolean isSetDefaultValue()
           
 boolean isSuppressedGetVisibility()
           
 boolean isSuppressedIsSetVisibility()
           
 boolean isSuppressedSetVisibility()
           
 boolean isSuppressedUnsetVisibility()
           
 boolean isUnset()
           
 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)
           
 void setPropertyCategory(String newPropertyCategory)
           
 void setPropertyDescription(String newPropertyDescription)
           
 void setPropertyMultiLine(boolean newPropertyMultiLine)
           
 void setPropertySortChoices(boolean newPropertySortChoices)
           
 String toString()
           
 void unsetCreateChild()
           
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenTypedElementImpl
appendModelSetting, getEcoreModelElement, getEObjectCast, getGenClassType, getGenDataTypeType, getGenEnumType, getImportedEffectiveFeatureMapWrapperClass, getImportedEffectiveFeatureMapWrapperInternalInterface, getImportedInternalType, getImportedMapEntryType, getImportedType, getInternalTypeCast, getListItemType, getLowerBound, getMapEntryTypeGenClass, getMapGenClass, getMapItemType, getMapModelInfo, getMultiplicityModelInfo, getNonEObjectInternalTypeCast, getObjectType, getOrderedFlag, getPrimitiveValueFunction, getQualifiedListItemType, getType, getTypeClassifier, getTypeClassifierAccessorName, getTypeGenClass, getTypeGenClassifier, getTypeGenDataType, getTypeGenEnum, getTypeGenPackage, getUniqueFlag, getUpperBound, isBooleanType, isEffectiveSuppressEMFTypes, isEnumBasedType, isEnumType, isFeatureMapEntry, isFeatureMapType, isFeatureMapWrapped, isListType, isPrimitiveType, isStringBasedType, isStringType, isUnique, isWrappedFeatureMapType
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
addNonDuplicates, appendAnnotationInfo, appendAnnotationInfo, appendAnnotationInfo, appendLineBreak, appendModelSetting, appendModelSetting, canGenerate, canGenerateEdit, canGenerateEditor, canGenerateSchema, canGenerateTests, capName, collectGenClasses, collectGenConstraints, collectGenFeatures, collectGenOperations, createInputStream, createMonitor, createOutputStream, eObjectForURIFragmentSegment, escapeString, eURIFragmentSegment, exists, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenOperation, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, format, formatCode, gen, gen, genEdit, genEditor, generate, generate, generate, generate, generate, generate, generate, generateEdit, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, generateTests, genSchema, genTests, getAllGenPackages, getAnnotationInfo, getAnnotationInfo, getContents, getDocumentation, getDocumentation, getEffectiveEObjectType, getEffectiveFeatureMapWrapperInterface, getEffectiveListType, getEffectiveMapType, getEncoding, getExtendedMetaData, getGenAnnotation, getGenAnnotations, getGenModel, getImplClassName, getImportedType, getImportManager, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, hasDocumentation, hasModelContribution, indent, isBlank, isJavaUtilMapEntry, isPrimitiveType, isReadOnly, parseName, reconcileGenAnnotations, safeName, setImportManager, setOverwriteable, uncapName, uncapPrefixedName, uncapPrefixedName, unicodeEscapeEncode
 
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.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
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.GenTypedElement
getEcoreModelElement, getEObjectCast, getGenClassType, getGenDataTypeType, getGenEnumType, getImportedEffectiveFeatureMapWrapperClass, getImportedEffectiveFeatureMapWrapperInternalInterface, getImportedInternalType, getImportedMapEntryType, getImportedType, getInternalTypeCast, getListItemType, getLowerBound, getMapEntryTypeGenClass, getMapGenClass, getMapItemType, getNonEObjectInternalTypeCast, getObjectType, getOrderedFlag, getPrimitiveValueFunction, getQualifiedListItemType, getType, getTypeClassifier, getTypeClassifierAccessorName, getTypeGenClass, getTypeGenClassifier, getTypeGenDataType, getTypeGenEnum, getTypeGenPackage, getUniqueFlag, getUpperBound, isBooleanType, isEffectiveSuppressEMFTypes, isEnumBasedType, isEnumType, isFeatureMapType, isFeatureMapWrapped, isListType, isPrimitiveType, isStringBasedType, isStringType, isUnique, isWrappedFeatureMapType
 
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

PROPERTY_EDEFAULT

protected static final GenPropertyKind PROPERTY_EDEFAULT
The default value of the 'Property' attribute.

See Also:
getProperty()

property

protected GenPropertyKind property
The cached value of the 'Property' attribute.

See Also:
getProperty()

NOTIFY_EDEFAULT

protected static final boolean NOTIFY_EDEFAULT
The default value of the 'Notify' attribute.

See Also:
isNotify(), Constant Field Values

notify

protected boolean notify
The cached value of the 'Notify' attribute.

See Also:
isNotify()

CHILDREN_EDEFAULT

protected static final boolean CHILDREN_EDEFAULT
The default value of the 'Children' attribute.

See Also:
isChildren(), Constant Field Values

children

protected boolean children
The cached value of the 'Children' attribute.

See Also:
isChildren()

CREATE_CHILD_EDEFAULT

protected static final boolean CREATE_CHILD_EDEFAULT
The default value of the 'Create Child' attribute.

See Also:
isCreateChild(), Constant Field Values

createChild

protected boolean createChild
The cached value of the 'Create Child' attribute.

See Also:
isCreateChild()

createChildESet

protected boolean createChildESet
This is true if the Create Child attribute has been set.


PROPERTY_CATEGORY_EDEFAULT

protected static final String PROPERTY_CATEGORY_EDEFAULT
The default value of the 'Property Category' attribute.

See Also:
getPropertyCategory()

propertyCategory

protected String propertyCategory
The cached value of the 'Property Category' attribute.

See Also:
getPropertyCategory()

propertyFilterFlags

protected EList propertyFilterFlags
The cached value of the 'Property Filter Flags' attribute list.

See Also:
getPropertyFilterFlags()

PROPERTY_DESCRIPTION_EDEFAULT

protected static final String PROPERTY_DESCRIPTION_EDEFAULT
The default value of the 'Property Description' attribute.

See Also:
getPropertyDescription()

propertyDescription

protected String propertyDescription
The cached value of the 'Property Description' attribute.

See Also:
getPropertyDescription()

PROPERTY_MULTI_LINE_EDEFAULT

protected static final boolean PROPERTY_MULTI_LINE_EDEFAULT
The default value of the 'Property Multi Line' attribute.

See Also:
isPropertyMultiLine(), Constant Field Values

propertyMultiLine

protected boolean propertyMultiLine
The cached value of the 'Property Multi Line' attribute.

See Also:
isPropertyMultiLine()

PROPERTY_SORT_CHOICES_EDEFAULT

protected static final boolean PROPERTY_SORT_CHOICES_EDEFAULT
The default value of the 'Property Sort Choices' attribute.

See Also:
isPropertySortChoices(), Constant Field Values

propertySortChoices

protected boolean propertySortChoices
The cached value of the 'Property Sort Choices' attribute.

See Also:
isPropertySortChoices()

ecoreFeature

protected EStructuralFeature ecoreFeature
The cached value of the 'Ecore Feature' reference.

See Also:
getEcoreFeature()
Constructor Detail

GenFeatureImpl

protected GenFeatureImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class GenTypedElementImpl

getProperty

public GenPropertyKind getProperty()

Specified by:
getProperty in interface GenFeature
Returns:
the value of the 'Property' attribute.
See Also:
GenPropertyKind, GenFeature.setProperty(GenPropertyKind), GenModelPackage.getGenFeature_Property()

isProperty

public boolean isProperty()
Specified by:
isProperty in interface GenFeature

setProperty

public void setProperty(GenPropertyKind newProperty)

Specified by:
setProperty in interface GenFeature
Parameters:
newProperty - the new value of the 'Property' attribute.
See Also:
GenPropertyKind, GenFeature.getProperty()

isNotify

public boolean isNotify()

Specified by:
isNotify in interface GenFeature
Returns:
the value of the 'Notify' attribute.
See Also:
GenFeature.setNotify(boolean), GenModelPackage.getGenFeature_Notify()

setNotify

public void setNotify(boolean newNotify)

Specified by:
setNotify in interface GenFeature
Parameters:
newNotify - the new value of the 'Notify' attribute.
See Also:
GenFeature.isNotify()

isChildren

public boolean isChildren()

Specified by:
isChildren in interface GenFeature
Returns:
the value of the 'Children' attribute.
See Also:
GenFeature.setChildren(boolean), GenModelPackage.getGenFeature_Children()

setChildren

public void setChildren(boolean newChildren)

Specified by:
setChildren in interface GenFeature
Parameters:
newChildren - the new value of the 'Children' attribute.
See Also:
GenFeature.isChildren()

isCreateChild

public boolean isCreateChild()
Description copied from interface: GenFeature
Returns the value of the 'Create Child' attribute.

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.

Specified by:
isCreateChild in interface GenFeature
Returns:
the value of the 'Create Child' attribute.
See Also:
GenFeature.isSetCreateChild(), GenFeature.unsetCreateChild(), GenFeature.setCreateChild(boolean), GenModelPackage.getGenFeature_CreateChild()

isCreateChildGen

public boolean isCreateChildGen()


setCreateChild

public void setCreateChild(boolean newCreateChild)

Specified by:
setCreateChild in interface GenFeature
Parameters:
newCreateChild - the new value of the 'Create Child' attribute.
See Also:
GenFeature.isSetCreateChild(), GenFeature.unsetCreateChild(), GenFeature.isCreateChild()

unsetCreateChild

public void unsetCreateChild()

Specified by:
unsetCreateChild in interface GenFeature
See Also:
GenFeature.isSetCreateChild(), GenFeature.isCreateChild(), GenFeature.setCreateChild(boolean)

isSetCreateChild

public boolean isSetCreateChild()
Set from children if necessary, and return true.

Specified by:
isSetCreateChild in interface GenFeature
Returns:
whether the value of the 'Create Child' attribute is set.
See Also:
GenFeature.unsetCreateChild(), GenFeature.isCreateChild(), GenFeature.setCreateChild(boolean)

isSetCreateChildGen

public boolean isSetCreateChildGen()


getPropertyCategory

public String getPropertyCategory()

Specified by:
getPropertyCategory in interface GenFeature
Returns:
the value of the 'Property Category' attribute.
See Also:
GenFeature.setPropertyCategory(String), GenModelPackage.getGenFeature_PropertyCategory()

setPropertyCategory

public void setPropertyCategory(String newPropertyCategory)

Specified by:
setPropertyCategory in interface GenFeature
Parameters:
newPropertyCategory - the new value of the 'Property Category' attribute.
See Also:
GenFeature.getPropertyCategory()

getPropertyFilterFlags

public EList getPropertyFilterFlags()

Specified by:
getPropertyFilterFlags in interface GenFeature
Returns:
the value of the 'Property Filter Flags' attribute list.
See Also:
GenModelPackage.getGenFeature_PropertyFilterFlags()

getPropertyDescription

public String getPropertyDescription()

Specified by:
getPropertyDescription in interface GenFeature
Returns:
the value of the 'Property Description' attribute.
See Also:
GenFeature.setPropertyDescription(String), GenModelPackage.getGenFeature_PropertyDescription()

setPropertyDescription

public void setPropertyDescription(String newPropertyDescription)

Specified by:
setPropertyDescription in interface GenFeature
Parameters:
newPropertyDescription - the new value of the 'Property Description' attribute.
See Also:
GenFeature.getPropertyDescription()

isPropertyMultiLine

public boolean isPropertyMultiLine()

Specified by:
isPropertyMultiLine in interface GenFeature
Returns:
the value of the 'Property Multi Line' attribute.
See Also:
GenFeature.setPropertyMultiLine(boolean), GenModelPackage.getGenFeature_PropertyMultiLine()

setPropertyMultiLine

public void setPropertyMultiLine(boolean newPropertyMultiLine)

Specified by:
setPropertyMultiLine in interface GenFeature
Parameters:
newPropertyMultiLine - the new value of the 'Property Multi Line' attribute.
See Also:
GenFeature.isPropertyMultiLine()

isPropertySortChoices

public boolean isPropertySortChoices()

Specified by:
isPropertySortChoices in interface GenFeature
Returns:
the value of the 'Property Sort Choices' attribute.
See Also:
GenFeature.setPropertySortChoices(boolean), GenModelPackage.getGenFeature_PropertySortChoices()

setPropertySortChoices

public void setPropertySortChoices(boolean newPropertySortChoices)

Specified by:
setPropertySortChoices in interface GenFeature
Parameters:
newPropertySortChoices - the new value of the 'Property Sort Choices' attribute.
See Also:
GenFeature.isPropertySortChoices()

autoSetCreateChild

protected void autoSetCreateChild()

getGenClass

public GenClass getGenClass()

Specified by:
getGenClass in interface GenFeature
Returns:
the value of the 'Gen Class' container reference.
See Also:
GenFeature.setGenClass(GenClass), GenModelPackage.getGenFeature_GenClass(), GenClass.getGenFeatures()

basicSetGenClass

public NotificationChain basicSetGenClass(GenClass newGenClass,
                                          NotificationChain msgs)


setGenClass

public void setGenClass(GenClass newGenClass)

Specified by:
setGenClass in interface GenFeature
Parameters:
newGenClass - the new value of the 'Gen Class' container reference.
See Also:
GenFeature.getGenClass()

getEcoreFeature

public EStructuralFeature getEcoreFeature()

Specified by:
getEcoreFeature in interface GenFeature
Returns:
the value of the 'Ecore Feature' reference.
See Also:
GenFeature.setEcoreFeature(EStructuralFeature), GenModelPackage.getGenFeature_EcoreFeature()

basicGetEcoreFeature

public EStructuralFeature basicGetEcoreFeature()


setEcoreFeature

public void setEcoreFeature(EStructuralFeature newEcoreFeature)

Specified by:
setEcoreFeature in interface GenFeature
Parameters:
newEcoreFeature - the new value of the 'Ecore Feature' reference.
See Also:
GenFeature.getEcoreFeature()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class GenBaseImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class GenBaseImpl

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class BasicEObjectImpl

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class GenBaseImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class GenBaseImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class GenBaseImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class GenBaseImpl

toString

public String toString()

Overrides:
toString in class BasicEObjectImpl

getEcoreTypedElement

public ETypedElement getEcoreTypedElement()
Specified by:
getEcoreTypedElement in class GenTypedElementImpl

getName

public String getName()
Specified by:
getName in interface GenFeature
Specified by:
getName in class GenBaseImpl

getCapName

public String getCapName()
Specified by:
getCapName in interface GenFeature

getAccessorName

public String getAccessorName()
Specified by:
getAccessorName in interface GenFeature

getGetArrayAccessor

public String getGetArrayAccessor()
Specified by:
getGetArrayAccessor in interface GenFeature

getGetAccessor

public String getGetAccessor()
Specified by:
getGetAccessor in interface GenFeature

getSafeName

public String getSafeName()
Specified by:
getSafeName in interface GenFeature

getSafeNameAsEObject

public String getSafeNameAsEObject()
Specified by:
getSafeNameAsEObject in interface GenFeature

getFormattedName

public String getFormattedName()
Specified by:
getFormattedName in interface GenFeature

getUpperName

public String getUpperName()
Specified by:
getUpperName in interface GenFeature

getUncapName

public String getUncapName()
Specified by:
getUncapName in interface GenFeature

getIsName

public String getIsName()
Specified by:
getIsName in interface GenFeature

getGenPackage

public GenPackage getGenPackage()
Specified by:
getGenPackage in interface GenFeature

getFeatureAccessorName

public String getFeatureAccessorName()
Specified by:
getFeatureAccessorName in interface GenFeature

getQualifiedFeatureAccessorName

public String getQualifiedFeatureAccessorName()
Specified by:
getQualifiedFeatureAccessorName in interface GenFeature

getQualifiedFeatureAccessor

public String getQualifiedFeatureAccessor()
Specified by:
getQualifiedFeatureAccessor in interface GenFeature

getMetaType

public String getMetaType()
Specified by:
getMetaType in interface GenFeature

getImportedMetaType

public String getImportedMetaType()
Specified by:
getImportedMetaType in interface GenFeature

getFeatureKind

public String getFeatureKind()
Specified by:
getFeatureKind in interface GenFeature

isReferenceType

public boolean isReferenceType()
Specified by:
isReferenceType in interface GenFeature

isEObjectExtensionType

protected boolean isEObjectExtensionType()
Overrides:
isEObjectExtensionType in class GenTypedElementImpl

isEObjectType

protected boolean isEObjectType()
Overrides:
isEObjectType in class GenTypedElementImpl

isMapType

public boolean isMapType()
Specified by:
isMapType in interface GenTypedElement
Overrides:
isMapType in class GenTypedElementImpl

isFlag

public boolean isFlag()
Specified by:
isFlag in interface GenFeature

isESetFlag

public boolean isESetFlag()
Specified by:
isESetFlag in interface GenFeature

isSetDefaultValue

public boolean isSetDefaultValue()
Specified by:
isSetDefaultValue in interface GenFeature

getDefaultValue

public String getDefaultValue()
Specified by:
getDefaultValue in interface GenFeature

getStaticDefaultValue

public String getStaticDefaultValue()
Specified by:
getStaticDefaultValue in interface GenFeature

isMapEntryFeature

protected boolean isMapEntryFeature()

isContainer

public boolean isContainer()
Specified by:
isContainer in interface GenFeature

isContains

public boolean isContains()
Specified by:
isContains in interface GenFeature

isBidirectional

public boolean isBidirectional()
Specified by:
isBidirectional in interface GenFeature

getReverse

public GenFeature getReverse()
Specified by:
getReverse in interface GenFeature

getContainerClass

public String getContainerClass()
Specified by:
getContainerClass in interface GenFeature

getDerivedFlag

public String getDerivedFlag()
Specified by:
getDerivedFlag in interface GenFeature

getTransientFlag

public String getTransientFlag()
Specified by:
getTransientFlag in interface GenFeature

getVolatileFlag

public String getVolatileFlag()
Specified by:
getVolatileFlag in interface GenFeature

getChangeableFlag

public String getChangeableFlag()
Specified by:
getChangeableFlag in interface GenFeature

getUnsettableFlag

public String getUnsettableFlag()
Specified by:
getUnsettableFlag in interface GenFeature

getIDFlag

public String getIDFlag()
Specified by:
getIDFlag in interface GenFeature

getContainmentFlag

public String getContainmentFlag()
Specified by:
getContainmentFlag in interface GenFeature

getResolveProxiesFlag

public String getResolveProxiesFlag()
Specified by:
getResolveProxiesFlag in interface GenFeature

isResolveProxies

public boolean isResolveProxies()
Specified by:
isResolveProxies in interface GenFeature

isVolatile

public boolean isVolatile()
Specified by:
isVolatile in interface GenFeature

isChangeable

public boolean isChangeable()
Specified by:
isChangeable in interface GenFeature

isUnsettable

public boolean isUnsettable()
Specified by:
isUnsettable in interface GenFeature

isID

public boolean isID()
Specified by:
isID in interface GenFeature

isDerived

public boolean isDerived()
Specified by:
isDerived in interface GenFeature

hasDelegateFeature

public boolean hasDelegateFeature()
Specified by:
hasDelegateFeature in interface GenFeature

getDelegateFeature

public GenFeature getDelegateFeature()
Specified by:
getDelegateFeature in interface GenFeature

getDelegatedFeatures

public List getDelegatedFeatures()
It considers mixed types, model groups, subsitution groups and wildcards.

Specified by:
getDelegatedFeatures in interface GenFeature

getCreateChildValueLiteral

public String getCreateChildValueLiteral()
Specified by:
getCreateChildValueLiteral in interface GenFeature

isSuppressedGetVisibility

public boolean isSuppressedGetVisibility()
Specified by:
isSuppressedGetVisibility in interface GenFeature

isSuppressedSetVisibility

public boolean isSuppressedSetVisibility()
Specified by:
isSuppressedSetVisibility in interface GenFeature

isSuppressedIsSetVisibility

public boolean isSuppressedIsSetVisibility()
Specified by:
isSuppressedIsSetVisibility in interface GenFeature

isSuppressedUnsetVisibility

public boolean isSuppressedUnsetVisibility()
Specified by:
isSuppressedUnsetVisibility in interface GenFeature

initialize

public void initialize(EStructuralFeature eFeature)
Specified by:
initialize in interface GenFeature

getModelInfo

public String getModelInfo()
Specified by:
getModelInfo in interface GenFeature
Overrides:
getModelInfo in class GenBaseImpl

getQualifiedModelInfo

public String getQualifiedModelInfo()
Specified by:
getQualifiedModelInfo in interface GenFeature

getModelInfo

public String getModelInfo(boolean qualified)

getPropertyImageName

public String getPropertyImageName()
Specified by:
getPropertyImageName in interface GenFeature

reconcile

public boolean reconcile(GenFeature oldGenFeatureVersion)
Specified by:
reconcile in interface GenFeature

reconcileSettings

protected void reconcileSettings(GenFeature oldGenFeatureVersion)

reconcile

public boolean reconcile()
Specified by:
reconcile in interface GenBase

isField

public boolean isField()
Specified by:
isField in interface GenFeature

isESetField

public boolean isESetField()
Specified by:
isESetField in interface GenFeature

isGet

public boolean isGet()
Specified by:
isGet in interface GenFeature

isBasicGet

public boolean isBasicGet()
Specified by:
isBasicGet in interface GenFeature

isBasicSet

public boolean isBasicSet()
Specified by:
isBasicSet in interface GenFeature

isSet

public boolean isSet()
Specified by:
isSet in interface GenFeature

isBasicUnset

public boolean isBasicUnset()
Specified by:
isBasicUnset in interface GenFeature

isUnset

public boolean isUnset()
Specified by:
isUnset in interface GenFeature

isIsSet

public boolean isIsSet()
Specified by:
isIsSet in interface GenFeature

isEffectiveContains

public boolean isEffectiveContains()
Specified by:
isEffectiveContains in interface GenFeature

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.