Class FromSubqueryResolver.VirtualManagedType

java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.resolver.FromSubqueryResolver.VirtualManagedType
All Implemented Interfaces:
Comparable<IManagedType>, IManagedType
Enclosing class:
FromSubqueryResolver

protected class FromSubqueryResolver.VirtualManagedType extends Object implements IManagedType
This IManagedType represents a virtual managed type where its content will be derived from the subquery.
  • Constructor Details

    • VirtualManagedType

      protected VirtualManagedType()
  • Method Details

    • accept

      public void accept(IManagedTypeVisitor visitor)
      Description copied from interface: IManagedType
      Visits this managed type with the given visitor.
      Specified by:
      accept in interface IManagedType
      Parameters:
      visitor - The visitor to visit this managed type object
    • compareTo

      public int compareTo(IManagedType managedType)
      Specified by:
      compareTo in interface Comparable<IManagedType>
    • getMappingNamed

      public IMapping getMappingNamed(String name)
      Description copied from interface: IManagedType
      Returns the IMapping with the given name.
      Specified by:
      getMappingNamed in interface IManagedType
      Parameters:
      name - The name of the mapping to retrieve
      Returns:
      Either the IMapping or null if it could not be found
    • getProvider

      public IManagedTypeProvider getProvider()
      Description copied from interface: IManagedType
      Retrieves the owner of this managed type.
      Specified by:
      getProvider in interface IManagedType
      Returns:
      The external form holding onto the JPA managed types
    • getType

      public IType getType()
      Description copied from interface: IManagedType
      Returns the external representation of the class used by this managed type.
      Specified by:
      getType in interface IManagedType
      Returns:
      The external representation of the class used by this managed type
    • mappings

      public Iterable<IMapping> mappings()
      Description copied from interface: IManagedType
      Returns the collection of mappings defined in this managed type.
      Specified by:
      mappings in interface IManagedType
      Returns:
      The collection of persistent fields and properties of this managed type