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

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

public class TypeMappingMetaData
extends MetaData
implements XmlLoadable

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

Field Summary
static String[] PRIMITIVE_CLASSES
           
static String[] PRIMITIVES
           
 
Fields inherited from class org.jboss.metadata.MetaData
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
TypeMappingMetaData()
           
 
Method Summary
 int getJdbcTypeForJavaType(Class type)
           
 String getName()
           
 String getSqlTypeForJavaType(Class type)
           
 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

PRIMITIVES

public static final String[] PRIMITIVES

PRIMITIVE_CLASSES

public static final String[] PRIMITIVE_CLASSES
Constructor Detail

TypeMappingMetaData

public TypeMappingMetaData()
Method Detail

getName

public String getName()

getSqlTypeForJavaType

public String getSqlTypeForJavaType(Class type)

getJdbcTypeForJavaType

public int getJdbcTypeForJavaType(Class type)

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.