Generation Framework

org.eclipse.gmf.codegen.gmfgen
Interface GenFeatureSeqInitializer

All Superinterfaces:
EObject, GenElementInitializer, Notifier
All Known Implementing Classes:
GenFeatureSeqInitializerImpl

public interface GenFeatureSeqInitializer
extends GenElementInitializer

A representation of the model object 'Gen Feature Seq Initializer'. Feature sequence initializer

The following features are supported:

See Also:
GMFGenPackage.getGenFeatureSeqInitializer()
** Generated **
Model:

Method Summary
 java.util.List<GenFeatureSeqInitializer> getAllFeatureSeqInitializers()
           
 GenReferenceNewElementSpec getCreatingInitializer()
          Returns the value of the 'Creating Initializer' container reference.
 GenClass getElementClass()
          Returns the value of the 'Element Class' reference
 java.lang.String getElementClassAccessor(ImportAssistant importAssistant)
           
 java.lang.String getElementClassAccessorName()
          Gets the accessor name of this initializer's element class meta object within its package interface
 java.lang.String getElementQualifiedPackageInterfaceName()
          Gets the qualified name of the package interface which contains this initializer's element class meta object
 java.lang.String getFeatureAccessor(GenFeatureInitializer featureInitializer, ImportAssistant importAssistant)
           
 EList<GenFeatureInitializer> getInitializers()
          Returns the value of the 'Initializers' containment reference list.
 java.util.LinkedHashSet<GenFeatureValueSpec> getJavaExpressionFeatureInitializers(GenExpressionProviderContainer expressionProviders)
           
 void setElementClass(GenClass value)
          Sets the value of the 'Element Class' reference
 
Methods inherited from interface org.eclipse.gmf.codegen.gmfgen.GenElementInitializer
getInitializerFieldName, getTypeModelFacet
 
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

getInitializers

EList<GenFeatureInitializer> getInitializers()
Returns the value of the 'Initializers' containment reference list. The list contents are of type GenFeatureInitializer. It is bidirectional and its opposite is 'Feature Seq Initializer'. Value specifications as initializers for individual features which should be initialized in the order given by this list

Returns:
the value of the 'Initializers' containment reference list.
See Also:
GMFGenPackage.getGenFeatureSeqInitializer_Initializers(), GenFeatureInitializer.getFeatureSeqInitializer()
** Generated **
Model:
type="org.eclipse.gmf.codegen.gmfgen.GenFeatureInitializer" opposite="featureSeqInitializer" containment="true" required="true" annotation="http://www.eclipse.org/gmf/2005/constraints/meta def='context' ocl='self.elementClass'"

getElementClass

GenClass getElementClass()
Returns the value of the 'Element Class' reference.

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

Returns:
the value of the 'Element Class' reference.
See Also:
setElementClass(GenClass), GMFGenPackage.getGenFeatureSeqInitializer_ElementClass()
** Generated **
Model:
annotation="http://www.eclipse.org/gmf/2005/constraints ocl='not creatingInitializer.feature.oclIsUndefined() implies creatingInitializer.feature.ecoreFeature.oclAsType(ecore::EReference).eReferenceType.isSuperTypeOf(elementClass.ecoreClass)' description='\'elementClass\' must be the same as or sub-type of the containing \'GenReferenceNewElementSpec\' reference type'" annotation="http://www.eclipse.org/gmf/2005/constraints ocl='not creatingInitializer.feature.oclIsUndefined() implies not (elementClass.ecoreClass.interface or elementClass.ecoreClass.abstract)' description='\'elementClass\' must be a concrete EClass which is the same or sub-type of the containing \'GenReferenceNewElementSpec\' reference type'"

setElementClass

void setElementClass(GenClass value)
Sets the value of the 'Element Class' reference.

Parameters:
value - the new value of the 'Element Class' reference.
See Also:
getElementClass()
** Generated **

getCreatingInitializer

GenReferenceNewElementSpec getCreatingInitializer()
Returns the value of the 'Creating Initializer' container reference. It is bidirectional and its opposite is 'New Element Initializers'.

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

Returns:
the value of the 'Creating Initializer' container reference.
See Also:
GMFGenPackage.getGenFeatureSeqInitializer_CreatingInitializer(), GenReferenceNewElementSpec.getNewElementInitializers()
** Generated **
Model:
opposite="newElementInitializers" changeable="false"

getElementClassAccessorName

java.lang.String getElementClassAccessorName()
Gets the accessor name of this initializer's element class meta object within its package interface

** Generated **
Model:
kind="operation" required="true"

getElementQualifiedPackageInterfaceName

java.lang.String getElementQualifiedPackageInterfaceName()
Gets the qualified name of the package interface which contains this initializer's element class meta object

** Generated **
Model:
kind="operation" required="true"

getAllFeatureSeqInitializers

java.util.List<GenFeatureSeqInitializer> getAllFeatureSeqInitializers()

getFeatureAccessor

java.lang.String getFeatureAccessor(GenFeatureInitializer featureInitializer,
                                    ImportAssistant importAssistant)

getJavaExpressionFeatureInitializers

java.util.LinkedHashSet<GenFeatureValueSpec> getJavaExpressionFeatureInitializers(GenExpressionProviderContainer expressionProviders)

getElementClassAccessor

java.lang.String getElementClassAccessor(ImportAssistant importAssistant)

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.