public final class MetamodelFactory extends Object
Constructor and Description |
---|
MetamodelFactory() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.emf.ecore.EAnnotation |
newEAnnotation(org.eclipse.emf.ecore.EModelElement eModelElement,
String source)
Create a new annotation in an element.
|
static org.eclipse.emf.ecore.EAttribute |
newEAttribute(org.eclipse.emf.ecore.EClass eClass,
String name,
org.eclipse.emf.ecore.EDataType type)
Create a new attribute in a class.
|
static org.eclipse.emf.ecore.EAttribute |
newEAttribute(org.eclipse.emf.ecore.EClass eClass,
String name,
org.eclipse.emf.ecore.EDataType type,
int lowerBound,
int upperBound)
Create a new attribute in a class.
|
static org.eclipse.emf.ecore.EAttribute |
newEAttribute(org.eclipse.emf.ecore.EClass eClass,
String name,
org.eclipse.emf.ecore.EDataType type,
int lowerBound,
int upperBound,
String defaultValue)
Create a new attribute in a class.
|
static org.eclipse.emf.ecore.EClass |
newEClass(org.eclipse.emf.ecore.EPackage ePackage,
String name)
Create a new class in a package.
|
static org.eclipse.emf.ecore.EClass |
newEClass(org.eclipse.emf.ecore.EPackage ePackage,
String name,
Collection<org.eclipse.emf.ecore.EClass> superClasses)
Create a new class in a package.
|
static org.eclipse.emf.ecore.EClass |
newEClass(org.eclipse.emf.ecore.EPackage ePackage,
String name,
Collection<org.eclipse.emf.ecore.EClass> superClasses,
boolean abstr)
Create a new class in a package.
|
static org.eclipse.emf.ecore.EClass |
newEClass(org.eclipse.emf.ecore.EPackage ePackage,
String name,
org.eclipse.emf.ecore.EClass superClass)
Create a new class in a package.
|
static org.eclipse.emf.ecore.EDataType |
newEDataType(org.eclipse.emf.ecore.EPackage ePackage,
String name,
String className)
Create a new data type in a package.
|
static org.eclipse.emf.ecore.EEnum |
newEEnum(org.eclipse.emf.ecore.EPackage ePackage,
String name)
Create a new enumeration in a package.
|
static org.eclipse.emf.ecore.EEnumLiteral |
newEEnumLiteral(org.eclipse.emf.ecore.EEnum eEnum,
String name)
Create a new literal in an enumeration.
|
static org.eclipse.emf.ecore.EOperation |
newEOperation(org.eclipse.emf.ecore.EClass eClass,
String name,
org.eclipse.emf.ecore.EClassifier type)
Create a new operation in a class.
|
static org.eclipse.emf.ecore.EOperation |
newEOperation(org.eclipse.emf.ecore.EClass eClass,
String name,
org.eclipse.emf.ecore.EClassifier type,
int lowerBound,
int upperBound)
Create a new operation in a class.
|
static org.eclipse.emf.ecore.EPackage |
newEPackage(org.eclipse.emf.ecore.EPackage ePackage,
String name,
String nsPrefix,
String nsURI)
Create a new package in a package.
|
static org.eclipse.emf.ecore.EParameter |
newEParameter(org.eclipse.emf.ecore.EOperation eOperation,
String name,
org.eclipse.emf.ecore.EClassifier type)
Create a new parameter in an operation.
|
static org.eclipse.emf.ecore.EParameter |
newEParameter(org.eclipse.emf.ecore.EOperation eOperation,
String name,
org.eclipse.emf.ecore.EClassifier type,
int lowerBound,
int upperBound)
Create a new parameter in an operation.
|
static org.eclipse.emf.ecore.EReference |
newEReference(org.eclipse.emf.ecore.EClass eClass,
String name,
org.eclipse.emf.ecore.EClass type)
Create a new reference in a class.
|
static org.eclipse.emf.ecore.EReference |
newEReference(org.eclipse.emf.ecore.EClass eClass,
String name,
org.eclipse.emf.ecore.EClass type,
int lowerBound,
int upperBound)
Create a new reference in a class.
|
static org.eclipse.emf.ecore.EReference |
newEReference(org.eclipse.emf.ecore.EClass eClass,
String name,
org.eclipse.emf.ecore.EClass type,
int lowerBound,
int upperBound,
boolean containment)
Create a new reference in a class.
|
static org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl |
newEStringToStringMapEntry(org.eclipse.emf.ecore.EAnnotation eAnnotation,
String key,
String value)
Create a new entry in an annotation.
|
public static org.eclipse.emf.ecore.EPackage newEPackage(org.eclipse.emf.ecore.EPackage ePackage, String name, String nsPrefix, String nsURI)
public static org.eclipse.emf.ecore.EClass newEClass(org.eclipse.emf.ecore.EPackage ePackage, String name, Collection<org.eclipse.emf.ecore.EClass> superClasses, boolean abstr)
public static org.eclipse.emf.ecore.EClass newEClass(org.eclipse.emf.ecore.EPackage ePackage, String name, Collection<org.eclipse.emf.ecore.EClass> superClasses)
public static org.eclipse.emf.ecore.EClass newEClass(org.eclipse.emf.ecore.EPackage ePackage, String name, org.eclipse.emf.ecore.EClass superClass)
public static org.eclipse.emf.ecore.EClass newEClass(org.eclipse.emf.ecore.EPackage ePackage, String name)
public static org.eclipse.emf.ecore.EEnum newEEnum(org.eclipse.emf.ecore.EPackage ePackage, String name)
public static org.eclipse.emf.ecore.EDataType newEDataType(org.eclipse.emf.ecore.EPackage ePackage, String name, String className)
public static org.eclipse.emf.ecore.EAttribute newEAttribute(org.eclipse.emf.ecore.EClass eClass, String name, org.eclipse.emf.ecore.EDataType type, int lowerBound, int upperBound, String defaultValue)
public static org.eclipse.emf.ecore.EAttribute newEAttribute(org.eclipse.emf.ecore.EClass eClass, String name, org.eclipse.emf.ecore.EDataType type)
public static org.eclipse.emf.ecore.EAttribute newEAttribute(org.eclipse.emf.ecore.EClass eClass, String name, org.eclipse.emf.ecore.EDataType type, int lowerBound, int upperBound)
public static org.eclipse.emf.ecore.EReference newEReference(org.eclipse.emf.ecore.EClass eClass, String name, org.eclipse.emf.ecore.EClass type, int lowerBound, int upperBound, boolean containment)
public static org.eclipse.emf.ecore.EReference newEReference(org.eclipse.emf.ecore.EClass eClass, String name, org.eclipse.emf.ecore.EClass type, int lowerBound, int upperBound)
public static org.eclipse.emf.ecore.EReference newEReference(org.eclipse.emf.ecore.EClass eClass, String name, org.eclipse.emf.ecore.EClass type)
public static org.eclipse.emf.ecore.EEnumLiteral newEEnumLiteral(org.eclipse.emf.ecore.EEnum eEnum, String name)
public static org.eclipse.emf.ecore.EOperation newEOperation(org.eclipse.emf.ecore.EClass eClass, String name, org.eclipse.emf.ecore.EClassifier type, int lowerBound, int upperBound)
public static org.eclipse.emf.ecore.EOperation newEOperation(org.eclipse.emf.ecore.EClass eClass, String name, org.eclipse.emf.ecore.EClassifier type)
public static org.eclipse.emf.ecore.EParameter newEParameter(org.eclipse.emf.ecore.EOperation eOperation, String name, org.eclipse.emf.ecore.EClassifier type, int lowerBound, int upperBound)
public static org.eclipse.emf.ecore.EParameter newEParameter(org.eclipse.emf.ecore.EOperation eOperation, String name, org.eclipse.emf.ecore.EClassifier type)
public static org.eclipse.emf.ecore.EAnnotation newEAnnotation(org.eclipse.emf.ecore.EModelElement eModelElement, String source)
Copyright © 2019. All rights reserved.