FileDocCategorySizeDatePackage
CMPPolicy.javaAPI DocGlassfish v2 API3523Tue May 22 16:54:16 BST 2007oracle.toplink.essentials.descriptors

CMPPolicy

public class CMPPolicy extends Object implements Serializable

Description: Place holder for CMP specific information. This class can be set on the Descriptor.

since
TopLink 10.1.3

Fields Summary
protected ClassDescriptor
descriptor
Constructors Summary
public CMPPolicy()

    
Methods Summary
public voidconvertClassNamesToClasses(java.lang.ClassLoader classLoader)
INTERNAL: Convert all the class-name-based settings in this object to actual class-based settings. This method is used when converting a project that has been built with class names to a project with classes.

param
classLoader

    
public oracle.toplink.essentials.descriptors.ClassDescriptorgetDescriptor()
INTERNAL:

return
Returns the owningDescriptor.

        return descriptor;
    
public voidinitialize(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, oracle.toplink.essentials.internal.sessions.AbstractSession session)
INTERNAL: Initialize the CMPPolicy settings.

    
public booleanisCMP3Policy()
INTERNAL: Return if this policy is for CMP3.

        return false;
    
public voidsetDescriptor(oracle.toplink.essentials.descriptors.ClassDescriptor owningDescriptor)
INTERNAL:

param
owningDescriptor The owningDescriptor to set.

        this.descriptor = owningDescriptor;