Class FromSubqueryResolver.VirtualManagedType
java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.resolver.FromSubqueryResolver.VirtualManagedType
- All Implemented Interfaces:
Comparable<IManagedType>
,IManagedType
- Enclosing class:
FromSubqueryResolver
This
IManagedType
represents a virtual managed type where its content will be derived
from the subquery.-
Constructor Summary
-
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.
-
Constructor Details
-
VirtualManagedType
protected VirtualManagedType()
-
-
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
-