Class FromSubqueryResolver.VirtualManagedType
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.resolver.FromSubqueryResolver.VirtualManagedType
-
- All Implemented Interfaces:
java.lang.Comparable<IManagedType>,IManagedType
- Enclosing class:
- FromSubqueryResolver
protected class FromSubqueryResolver.VirtualManagedType extends java.lang.Object implements IManagedType
ThisIManagedTyperepresents a virtual managed type where its content will be derived from the subquery.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVirtualManagedType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(IManagedTypeVisitor visitor)Visits this managed type with the given visitor.intcompareTo(IManagedType managedType)IMappinggetMappingNamed(java.lang.String name)Returns theIMappingwith the given name.IManagedTypeProvidergetProvider()Retrieves the owner of this managed type.ITypegetType()Returns the external representation of the class used by this managed type.java.lang.Iterable<IMapping>mappings()Returns the collection ofmappingsdefined in this managed type.
-
-
-
Method Detail
-
accept
public void accept(IManagedTypeVisitor visitor)
Visits this managed type with the given visitor.- Specified by:
acceptin interfaceIManagedType- Parameters:
visitor- The visitor to visit this managed type object
-
compareTo
public int compareTo(IManagedType managedType)
- Specified by:
compareToin interfacejava.lang.Comparable<IManagedType>
-
getMappingNamed
public IMapping getMappingNamed(java.lang.String name)
Returns 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
public IManagedTypeProvider getProvider()
Retrieves the owner of this managed type.- Specified by:
getProviderin interfaceIManagedType- Returns:
- The external form holding onto the JPA managed types
-
getType
public IType getType()
Returns 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
public java.lang.Iterable<IMapping> mappings()
Returns the collection ofmappingsdefined in this managed type.- Specified by:
mappingsin interfaceIManagedType- Returns:
- The collection of persistent fields and properties of this managed type
-
-