org.jboss.ejb.plugins.cmp.jdbc.metadata
Class JDBCEntityCommandMetaData
java.lang.Object
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData
- public final class JDBCEntityCommandMetaData
- extends java.lang.Object
This immutable class contains information about entity command
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JDBCEntityCommandMetaData
public JDBCEntityCommandMetaData(org.w3c.dom.Element element)
throws DeploymentException (src)
- Constructs a JDBCEntityCommandMetaData reading the entity-command element
- Parameters:
element
- - entity-command element
JDBCEntityCommandMetaData
public JDBCEntityCommandMetaData(org.w3c.dom.Element element,
JDBCEntityCommandMetaData (src) defaultValues)
throws DeploymentException (src)
- Constructs a JDBCEntityCommandMetaData from entity-command xml element
and default values
- Parameters:
element
- entity-command element
getCommandName
public java.lang.String getCommandName()
- Returns:
- the name of the command
getCommandClass
public java.lang.Class getCommandClass()
- Returns:
- the class of the command
getAttribute
public java.lang.String getAttribute(java.lang.String name)
- Returns:
- value for the passed in parameter name
toString
public java.lang.String toString()