de.mathema.pride
Class ExtensionDescriptor

java.lang.Object
  extended by de.mathema.pride.ExtensionDescriptor

public class ExtensionDescriptor
extends java.lang.Object

Author:
Jan Lessner

Field Summary
static java.lang.String REVISION_ID
           
 
Constructor Summary
ExtensionDescriptor(RecordDescriptor master, java.lang.String[][] attributeMap)
           
 
Method Summary
 void applyResult(java.lang.Object obj, java.lang.String attrName, java.lang.String attrValue)
           
 de.mathema.pride.AttributeDescriptor getAttributeDescriptor(java.lang.String attrName)
           
 de.mathema.pride.AttributeDescriptor[] getAttributeDescriptors()
           
 java.lang.String getContext()
           
 RecordDescriptor getMaster()
           
 java.lang.Class getObjectType()
           
 java.lang.Object getPrimaryKey(java.lang.Object obj)
           
 java.lang.String getPrimaryKeyField()
           
 java.lang.String getTableName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION_ID

public static final java.lang.String REVISION_ID
See Also:
Constant Field Values
Constructor Detail

ExtensionDescriptor

public ExtensionDescriptor(RecordDescriptor master,
                           java.lang.String[][] attributeMap)
                    throws IllegalDescriptorException
Throws:
IllegalDescriptorException
Method Detail

getMaster

public RecordDescriptor getMaster()

getContext

public java.lang.String getContext()

getTableName

public java.lang.String getTableName()

getObjectType

public java.lang.Class getObjectType()

getPrimaryKeyField

public java.lang.String getPrimaryKeyField()

getPrimaryKey

public java.lang.Object getPrimaryKey(java.lang.Object obj)
                               throws java.lang.IllegalAccessException,
                                      java.lang.reflect.InvocationTargetException
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

getAttributeDescriptors

public de.mathema.pride.AttributeDescriptor[] getAttributeDescriptors()

getAttributeDescriptor

public de.mathema.pride.AttributeDescriptor getAttributeDescriptor(java.lang.String attrName)

applyResult

public void applyResult(java.lang.Object obj,
                        java.lang.String attrName,
                        java.lang.String attrValue)
                 throws java.sql.SQLException,
                        java.lang.IllegalAccessException,
                        java.lang.reflect.InvocationTargetException
Throws:
java.sql.SQLException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException