|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITypeRepository
The external representation of the repository of Java types, which gives access to the application's classes.
Important: IType.UNRESOLVABLE_TYPE
has to be handled by the implementer, which
has to be done in getType(String)
. It indicates the type is unresolvable or simply
unknown.
Method Summary | |
---|---|
IType |
getEnumType(java.lang.String enumTypeName)
Returns the IType representing the possible given enum constant. |
IType |
getType(java.lang.Class<?> type)
Retrieves the external type for the given Java type. |
IType |
getType(java.lang.String typeName)
Retrieves the external class for the given fully qualified class name. |
TypeHelper |
getTypeHelper()
Returns a helper that gives access to the most common types . |
Method Detail |
---|
IType getEnumType(java.lang.String enumTypeName)
IType
representing the possible given enum constant. If the given value
does not represent an enum constant, then null
is returned.
enumTypeName
- The fully qualified enum type with the constant
null
if none existsIType getType(java.lang.Class<?> type)
type
- The Java type to wrap with an external form
IType getType(java.lang.String typeName)
typeName
- The fully qualified class name of the class to retrieve
TypeHelper getTypeHelper()
types
.
IType
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |