org.jboss.ejb.plugins.cmp.jdbc.metadata
Class JDBCValueClassMetaData

java.lang.Object
  extended byorg.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCValueClassMetaData

public final class JDBCValueClassMetaData
extends java.lang.Object

Imutable class which holds a list of the properties for a dependent value class.


Constructor Summary
JDBCValueClassMetaData(org.w3c.dom.Element classElement, java.lang.ClassLoader classLoader)
          Constructs a value class metadata class with the data contained in the dependent-value-class xml element from a jbosscmp-jdbc xml file.
 
Method Summary
 java.lang.Class getJavaType()
          Gets the Java Class of this value class.
 java.util.List getProperties()
          Gets the properties of this value class which are to be saved into the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCValueClassMetaData

public JDBCValueClassMetaData(org.w3c.dom.Element classElement,
                              java.lang.ClassLoader classLoader)
                       throws DeploymentException (src) 
Constructs a value class metadata class with the data contained in the dependent-value-class xml element from a jbosscmp-jdbc xml file.

Parameters:
classElement - the xml Element which contains the metadata about this value class
classLoader - the ClassLoader which is used to load this value class
Throws:
DeploymentException (src) - if the xml element is not semantically correct
Method Detail

getJavaType

public java.lang.Class getJavaType()
Gets the Java Class of this value class.

Returns:
the java Class of this value class

getProperties

public java.util.List getProperties()
Gets the properties of this value class which are to be saved into the database.

Returns:
an unmodifiable list which contains the JDBCValuePropertyMetaData objects