org.eclipse.gmf.codegen.gmfgen
Interface GenFeatureInitializer

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
GenFeatureValueSpec, GenReferenceNewElementSpec
All Known Implementing Classes:
GenFeatureValueSpecImpl, GenReferenceNewElementSpecImpl

public interface GenFeatureInitializer
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Gen Feature Initializer'.

The following features are supported:

See Also:
GMFGenPackage.getGenFeatureInitializer()
Generated
Model Properties:
interface="true" abstract="true"

Method Summary
 org.eclipse.emf.codegen.ecore.genmodel.GenFeature getFeature()
          Returns the value of the 'Feature' reference.
 GenFeatureSeqInitializer getFeatureSeqInitializer()
          Returns the value of the 'Feature Seq Initializer' container reference.
 void setFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature value)
          Sets the value of the 'Feature' reference.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getFeature

org.eclipse.emf.codegen.ecore.genmodel.GenFeature getFeature()
Returns the value of the 'Feature' reference. The feature for which is to be initialized by this initializer

Returns:
the value of the 'Feature' reference.
See Also:
setFeature(GenFeature), GMFGenPackage.getGenFeatureInitializer_Feature()
Generated
Model Properties:
required="true" annotation="http://www.eclipse.org/gmf/2005/constraints ocl='feature <> null implies not featureSeqInitializer.initializers->exists(i| i <> self and i.feature = self.feature)' description='The feature is already initialized by another \'GenFeatureInitializer\' in the sequence'" annotation="http://www.eclipse.org/gmf/2005/constraints ocl='feature <> null implies feature.ecoreFeature.eContainingClass.isSuperTypeOf(featureSeqInitializer.elementClass.ecoreClass)' description='The \'feature\' of \'GenFeatureInitializer\' must be available in \'Meta Class\' of the initialized element'"

setFeature

void setFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature value)
Sets the value of the 'Feature' reference.

Parameters:
value - the new value of the 'Feature' reference.
See Also:
getFeature()
Generated

getFeatureSeqInitializer

GenFeatureSeqInitializer getFeatureSeqInitializer()
Returns the value of the 'Feature Seq Initializer' container reference. It is bidirectional and its opposite is 'Initializers'.

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

Returns:
the value of the 'Feature Seq Initializer' container reference.
See Also:
GMFGenPackage.getGenFeatureInitializer_FeatureSeqInitializer(), GenFeatureSeqInitializer.getInitializers()
Generated
Model Properties:
opposite="initializers" resolveProxies="false" required="true" transient="false" changeable="false"


Copyright © 2012. All Rights Reserved.