|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GenFeature
A representation of the model object 'Gen Feature'.
The following features are supported:
Property
Notify
Children
Create Child
Property Category
Property Filter Flags
Property Description
Property Multi Line
Property Sort Choices
Gen Class
Ecore Feature
GenModelPackage.getGenFeature()
Method Summary | |
---|---|
java.lang.String |
getAccessorName()
|
java.lang.String |
getCapName()
|
java.lang.String |
getChangeableFlag()
|
java.lang.String |
getContainerClass()
|
java.lang.String |
getContainmentFlag()
|
java.lang.String |
getCreateChildValueLiteral()
|
java.lang.String |
getDefaultValue()
|
java.util.List<GenFeature> |
getDelegatedFeatures()
|
java.util.List<GenFeature> |
getDelegatedFeatures(GenModel genModel)
|
GenFeature |
getDelegateFeature()
|
java.lang.String |
getDerivedFlag()
|
EStructuralFeature |
getEcoreFeature()
Returns the value of the 'Ecore Feature' reference |
java.lang.String |
getEDefault()
|
java.lang.String |
getFeatureAccessorName()
|
java.lang.String |
getFeatureKind()
|
java.lang.String |
getFormattedName()
|
GenClass |
getGenClass()
Returns the value of the 'Gen Class' container reference. |
GenPackage |
getGenPackage()
|
java.lang.String |
getGetAccessor()
|
java.lang.String |
getGetArrayAccessor()
|
java.lang.String |
getIDFlag()
|
java.lang.String |
getImportedMetaType()
|
java.lang.String |
getIsName()
|
java.util.List<GenFeature> |
getKeys()
|
java.lang.String |
getMetaType()
|
java.lang.String |
getModelInfo()
|
java.lang.String |
getName()
|
GenPropertyKind |
getProperty()
Returns the value of the 'Property' attribute. |
java.lang.String |
getPropertyCategory()
Returns the value of the 'Property Category' attribute |
java.lang.String |
getPropertyDescription()
Returns the value of the 'Property Description' attribute |
EList<java.lang.String> |
getPropertyFilterFlags()
Returns the value of the 'Property Filter Flags' attribute list. |
java.lang.String |
getPropertyImageName()
|
java.lang.String |
getQualifiedFeatureAccessor()
|
java.lang.String |
getQualifiedFeatureAccessorName()
|
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 |
getUncapName()
|
java.lang.String |
getUnsettableFlag()
|
java.lang.String |
getUpperName()
|
java.lang.String |
getVolatileFlag()
|
boolean |
hasDelegateFeature()
|
boolean |
hasEDefault()
|
void |
initialize(EStructuralFeature eFeature)
|
boolean |
isBasicGet()
|
boolean |
isBasicSet()
|
boolean |
isBasicUnset()
|
boolean |
isBidirectional()
|
boolean |
isChangeable()
|
boolean |
isChildren()
Returns the value of the 'Children' attribute |
boolean |
isContainer()
|
boolean |
isContains()
|
boolean |
isCreateChild()
Returns the value of the 'Create Child' attribute |
boolean |
isDerived()
|
boolean |
isEffectiveContains()
|
boolean |
isESetField()
|
boolean |
isESetFlag()
|
boolean |
isField()
|
boolean |
isFlag()
Deprecated. use GenClass.isFlag(org.eclipse.emf.codegen.ecore.genmodel.GenFeature) to correctly determine whether a feature is a flag |
boolean |
isGet()
|
boolean |
isID()
|
boolean |
isIsSet()
|
boolean |
isNotify()
Returns the value of the 'Notify' attribute. |
boolean |
isProperty()
|
boolean |
isPropertyMultiLine()
Returns the value of the 'Property Multi Line' attribute |
boolean |
isPropertySortChoices()
Returns the value of the 'Property Sort Choices' attribute |
boolean |
isReferenceType()
|
boolean |
isResolveProxies()
|
boolean |
isSet()
|
boolean |
isSetCreateChild()
Returns whether the value of the ' Create Child ' attribute is set |
boolean |
isSetDefaultValue()
|
boolean |
isSuppressedGetVisibility()
|
boolean |
isSuppressedIsSetVisibility()
|
boolean |
isSuppressedSetVisibility()
|
boolean |
isSuppressedUnsetVisibility()
|
boolean |
isTested()
Returns whether the test case will test this feature. |
boolean |
isUnset()
|
boolean |
isUnsettable()
|
boolean |
isVolatile()
|
boolean |
reconcile(GenFeature oldGenFeatureVersion)
|
void |
setChildren(boolean value)
Sets the value of the ' Children ' attribute |
void |
setCreateChild(boolean value)
Sets the value of the ' Create Child ' attribute |
void |
setEcoreFeature(EStructuralFeature value)
Sets the value of the ' Ecore Feature ' reference |
void |
setGenClass(GenClass value)
Sets the value of the ' Gen Class ' container reference |
void |
setNotify(boolean value)
Sets the value of the ' Notify ' attribute |
void |
setProperty(GenPropertyKind value)
Sets the value of the ' Property ' attribute |
void |
setPropertyCategory(java.lang.String value)
Sets the value of the ' Property Category ' attribute |
void |
setPropertyDescription(java.lang.String value)
Sets the value of the ' Property Description ' attribute |
void |
setPropertyMultiLine(boolean value)
Sets the value of the ' Property Multi Line ' attribute |
void |
setPropertySortChoices(boolean value)
Sets the value of the ' Property Sort Choices ' attribute |
void |
unsetCreateChild()
Unsets the value of the ' Create Child ' attribute |
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, getCopyright, getDocumentation, getGenAnnotation, getGenAnnotations, getGenModel, hasCopyright, hasDocumentation, reconcile, 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 |
Method Detail |
---|
GenPropertyKind getProperty()
GenPropertyKind
.
GenPropertyKind
,
setProperty(GenPropertyKind)
,
GenModelPackage.getGenFeature_Property()
void setProperty(GenPropertyKind value)
Property
' attribute.
value
- the new value of the 'Property' attribute.GenPropertyKind
,
getProperty()
boolean isNotify()
"true"
.
setNotify(boolean)
,
GenModelPackage.getGenFeature_Notify()
void setNotify(boolean value)
Notify
' attribute.
value
- the new value of the 'Notify' attribute.isNotify()
boolean isChildren()
setChildren(boolean)
,
GenModelPackage.getGenFeature_Children()
void setChildren(boolean value)
Children
' attribute.
value
- the new value of the 'Children' attribute.isChildren()
boolean isCreateChild()
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.
isSetCreateChild()
,
unsetCreateChild()
,
setCreateChild(boolean)
,
GenModelPackage.getGenFeature_CreateChild()
void setCreateChild(boolean value)
Create Child
' attribute.
value
- the new value of the 'Create Child' attribute.isSetCreateChild()
,
unsetCreateChild()
,
isCreateChild()
void unsetCreateChild()
Create Child
' attribute.
isSetCreateChild()
,
isCreateChild()
,
setCreateChild(boolean)
boolean isSetCreateChild()
Create Child
' attribute is set.
This always returns true. If the feature is unset, it will first be set based on the value of children
. This ensures that pre-2.0 models will upgrade themselves, and continue to behave as before
unsetCreateChild()
,
isCreateChild()
,
setCreateChild(boolean)
java.lang.String getPropertyCategory()
setPropertyCategory(String)
,
GenModelPackage.getGenFeature_PropertyCategory()
void setPropertyCategory(java.lang.String value)
Property Category
' attribute.
value
- the new value of the 'Property Category' attribute.getPropertyCategory()
EList<java.lang.String> getPropertyFilterFlags()
String
.
GenModelPackage.getGenFeature_PropertyFilterFlags()
java.lang.String getPropertyDescription()
setPropertyDescription(String)
,
GenModelPackage.getGenFeature_PropertyDescription()
void setPropertyDescription(java.lang.String value)
Property Description
' attribute.
value
- the new value of the 'Property Description' attribute.getPropertyDescription()
boolean isPropertyMultiLine()
setPropertyMultiLine(boolean)
,
GenModelPackage.getGenFeature_PropertyMultiLine()
void setPropertyMultiLine(boolean value)
Property Multi Line
' attribute.
value
- the new value of the 'Property Multi Line' attribute.isPropertyMultiLine()
boolean isPropertySortChoices()
setPropertySortChoices(boolean)
,
GenModelPackage.getGenFeature_PropertySortChoices()
void setPropertySortChoices(boolean value)
Property Sort Choices
' attribute.
value
- the new value of the 'Property Sort Choices' attribute.isPropertySortChoices()
GenClass getGenClass()
Gen Features
'.
setGenClass(GenClass)
,
GenModelPackage.getGenFeature_GenClass()
,
GenClass.getGenFeatures()
void setGenClass(GenClass value)
Gen Class
' container reference.
value
- the new value of the 'Gen Class' container reference.getGenClass()
EStructuralFeature getEcoreFeature()
setEcoreFeature(EStructuralFeature)
,
GenModelPackage.getGenFeature_EcoreFeature()
void setEcoreFeature(EStructuralFeature value)
Ecore Feature
' reference.
value
- the new value of the 'Ecore Feature' reference.getEcoreFeature()
java.lang.String getName()
java.lang.String getSafeName()
java.lang.String getSafeNameAsEObject()
java.lang.String getCapName()
java.lang.String getUncapName()
java.lang.String getUpperName()
java.lang.String getFormattedName()
java.lang.String getIsName()
java.lang.String getAccessorName()
java.lang.String getGetArrayAccessor()
java.lang.String getGetAccessor()
GenPackage getGenPackage()
java.lang.String getFeatureAccessorName()
java.lang.String getQualifiedFeatureAccessorName()
java.lang.String getQualifiedFeatureAccessor()
java.lang.String getMetaType()
java.lang.String getImportedMetaType()
java.lang.String getFeatureKind()
boolean isReferenceType()
@Deprecated boolean isFlag()
GenClass.isFlag(org.eclipse.emf.codegen.ecore.genmodel.GenFeature)
to correctly determine whether a feature is a flag
packed enums
is enabled for the model. This method still
returns false in that case.
boolean isESetFlag()
boolean isSetDefaultValue()
java.lang.String getDefaultValue()
java.lang.String getStaticDefaultValue()
boolean isContainer()
boolean isContains()
boolean isEffectiveContains()
boolean isBidirectional()
GenFeature getReverse()
java.util.List<GenFeature> getKeys()
java.lang.String getContainerClass()
java.lang.String getDerivedFlag()
java.lang.String getTransientFlag()
java.lang.String getVolatileFlag()
java.lang.String getChangeableFlag()
java.lang.String getUnsettableFlag()
java.lang.String getIDFlag()
java.lang.String getContainmentFlag()
java.lang.String getResolveProxiesFlag()
boolean isVolatile()
boolean isChangeable()
boolean isUnsettable()
boolean isID()
boolean isDerived()
boolean isResolveProxies()
boolean hasDelegateFeature()
GenFeature getDelegateFeature()
java.util.List<GenFeature> getDelegatedFeatures()
java.util.List<GenFeature> getDelegatedFeatures(GenModel genModel)
java.lang.String getCreateChildValueLiteral()
boolean isSuppressedGetVisibility()
boolean isSuppressedSetVisibility()
boolean isSuppressedIsSetVisibility()
boolean isSuppressedUnsetVisibility()
void initialize(EStructuralFeature eFeature)
java.lang.String getPropertyImageName()
java.lang.String getModelInfo()
java.lang.String getQualifiedModelInfo()
boolean isProperty()
boolean reconcile(GenFeature oldGenFeatureVersion)
boolean isField()
boolean isESetField()
boolean isGet()
boolean isBasicGet()
boolean isBasicSet()
boolean isSet()
boolean isBasicUnset()
boolean isUnset()
boolean isIsSet()
boolean hasEDefault()
java.lang.String getEDefault()
boolean isTested()
|
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 |