|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EGenericType
A representation of the model object 'EGeneric Type'.
A generic type is analogous to Java 5.0 Type
.
It can represent a reference to a type parameter,
a reference to a classifier, along with optional type arguments if the classifier specify type parameters,
or a wildcard with an optional upper or lower bound.
The following features are supported:
EcorePackage.getEGenericType()
Method Summary | |
---|---|
EClassifier |
getEClassifier()
Returns the value of the 'EClassifier' reference |
EGenericType |
getELowerBound()
Returns the value of the 'ELower Bound' containment reference |
EClassifier |
getERawType()
Returns the value of the 'ERaw Type' reference |
EList<EGenericType> |
getETypeArguments()
Returns the value of the 'EType Arguments' containment reference list. |
ETypeParameter |
getETypeParameter()
Returns the value of the 'EType Parameter' reference |
EGenericType |
getEUpperBound()
Returns the value of the 'EUpper Bound' containment reference |
void |
setEClassifier(EClassifier value)
Sets the value of the ' EClassifier ' reference |
void |
setELowerBound(EGenericType value)
Sets the value of the ' ELower Bound ' containment reference |
void |
setETypeParameter(ETypeParameter value)
Sets the value of the ' EType Parameter ' reference |
void |
setEUpperBound(EGenericType value)
Sets the value of the ' EUpper Bound ' containment reference |
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 |
---|
EGenericType getEUpperBound()
A generic type with an upper bound T, is equivalent to "? extends T" in Java.
setEUpperBound(EGenericType)
,
EcorePackage.getEGenericType_EUpperBound()
void setEUpperBound(EGenericType value)
EUpper Bound
' containment reference.
value
- the new value of the 'EUpper Bound' containment reference.getEUpperBound()
EList<EGenericType> getETypeArguments()
EGenericType
.
These represent the template arguments applied to a classifier with type parameters, e.g., Map<T>.
EcorePackage.getEGenericType_ETypeArguments()
EClassifier getERawType()
This represents the erased or raw type of the generic type.
EcorePackage.getEGenericType_ERawType()
EGenericType getELowerBound()
A generic type with a lower bound T, is equivalent to "? super T" in Java.
setELowerBound(EGenericType)
,
EcorePackage.getEGenericType_ELowerBound()
void setELowerBound(EGenericType value)
ELower Bound
' containment reference.
value
- the new value of the 'ELower Bound' containment reference.getELowerBound()
ETypeParameter getETypeParameter()
The represents a reference to a type parameter.
setETypeParameter(ETypeParameter)
,
EcorePackage.getEGenericType_ETypeParameter()
void setETypeParameter(ETypeParameter value)
EType Parameter
' reference.
value
- the new value of the 'EType Parameter' reference.getETypeParameter()
EClassifier getEClassifier()
The represents a reference to a classifier.
setEClassifier(EClassifier)
,
EcorePackage.getEGenericType_EClassifier()
void setEClassifier(EClassifier value)
EClassifier
' reference.
value
- the new value of the 'EClassifier' reference.getEClassifier()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |