de.ispsoft.jaxme.generator.types
Class DecimalType

java.lang.Object
  extended byde.ispsoft.jaxme.generator.types.SchemaTypeImpl
      extended byde.ispsoft.jaxme.generator.types.SchemaSimpleTypeImpl
          extended byde.ispsoft.jaxme.generator.types.DoubleType
              extended byde.ispsoft.jaxme.generator.types.DecimalType
All Implemented Interfaces:
SchemaSimpleType, SchemaType

public class DecimalType
extends DoubleType

An implementation of the double type.

Author:
Jochen Wiedmann

Field Summary
 
Fields inherited from interface de.ispsoft.jaxme.generator.SchemaSimpleType
OP_INSERT, OP_UPDATE, OP_WHERE
 
Constructor Summary
DecimalType()
          Creates a new DecimalType instance.
DecimalType(java.lang.String pNamespaceURI, java.lang.String pLocalName)
          Creates a new DecimalType instance with the given local name and namespace URI.
 
Method Summary
 java.lang.String[] getNames()
          Returns an array of names that may be used in the schema definition to represent this type.
 int[] getSQLTypes()
          Returns an array of SQL types that are matched by this type or null, if no SQL types apply.
 
Methods inherited from class de.ispsoft.jaxme.generator.types.DoubleType
castFromResultSet, castFromString, castToPreparedStatement, castToString, getCompare, getPrimitiveRuntimeType, getQueryType, getRuntimeType, getSample, hasPrimitive, isComplex
 
Methods inherited from class de.ispsoft.jaxme.generator.types.SchemaSimpleTypeImpl
castFromString, castToString, createPreparedStatementColumnName, createPreparedStatementColumnValue, createPrepareStatement, createSaxEvents, getClone
 
Methods inherited from class de.ispsoft.jaxme.generator.types.SchemaTypeImpl
getClone, getLocalName, getNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.ispsoft.jaxme.generator.SchemaType
getClone, getLocalName, getNamespaceURI
 

Constructor Detail

DecimalType

public DecimalType()
Creates a new DecimalType instance.


DecimalType

public DecimalType(java.lang.String pNamespaceURI,
                   java.lang.String pLocalName)
Creates a new DecimalType instance with the given local name and namespace URI.

Method Detail

getNames

public java.lang.String[] getNames()

Returns an array of names that may be used in the schema definition to represent this type.

Overrides:
getNames in class DoubleType

getSQLTypes

public int[] getSQLTypes()

Returns an array of SQL types that are matched by this type or null, if no SQL types apply.

Specified by:
getSQLTypes in interface SchemaSimpleType
Overrides:
getSQLTypes in class DoubleType