org.eclipse.uml2.codegen.ecore
Class Generator

java.lang.Object
  extended byorg.eclipse.emf.codegen.CodeGen
      extended byorg.eclipse.emf.codegen.ecore.Generator
          extended byorg.eclipse.uml2.codegen.ecore.Generator

public class Generator
extends Generator


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.codegen.ecore.Generator
Generator.PlatformRunnable
 
Nested classes inherited from class org.eclipse.emf.codegen.CodeGen
CodeGen.StreamProgressMonitor
 
Field Summary
static String ANNOTATION_SOURCE__DUPLICATES
           
static String ANNOTATION_SOURCE__REDEFINES
           
static String ANNOTATION_SOURCE__SUBSETS
           
static String ANNOTATION_SOURCE__UNION
           
 
Fields inherited from class org.eclipse.emf.codegen.ecore.Generator
basePackage, EMF_EDIT_PROJECT_STYLE, EMF_EDITOR_PROJECT_STYLE, EMF_EMPTY_PROJECT_STYLE, EMF_MODEL_PROJECT_STYLE, EMF_PLUGIN_PROJECT_STYLE, EMF_TESTS_PROJECT_STYLE, EMF_XML_PROJECT_STYLE
 
Constructor Summary
Generator()
           
 
Method Summary
static List getDuplicateEcoreFeatures(EClass eClass)
           
static List getDuplicateEcoreOperations(EClass eClass)
           
static EClass getEcoreContainingClass(EOperation eOperation)
           
static EClass getEcoreContainingClass(EStructuralFeature eStructuralFeature)
           
static List getRedefinedEcoreFeatures(EStructuralFeature eStructuralFeature)
           
static List getRedefinedEcoreFeatures(EStructuralFeature eStructuralFeature, boolean recurse)
           
static List getRedefinedEcoreOperations(EOperation eOperation)
           
static List getRedefinedEcoreOperations(EOperation eOperation, boolean recurse)
           
static List getSubsettedEcoreFeatures(EStructuralFeature eStructuralFeature)
           
static List getSubsettedEcoreFeatures(EStructuralFeature eStructuralFeature, boolean recurse)
           
static boolean isDuplicate(EOperation eOperation)
           
static boolean isDuplicate(EStructuralFeature eStructuralFeature)
           
static boolean isRedefinition(EOperation eOperation)
           
static boolean isRedefinition(EStructuralFeature eStructuralFeature)
           
static boolean isSubset(EStructuralFeature eStructuralFeature)
           
static boolean isUnion(EStructuralFeature eStructuralFeature)
           
static String pluralize(String name)
           
 
Methods inherited from class org.eclipse.emf.codegen.ecore.Generator
createEMFProject, createEMFProject, createEMFProject, createEMFProject, findOrCreateContainerHelper, main, printGenerateUsage, printStatus, run, setSDODefaults
 
Methods inherited from class org.eclipse.emf.codegen.CodeGen
addClasspathEntries, addClasspathEntries, findOrCreateContainer, findOrCreateContainer, getClasspathPaths
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANNOTATION_SOURCE__REDEFINES

public static final String ANNOTATION_SOURCE__REDEFINES
See Also:
Constant Field Values

ANNOTATION_SOURCE__SUBSETS

public static final String ANNOTATION_SOURCE__SUBSETS
See Also:
Constant Field Values

ANNOTATION_SOURCE__UNION

public static final String ANNOTATION_SOURCE__UNION
See Also:
Constant Field Values

ANNOTATION_SOURCE__DUPLICATES

public static final String ANNOTATION_SOURCE__DUPLICATES
See Also:
Constant Field Values
Constructor Detail

Generator

public Generator()
Method Detail

isRedefinition

public static boolean isRedefinition(EStructuralFeature eStructuralFeature)

isRedefinition

public static boolean isRedefinition(EOperation eOperation)

getRedefinedEcoreFeatures

public static List getRedefinedEcoreFeatures(EStructuralFeature eStructuralFeature)

getRedefinedEcoreFeatures

public static List getRedefinedEcoreFeatures(EStructuralFeature eStructuralFeature,
                                             boolean recurse)

getRedefinedEcoreOperations

public static List getRedefinedEcoreOperations(EOperation eOperation)

getRedefinedEcoreOperations

public static List getRedefinedEcoreOperations(EOperation eOperation,
                                               boolean recurse)

isSubset

public static boolean isSubset(EStructuralFeature eStructuralFeature)

getSubsettedEcoreFeatures

public static List getSubsettedEcoreFeatures(EStructuralFeature eStructuralFeature)

getSubsettedEcoreFeatures

public static List getSubsettedEcoreFeatures(EStructuralFeature eStructuralFeature,
                                             boolean recurse)

isUnion

public static boolean isUnion(EStructuralFeature eStructuralFeature)

isDuplicate

public static boolean isDuplicate(EStructuralFeature eStructuralFeature)

isDuplicate

public static boolean isDuplicate(EOperation eOperation)

getDuplicateEcoreFeatures

public static List getDuplicateEcoreFeatures(EClass eClass)

getDuplicateEcoreOperations

public static List getDuplicateEcoreOperations(EClass eClass)

getEcoreContainingClass

public static EClass getEcoreContainingClass(EStructuralFeature eStructuralFeature)

getEcoreContainingClass

public static EClass getEcoreContainingClass(EOperation eOperation)

pluralize

public static String pluralize(String name)

Copyright 2003, 2006 IBM Corporation and others.
All Rights Reserved.