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 Object
This immutable class contains information about entity command
- Version:
- $Revision: 81030 $
- Author:
- Alex Loubyansky
JDBCEntityCommandMetaData
public JDBCEntityCommandMetaData(Element element)
throws DeploymentException
- Constructs a JDBCEntityCommandMetaData reading the entity-command element
- Parameters:
element
- - entity-command element
- Throws:
DeploymentException
JDBCEntityCommandMetaData
public JDBCEntityCommandMetaData(Element element,
JDBCEntityCommandMetaData defaultValues)
throws DeploymentException
- Constructs a JDBCEntityCommandMetaData from entity-command xml element
and default values
- Parameters:
element
- entity-command element
- Throws:
DeploymentException
getCommandName
public String getCommandName()
- Returns:
- the name of the command
getCommandClass
public Class getCommandClass()
- Returns:
- the class of the command
getAttribute
public String getAttribute(String name)
- Returns:
- value for the passed in parameter name
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.