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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IManagedTypeVisitor visitor) Visits this managed type with the given visitor.intcompareTo(IManagedType managedType) getMappingNamed(String name) Returns theIMappingwith 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 ofmappingsdefined in this managed type.
-
Constructor Details
-
VirtualManagedType
protected VirtualManagedType()
-
-
Method Details
-
accept
Description copied from interface:IManagedTypeVisits this managed type with the given visitor.- Specified by:
acceptin interfaceIManagedType- Parameters:
visitor- The visitor to visit this managed type object
-
compareTo
- Specified by:
compareToin interfaceComparable<IManagedType>
-
getMappingNamed
Description copied from interface:IManagedTypeReturns theIMappingwith the given name.- Specified by:
getMappingNamedin interfaceIManagedType- Parameters:
name- The name of the mapping to retrieve- Returns:
- Either the
IMappingornullif it could not be found
-
getProvider
Description copied from interface:IManagedTypeRetrieves the owner of this managed type.- Specified by:
getProviderin interfaceIManagedType- Returns:
- The external form holding onto the JPA managed types
-
getType
Description copied from interface:IManagedTypeReturns the external representation of the class used by this managed type.- Specified by:
getTypein interfaceIManagedType- Returns:
- The external representation of the class used by this managed type
-
mappings
Description copied from interface:IManagedTypeReturns the collection ofmappingsdefined in this managed type.- Specified by:
mappingsin interfaceIManagedType- Returns:
- The collection of persistent fields and properties of this managed type
-