org.eclipse.emf.codegen.ecore.genmodel
Interface GenFeature

All Superinterfaces:
EObject, GenBase, Notifier
All Known Implementing Classes:
GenFeatureImpl

public interface GenFeature
extends GenBase

A representation of the model object 'Gen Feature'.

The following features are supported:

See Also:
GenModelPackage.getGenFeature()

Method Summary
 java.lang.String getAccessorName()
           
 java.lang.String getCapName()
           
 java.lang.String getChangeableFlag()
           
 java.lang.String getContainmentFlag()
           
 java.lang.String getDefaultValue()
           
 EStructuralFeature getEcoreFeature()
          Returns the value of the 'Ecore Feature' reference.
 java.lang.String getFeatureAccessorName()
           
 java.lang.String getFeatureKind()
           
 java.lang.String getFormattedName()
           
 GenClass getGenClass()
          Returns the value of the 'Gen Class' container reference.
 GenDataType getGenDataTypeType()
           
 GenEnum getGenEnumType()
           
 GenPackage getGenPackage()
           
 java.lang.String getGetAccessor()
           
 java.lang.String getIDFlag()
           
 java.lang.String getImportedMetaType()
           
 java.lang.String getImportedType()
           
 java.lang.String getIsName()
           
 java.lang.String getListItemType()
           
 java.lang.String getLowerBound()
           
 GenClass getMapGenClass()
           
 java.lang.String getMapItemType()
           
 java.lang.String getMetaType()
           
 java.lang.String getModelInfo()
           
 java.lang.String getName()
           
 java.lang.String getObjectType()
           
 java.lang.String getPrimitiveValueFunction()
           
 GenPropertyKind getProperty()
          Returns the value of the 'Property' attribute.
 java.lang.String getPropertyImageName()
           
 java.lang.String getQualifiedListItemType()
           
 java.lang.String getQualifiedModelInfo()
           
 java.lang.String getResolveProxiesFlag()
           
 GenFeature getReverse()
           
 java.lang.String getSafeName()
           
 java.lang.String getStaticDefaultValue()
           
 java.lang.String getTransientFlag()
           
 java.lang.String getType()
           
 java.lang.String getTypeClassifier()
           
 GenPackage getTypeGenPackage()
           
 java.lang.String getUncapName()
           
 java.lang.String getUnsettableFlag()
           
 java.lang.String getUpperBound()
           
 java.lang.String getUpperName()
           
 java.lang.String getVolatileFlag()
           
 void initialize(EStructuralFeature eFeature)
           
 boolean isBidirectional()
           
 boolean isBooleanType()
           
 boolean isChangeable()
           
 boolean isChildren()
          Returns the value of the 'Children' attribute.
 boolean isContainer()
           
 boolean isContains()
           
 boolean isEnumType()
           
 boolean isID()
           
 boolean isListType()
           
 boolean isMapType()
           
 boolean isNotify()
          Returns the value of the 'Notify' attribute.
 boolean isPrimitiveType()
           
 boolean isProperty()
           
 boolean isReferenceType()
           
 boolean isResolveProxies()
           
 boolean isSetDefaultValue()
           
 boolean isStringType()
           
 boolean isUnique()
           
 boolean isUnsettable()
           
 boolean isVolatile()
           
 boolean reconcile(GenFeature oldGenFeatureVersion)
           
 void setChildren(boolean value)
          Sets the value of the 'Children' 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.
 
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase
canGenerate, canGenerateEdit, canGenerateEditor, capName, ePackageGenModel, format, generate, generateEdit, generateEditor, getGenModel, reconcile, safeName, uncapName, uncapPrefixedName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, 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

getProperty

public GenPropertyKind getProperty()
Returns the value of the 'Property' attribute. The literals are from the enumeration GenPropertyKind.

If the meaning of the 'Property' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Property' attribute.
See Also:
GenPropertyKind, setProperty(GenPropertyKind), GenModelPackage.getGenFeature_Property()

setProperty

public void setProperty(GenPropertyKind value)
Sets the value of the 'Property' attribute.
Parameters:
value - the new value of the 'Property' attribute.
See Also:
GenPropertyKind, getProperty()

isNotify

public boolean isNotify()
Returns the value of the 'Notify' attribute. The default value is "true".
Returns:
the value of the 'Notify' attribute.
See Also:
setNotify(boolean), GenModelPackage.getGenFeature_Notify()

setNotify

public void setNotify(boolean value)
Sets the value of the 'Notify' attribute.
Parameters:
value - the new value of the 'Notify' attribute.
See Also:
isNotify()

isChildren

public boolean isChildren()
Returns the value of the 'Children' attribute.
Returns:
the value of the 'Children' attribute.
See Also:
setChildren(boolean), GenModelPackage.getGenFeature_Children()

setChildren

public void setChildren(boolean value)
Sets the value of the 'Children' attribute.
Parameters:
value - the new value of the 'Children' attribute.
See Also:
isChildren()

getGenClass

public GenClass getGenClass()
Returns the value of the 'Gen Class' container reference. It is bidirectional and its opposite is 'Gen Features'.

If the meaning of the 'Gen Class' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Gen Class' container reference.
See Also:
setGenClass(GenClass), GenModelPackage.getGenFeature_GenClass(), GenClass.getGenFeatures()

setGenClass

public void setGenClass(GenClass value)
Sets the value of the 'Gen Class' container reference.
Parameters:
value - the new value of the 'Gen Class' container reference.
See Also:
getGenClass()

getEcoreFeature

public EStructuralFeature getEcoreFeature()
Returns the value of the 'Ecore Feature' reference.

If the meaning of the 'Ecore Feature' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ecore Feature' reference.
See Also:
setEcoreFeature(EStructuralFeature), GenModelPackage.getGenFeature_EcoreFeature()

setEcoreFeature

public void setEcoreFeature(EStructuralFeature value)
Sets the value of the 'Ecore Feature' reference.
Parameters:
value - the new value of the 'Ecore Feature' reference.
See Also:
getEcoreFeature()

getName

public java.lang.String getName()

getSafeName

public java.lang.String getSafeName()

getCapName

public java.lang.String getCapName()

getUncapName

public java.lang.String getUncapName()

getUpperName

public java.lang.String getUpperName()

getFormattedName

public java.lang.String getFormattedName()

getIsName

public java.lang.String getIsName()

getAccessorName

public java.lang.String getAccessorName()

getGetAccessor

public java.lang.String getGetAccessor()

getGenPackage

public GenPackage getGenPackage()

getFeatureAccessorName

public java.lang.String getFeatureAccessorName()

getMetaType

public java.lang.String getMetaType()

getImportedMetaType

public java.lang.String getImportedMetaType()

getFeatureKind

public java.lang.String getFeatureKind()

isReferenceType

public boolean isReferenceType()

getTypeClassifier

public java.lang.String getTypeClassifier()

getTypeGenPackage

public GenPackage getTypeGenPackage()

getType

public java.lang.String getType()

getImportedType

public java.lang.String getImportedType()

getObjectType

public java.lang.String getObjectType()

getQualifiedListItemType

public java.lang.String getQualifiedListItemType()

getListItemType

public java.lang.String getListItemType()

getMapGenClass

public GenClass getMapGenClass()

getMapItemType

public java.lang.String getMapItemType()

isSetDefaultValue

public boolean isSetDefaultValue()

getDefaultValue

public java.lang.String getDefaultValue()

getStaticDefaultValue

public java.lang.String getStaticDefaultValue()

isEnumType

public boolean isEnumType()

getGenEnumType

public GenEnum getGenEnumType()

getGenDataTypeType

public GenDataType getGenDataTypeType()

isBooleanType

public boolean isBooleanType()

isStringType

public boolean isStringType()

isListType

public boolean isListType()

isMapType

public boolean isMapType()

isContainer

public boolean isContainer()

isContains

public boolean isContains()

isBidirectional

public boolean isBidirectional()

getReverse

public GenFeature getReverse()

isPrimitiveType

public boolean isPrimitiveType()

getPrimitiveValueFunction

public java.lang.String getPrimitiveValueFunction()

getLowerBound

public java.lang.String getLowerBound()

getUpperBound

public java.lang.String getUpperBound()

getTransientFlag

public java.lang.String getTransientFlag()

getVolatileFlag

public java.lang.String getVolatileFlag()

getChangeableFlag

public java.lang.String getChangeableFlag()

getUnsettableFlag

public java.lang.String getUnsettableFlag()

getIDFlag

public java.lang.String getIDFlag()

getContainmentFlag

public java.lang.String getContainmentFlag()

getResolveProxiesFlag

public java.lang.String getResolveProxiesFlag()

isVolatile

public boolean isVolatile()

isChangeable

public boolean isChangeable()

isUnsettable

public boolean isUnsettable()

isID

public boolean isID()

isUnique

public boolean isUnique()

isResolveProxies

public boolean isResolveProxies()

initialize

public void initialize(EStructuralFeature eFeature)

getPropertyImageName

public java.lang.String getPropertyImageName()

getModelInfo

public java.lang.String getModelInfo()

getQualifiedModelInfo

public java.lang.String getQualifiedModelInfo()

isProperty

public boolean isProperty()

reconcile

public boolean reconcile(GenFeature oldGenFeatureVersion)

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