站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 server API Documentation 英文版文档

MappingMetaData (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档


org.jboss.ejb.plugins.jaws.metadata
Class MappingMetaData

java.lang.Object
  extended byorg.jboss.metadata.MetaData
      extended byorg.jboss.ejb.plugins.jaws.metadata.MappingMetaData
All Implemented Interfaces:
Cloneable, XmlLoadable

public class MappingMetaData
extends MetaData
implements XmlLoadable

Version:
$Revision: 1.6 $
Author:
Sebastien Alborini
See Also:

Field Summary
protected static org.jboss.logging.Logger log
           
 
Fields inherited from class org.jboss.metadata.MetaData
TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
MappingMetaData()
           
 
Method Summary
 String getJavaType()
           
 int getJdbcType()
           
static int getJdbcTypeFromName(String name)
           
 String getSqlType()
           
 void importXml(Element element)
          Imports either the jboss or ejb-jar from the given element.
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importEjbJarXml, importJbossXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.jboss.logging.Logger log
Constructor Detail

MappingMetaData

public MappingMetaData()
Method Detail

getJdbcTypeFromName

public static int getJdbcTypeFromName(String name)
                               throws org.jboss.deployment.DeploymentException
Throws:
org.jboss.deployment.DeploymentException

getJavaType

public String getJavaType()

getJdbcType

public int getJdbcType()

getSqlType

public String getSqlType()

importXml

public void importXml(Element element)
               throws org.jboss.deployment.DeploymentException
Description copied from class: MetaData
Imports either the jboss or ejb-jar from the given element.

Specified by:
importXml in interface XmlLoadable
Overrides:
importXml in class MetaData
Parameters:
element - The element to import.
Throws:
org.jboss.deployment.DeploymentException - Unrecognized root tag.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.