Class CollectionValuedFieldResolver.MapManagedType
java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.resolver.CollectionValuedFieldResolver.MapManagedType
- All Implemented Interfaces:
Comparable<IManagedType>
,IManagedType
- Enclosing class:
CollectionValuedFieldResolver
protected static class CollectionValuedFieldResolver.MapManagedType
extends Object
implements IManagedType
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
MapManagedType
(IManagedTypeProvider provider, IType mapType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(IManagedTypeVisitor visitor) Visits this managed type with the given visitor.int
compareTo
(IManagedType managedType) getMappingNamed
(String name) Returns theIMapping
with the given name.Retrieves the owner of this managed type.getType()
Returns the external representation of the class used by this managed type.mappings()
Returns the collection ofmappings
defined in this managed type.toString()
-
Field Details
-
mapType
-
provider
-
-
Constructor Details
-
MapManagedType
-
-
Method Details
-
accept
Description copied from interface:IManagedType
Visits this managed type with the given visitor.- Specified by:
accept
in interfaceIManagedType
- Parameters:
visitor
- The visitor to visit this managed type object
-
compareTo
- Specified by:
compareTo
in interfaceComparable<IManagedType>
-
getMappingNamed
Description copied from interface:IManagedType
Returns theIMapping
with the given name.- Specified by:
getMappingNamed
in interfaceIManagedType
- Parameters:
name
- The name of the mapping to retrieve- Returns:
- Either the
IMapping
ornull
if it could not be found
-
getProvider
Description copied from interface:IManagedType
Retrieves the owner of this managed type.- Specified by:
getProvider
in interfaceIManagedType
- Returns:
- The external form holding onto the JPA managed types
-
getType
Description copied from interface:IManagedType
Returns the external representation of the class used by this managed type.- Specified by:
getType
in interfaceIManagedType
- Returns:
- The external representation of the class used by this managed type
-
mappings
Description copied from interface:IManagedType
Returns the collection ofmappings
defined in this managed type.- Specified by:
mappings
in interfaceIManagedType
- Returns:
- The collection of persistent fields and properties of this managed type
-
toString
-