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

All Superinterfaces:
EObject, Notifier
All Known Subinterfaces:
GenAnnotation, GenClass, GenClassifier, GenDataType, GenEnum, GenEnumLiteral, GenFeature, GenModel, GenOperation, GenPackage, GenParameter, GenTypedElement
All Known Implementing Classes:
GenAnnotationImpl, GenBaseImpl, GenClassifierImpl, GenClassImpl, GenDataTypeImpl, GenEnumImpl, GenEnumLiteralImpl, GenFeatureImpl, GenModelImpl, GenOperationImpl, GenPackageImpl, GenParameterImpl, GenTypedElementImpl

public interface GenBase
extends EObject

A representation of the model object 'Gen Base'.

The following features are supported:

See Also:
GenModelPackage.getGenBase()

Method Summary
 boolean canGenerate()
           
 boolean canGenerateEdit()
           
 boolean canGenerateEditor()
           
 boolean canGenerateSchema()
           
 boolean canGenerateTests()
           
 String capName(String name)
           
 String format(String name, char separator, String prefix, boolean includePrefix)
          Deprecated. in 2.2. Please use CodeGenUtil.format(String, char, String, boolean, boolean) instead.
 void gen(Monitor progressMonitor)
           
 void genEdit(Monitor progressMonitor)
           
 void genEditor(Monitor progressMonitor)
           
 void generate(IProgressMonitor progressMonitor)
           
 void generate(Monitor progressMonitor)
           
 void generateEdit(IProgressMonitor progressMonitor)
           
 void generateEdit(Monitor progressMonitor)
           
 void generateEditor(IProgressMonitor progressMonitor)
           
 void generateEditor(Monitor progressMonitor)
           
 void generateSchema(IProgressMonitor progressMonitor)
           
 void generateSchema(Monitor progressMonitor)
           
 void generateTests(IProgressMonitor progressMonitor)
           
 void generateTests(Monitor progressMonitor)
           
 void genSchema(Monitor progressMonitor)
           
 void genTests(Monitor progressMonitor)
           
 String getDocumentation(String indentation)
           
 EModelElement getEcoreModelElement()
           
 GenAnnotation getGenAnnotation(String source)
           
 EList getGenAnnotations()
          Returns the value of the 'Gen Annotations' containment reference list.
 GenModel getGenModel()
           
 boolean hasDocumentation()
           
 boolean reconcile()
           
 String safeName(String name)
           
 String uncapName(String name)
           
 String uncapPrefixedName(String in)
           
 
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

getGenAnnotations

public EList getGenAnnotations()
Returns the value of the 'Gen Annotations' containment reference list. The list contents are of type GenAnnotation. It is bidirectional and its opposite is 'Gen Base'.

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

Returns:
the value of the 'Gen Annotations' containment reference list.
See Also:
GenModelPackage.getGenBase_GenAnnotations(), GenAnnotation.getGenBase()

getGenAnnotation

public GenAnnotation getGenAnnotation(String source)


getGenModel

public GenModel getGenModel()

capName

public String capName(String name)

uncapName

public String uncapName(String name)

uncapPrefixedName

public String uncapPrefixedName(String in)

safeName

public String safeName(String name)

format

public String format(String name,
                     char separator,
                     String prefix,
                     boolean includePrefix)
Deprecated. in 2.2. Please use CodeGenUtil.format(String, char, String, boolean, boolean) instead.


canGenerate

public boolean canGenerate()

generate

public void generate(Monitor progressMonitor)

gen

public void gen(Monitor progressMonitor)

generate

public void generate(IProgressMonitor progressMonitor)

canGenerateEdit

public boolean canGenerateEdit()

generateEdit

public void generateEdit(Monitor progressMonitor)

genEdit

public void genEdit(Monitor progressMonitor)

generateEdit

public void generateEdit(IProgressMonitor progressMonitor)

canGenerateEditor

public boolean canGenerateEditor()

generateEditor

public void generateEditor(Monitor progressMonitor)

genEditor

public void genEditor(Monitor progressMonitor)

generateEditor

public void generateEditor(IProgressMonitor progressMonitor)

canGenerateSchema

public boolean canGenerateSchema()

generateSchema

public void generateSchema(Monitor progressMonitor)

genSchema

public void genSchema(Monitor progressMonitor)

generateSchema

public void generateSchema(IProgressMonitor progressMonitor)

canGenerateTests

public boolean canGenerateTests()

generateTests

public void generateTests(Monitor progressMonitor)

genTests

public void genTests(Monitor progressMonitor)

generateTests

public void generateTests(IProgressMonitor progressMonitor)

reconcile

public boolean reconcile()

hasDocumentation

public boolean hasDocumentation()

getDocumentation

public String getDocumentation(String indentation)

getEcoreModelElement

public EModelElement getEcoreModelElement()

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