| Package | Description |
|---|---|
| org.eclipse.emf.ecore |
Provides an API for the Ecore dialect of
UML.
|
| org.eclipse.emf.ecore.impl |
Provides an implementation of Ecore.
|
| org.eclipse.emf.ecore.util |
Provides utilities.
|
| Modifier and Type | Method and Description |
|---|---|
EGenericType |
EcoreFactory.createEGenericType()
Returns a new object of class 'EGeneric Type'.
|
EGenericType |
ETypedElement.getEGenericType()
Returns the value of the 'EGeneric Type' containment reference.
|
EGenericType |
EGenericType.getELowerBound()
Returns the value of the 'ELower Bound' containment reference.
|
EGenericType |
EGenericType.getEUpperBound()
Returns the value of the 'EUpper Bound' containment reference.
|
EGenericType |
EClass.getFeatureType(EStructuralFeature feature)
Returns the generic type representing the effective
reified type of the feature in the context of this specific class. |
| Modifier and Type | Method and Description |
|---|---|
void |
ETypedElement.setEGenericType(EGenericType value)
Sets the value of the '
EGeneric Type' containment reference. |
void |
EGenericType.setELowerBound(EGenericType value)
Sets the value of the '
ELower Bound' containment reference. |
void |
EGenericType.setEUpperBound(EGenericType value)
Sets the value of the '
EUpper Bound' containment reference. |
| Modifier and Type | Class and Description |
|---|---|
class |
EGenericTypeImpl
An implementation of the model object 'EGeneric Type'.
|
| Modifier and Type | Field and Description |
|---|---|
protected EGenericType[] |
EClassImpl.eAllStructuralFeatureTypes |
protected EGenericType |
ETypedElementImpl.eGenericType
The cached value of the '
EGeneric Type' containment reference. |
protected EGenericType |
EGenericTypeImpl.eLowerBound
The cached value of the '
ELower Bound' containment reference. |
protected EGenericType |
EGenericTypeImpl.eUpperBound
The cached value of the '
EUpper Bound' containment reference. |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<EGenericType> |
ETypeParameterImpl.eGenericTypes
The cached set of all generic types that reference this type parameter.
|
| Modifier and Type | Method and Description |
|---|---|
protected EGenericType |
EcorePackageImpl.createEGenericType() |
EGenericType |
EcoreFactoryImpl.createEGenericType() |
protected EGenericType |
EPackageImpl.createEGenericType() |
protected EGenericType |
EPackageImpl.createEGenericType(EClassifier eClassifier) |
protected EGenericType |
EPackageImpl.createEGenericType(ETypeParameter eTypeParameter) |
EGenericType |
ETypedElementImpl.getEGenericType() |
EGenericType |
EGenericTypeImpl.getELowerBound() |
EGenericType |
EGenericTypeImpl.getEUpperBound() |
EGenericType |
EClassImpl.getFeatureType(EStructuralFeature feature) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<EGenericType> |
ETypeParameterImpl.getEGenericTypes() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
EPackageImpl.addEException(EOperation owner,
EGenericType exception) |
protected void |
EPackageImpl.addEParameter(EOperation owner,
EGenericType type,
java.lang.String name,
int lowerBound,
int upperBound)
Deprecated.
|
protected void |
EPackageImpl.addEParameter(EOperation owner,
EGenericType type,
java.lang.String name,
int lowerBound,
int upperBound,
boolean isUnique,
boolean isOrdered) |
NotificationChain |
ETypedElementImpl.basicSetEGenericType(EGenericType newEGenericType,
NotificationChain msgs) |
NotificationChain |
EGenericTypeImpl.basicSetELowerBound(EGenericType newELowerBound,
NotificationChain msgs) |
NotificationChain |
EGenericTypeImpl.basicSetEUpperBound(EGenericType newEUpperBound,
NotificationChain msgs) |
protected EAttribute |
EPackageImpl.initEAttribute(EAttribute a,
EGenericType type,
java.lang.String name,
java.lang.String defaultValue,
int lowerBound,
int upperBound,
java.lang.Class<?> containerClass,
boolean isTransient,
boolean isVolatile,
boolean isChangeable,
boolean isUnsettable,
boolean isID,
boolean isUnique,
boolean isDerived,
boolean isOrdered) |
protected void |
EPackageImpl.initEOperation(EOperation eOperation,
EGenericType eGenericType) |
protected EReference |
EPackageImpl.initEReference(EReference r,
EGenericType type,
EReference otherEnd,
java.lang.String name,
java.lang.String defaultValue,
int lowerBound,
int upperBound,
java.lang.Class<?> containerClass,
boolean isTransient,
boolean isVolatile,
boolean isChangeable,
boolean isContainment,
boolean isResolveProxies,
boolean isUnsettable,
boolean isUnique,
boolean isDerived,
boolean isOrdered) |
protected static boolean |
EGenericTypeImpl.isCompatibleArgument(EGenericType instanceETypeArgument,
EGenericType eTypeArgument) |
protected static boolean |
EGenericTypeImpl.isEqualArgument(EGenericType eGenericType1,
EGenericType eGenericType2) |
void |
ETypedElementImpl.setEGenericType(EGenericType newEGenericType) |
NotificationChain |
ETypedElementImpl.setEGenericType(EGenericType newEGenericType,
NotificationChain msgs) |
void |
EGenericTypeImpl.setELowerBound(EGenericType newELowerBound) |
void |
EGenericTypeImpl.setEUpperBound(EGenericType newEUpperBound) |
| Modifier and Type | Method and Description |
|---|---|
EGenericType |
EcoreValidator.EGenericTypeBuilder.buildEGenericType(java.lang.String instanceTypeName)
Parses an instance type name and returns its representation as an
generic type. |
static EGenericType |
EcoreUtil.getReifiedType(EClass eClass,
EGenericType eGenericType) |
protected EGenericType |
EcoreValidator.EGenericTypeBuilder.handleInstanceTypeName(char[] instanceTypeName,
int start,
int end,
DiagnosticChain diagnostics)
A well formed instance type name must syntactically denote a valid Java type name;
names denoting keywords are considered well formed.
|
protected EGenericType |
EcoreValidator.EGenericTypeBuilder.handleTypeArgument(char[] instanceTypeName,
int start,
int end,
DiagnosticChain diagnostics)
A well formed type argument must denote a valid Java type argument.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<EGenericType> |
EcoreValidator.EGenericTypeBuilder.buildEGenericTypes(java.lang.String typeArgumentList)
Parses a list of type arguments and returns its representation as a list of
type arguments. |
protected java.util.List<EGenericType> |
EcoreValidator.EGenericTypeBuilder.handleTypeArguments(char[] instanceTypeName,
int start,
int end,
DiagnosticChain diagnostics)
Well formed type arguments must syntactically denote a comma separated sequence of
well formed type arguments. |
| Modifier and Type | Method and Description |
|---|---|
T |
EcoreSwitch.caseEGenericType(EGenericType object)
Returns the result of interpreting the object as an instance of 'EGeneric Type'.
|
void |
EcoreUtil.EGenericTypeConverter.convertJavaInstanceTypeName(java.lang.StringBuilder result,
EGenericType eGenericType)
Converts a generic type to its Java representation in the result.
|
static EGenericType |
EcoreUtil.getReifiedType(EClass eClass,
EGenericType eGenericType) |
static boolean |
EcoreValidator.isBounded(EGenericType eGenericType,
EGenericType eBound,
java.util.Map<? extends ETypeParameter,? extends EGenericType> substitutions)
Returns whether the first generic type is bounded by the second.
|
static boolean |
EcoreValidator.isMatching(EGenericType eGenericType,
EGenericType eBound,
java.util.Map<? extends ETypeParameter,? extends EGenericType> substitutions) |
protected boolean |
EcoreValidator.isValidSubstitution(EGenericType eTypeArgument,
ETypeParameter eTypeParameter,
java.util.Map<ETypeParameter,EGenericType> substitutions)
Returns whether the generic type argument is a valid substitution for the type parameter.
|
static java.lang.String |
EcoreUtil.toJavaInstanceTypeName(EGenericType eGenericType)
Converts a generic type to its Java representation.
|
java.lang.String |
EcoreUtil.EGenericTypeConverter.toJavaInstanceTypeName(EGenericType eGenericType)
Converts a generic type to its Java representation.
|
boolean |
EcoreValidator.validateEGenericType_ConsistentArguments(EGenericType eGenericType,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the ConsistentArguments constraint of 'EGeneric Type'.
|
boolean |
EcoreValidator.validateEGenericType_ConsistentBounds(EGenericType eGenericType,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the ConsistentBounds constraint of 'EGeneric Type'.
|
boolean |
EcoreValidator.validateEGenericType_ConsistentType(EGenericType eGenericType,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the ConsistentType constraint of 'EGeneric Type'.
|
boolean |
EcoreValidator.validateEGenericType(EGenericType eGenericType,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
EcoreValidator.equalTypeArguments(<any> eTypeArguments1,
<any> eTypeArguments2,
java.util.Map<? extends ETypeParameter,? extends EGenericType> substitutions) |
static boolean |
EcoreValidator.isBounded(EGenericType eGenericType,
EGenericType eBound,
java.util.Map<? extends ETypeParameter,? extends EGenericType> substitutions)
Returns whether the first generic type is bounded by the second.
|
static boolean |
EcoreValidator.isMatching(EGenericType eGenericType,
EGenericType eBound,
java.util.Map<? extends ETypeParameter,? extends EGenericType> substitutions) |
protected boolean |
EcoreValidator.isValidSubstitution(EGenericType eTypeArgument,
ETypeParameter eTypeParameter,
java.util.Map<ETypeParameter,EGenericType> substitutions)
Returns whether the generic type argument is a valid substitution for the type parameter.
|
static boolean |
EcoreValidator.matchingTypeArguments(<any> eTypeArguments1,
<any> eTypeArguments2,
java.util.Map<? extends ETypeParameter,? extends EGenericType> substitutions) |
Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature