protected class FromSubqueryResolver.VirtualManagedType extends java.lang.Object implements IManagedType
IManagedType
represents a virtual managed type where its content will be derived
from the subquery.Modifier | Constructor and Description |
---|---|
protected |
VirtualManagedType() |
Modifier and Type | Method and Description |
---|---|
void |
accept(IManagedTypeVisitor visitor)
Visits this managed type with the given visitor.
|
int |
compareTo(IManagedType managedType) |
IMapping |
getMappingNamed(java.lang.String name)
Returns the
IMapping with the given name. |
IManagedTypeProvider |
getProvider()
Retrieves the owner of this managed type.
|
IType |
getType()
Returns the external representation of the class used by this managed type.
|
java.lang.Iterable<IMapping> |
mappings()
Returns the collection of
mappings defined in this managed type. |
public void accept(IManagedTypeVisitor visitor)
accept
in interface IManagedType
visitor
- The visitor to visit this managed type objectpublic int compareTo(IManagedType managedType)
compareTo
in interface java.lang.Comparable<IManagedType>
public IMapping getMappingNamed(java.lang.String name)
IMapping
with the given name.getMappingNamed
in interface IManagedType
name
- The name of the mapping to retrieveIMapping
or null
if it could not be foundpublic IManagedTypeProvider getProvider()
getProvider
in interface IManagedType
public IType getType()
getType
in interface IManagedType
public java.lang.Iterable<IMapping> mappings()
mappings
defined in this managed type.mappings
in interface IManagedType