Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.jpa.internal.jpql
Class CollectionValuedFieldResolver.MapManagedType

java.lang.Object
  extended by org.eclipse.persistence.jpa.internal.jpql.CollectionValuedFieldResolver.MapManagedType

All Implemented Interfaces:
java.lang.Comparable<IManagedType>, IExternalForm, IManagedType
Enclosing class:
CollectionValuedFieldResolver

private static class CollectionValuedFieldResolver.MapManagedType
extends java.lang.Object
implements IManagedType

Field Summary
private  IType mapType
           
private  IManagedTypeProvider provider
           

 

Constructor Summary
CollectionValuedFieldResolver.MapManagedType(IManagedTypeProvider provider, IType mapType)
           

 

Method Summary
 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.
 java.lang.String toString()
          

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

mapType

private final IType mapType

provider

private final IManagedTypeProvider provider

Constructor Detail

CollectionValuedFieldResolver.MapManagedType

CollectionValuedFieldResolver.MapManagedType(IManagedTypeProvider provider,
                                             IType mapType)

Method Detail

accept

public void accept(IManagedTypeVisitor visitor)
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 java.lang.Comparable<IManagedType>

getMappingNamed

public IMapping getMappingNamed(java.lang.String name)
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()
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()
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 java.lang.Iterable<IMapping> mappings()
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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.