Skip navigation links

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

E28847-01


org.eclipse.persistence.sdo.helper
Class DynamicClassWriter

java.lang.Object
  extended by org.eclipse.persistence.sdo.helper.DynamicClassWriter


public class DynamicClassWriter
extends java.lang.Object

Field Summary
private  HelperContext aHelperContext
           
private static java.lang.String END_PROPERTY_INDEX
           
private static java.lang.String GET
           
private static java.lang.String LIST
           
private  java.lang.Class parentClass
           
private static java.lang.String SET
           
private static java.lang.String START_PROPERTY_INDEX
           
private  java.lang.Integer startPropertyIndex
           
private  SDOType type
           
private  java.lang.String typeImplClassDescriptor
           
private static java.lang.String WRITE_REPLACE
           

 

Constructor Summary
DynamicClassWriter(java.lang.String className, SDOType type, HelperContext aContext)
           

 

Method Summary
private  void addConstructors(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw)
           
private  void addPropertyGetMethod(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw, SDOProperty property)
           
private  void addPropertyGetMethodInternal(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw, SDOProperty property, java.lang.String outerGetMethodName, java.lang.String returnType)
           
private  void addPropertyIndices(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw)
           
private  void addPropertySetMethod(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw, SDOProperty property)
           
private  void addWriteReplace(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw)
           
 byte[] createClass()
          This is where the byte codes for the generic subclass are defined and the class is created dynamically from them.
 java.lang.Class getParentClass()
           
private  void initializeParentClass()
           

 

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

 

Field Detail

START_PROPERTY_INDEX

private static final java.lang.String START_PROPERTY_INDEX
See Also:
Constant Field Values

END_PROPERTY_INDEX

private static final java.lang.String END_PROPERTY_INDEX
See Also:
Constant Field Values

GET

private static final java.lang.String GET
See Also:
Constant Field Values

SET

private static final java.lang.String SET
See Also:
Constant Field Values

LIST

private static final java.lang.String LIST
See Also:
Constant Field Values

WRITE_REPLACE

private static final java.lang.String WRITE_REPLACE
See Also:
Constant Field Values

parentClass

private java.lang.Class parentClass

typeImplClassDescriptor

private java.lang.String typeImplClassDescriptor

type

private SDOType type

startPropertyIndex

private java.lang.Integer startPropertyIndex

aHelperContext

private HelperContext aHelperContext

Constructor Detail

DynamicClassWriter

public DynamicClassWriter(java.lang.String className,
                          SDOType type,
                          HelperContext aContext)

Method Detail

initializeParentClass

private void initializeParentClass()

getParentClass

public java.lang.Class getParentClass()

createClass

public byte[] createClass()
This is where the byte codes for the generic subclass are defined and the class is created dynamically from them.

addPropertyIndices

private void addPropertyIndices(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw)

addConstructors

private void addConstructors(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw)

addPropertyGetMethod

private void addPropertyGetMethod(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw,
                                  SDOProperty property)

addPropertyGetMethodInternal

private void addPropertyGetMethodInternal(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw,
                                          SDOProperty property,
                                          java.lang.String outerGetMethodName,
                                          java.lang.String returnType)

addPropertySetMethod

private void addPropertySetMethod(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw,
                                  SDOProperty property)

addWriteReplace

private void addWriteReplace(org.eclipse.persistence.internal.libraries.asm.ClassWriter cw)

Skip navigation links

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