Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

oracle.olapi.metadata.mtm
Class MtmDataType

java.lang.Object
  |
  +--oracle.olapi.metadata.mtm.MtmDataType

public final class MtmDataType
extends java.lang.Object

Specifies the SQL data type characteristics for the mapping of an OLAP API data type to a SQL representation of that data type.


Constructor Summary
MtmDataType(java.lang.String sqlDataType, int sqlDataTypeLength, int sqlDataTypePrecision, boolean isNullable)
          Creates a new MtmDataType.

 

Method Summary
 java.lang.String getSqlDataType()
          Gets the SQL data type for this MtmDataType.
 int getSqlDataTypeLength()
          Gets the length of the SQL data type for this MtmDataType.
 int getSqlDataTypePrecision()
          Gets the precision value for this MtmDataType.
 boolean isNullable()
          Indicates whether the value of this MtmDataType can be null.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

MtmDataType

public MtmDataType(java.lang.String sqlDataType,
                   int sqlDataTypeLength,
                   int sqlDataTypePrecision,
                   boolean isNullable)
Creates a new MtmDataType.
Parameters:
sqlDataType - A String that specifies the SQL data type for this MtmDataType.
sqlDataTypeLength - An integer that specifies the length of the SQL data type for this MtmDataType.
sqlDataTypePrecision - An integer that specifies the precision value for this MtmDataType.
isNullable - A boolean that specifies whether the value of this MtmDataType can be null.
Method Detail

getSqlDataType

public java.lang.String getSqlDataType()
Gets the SQL data type for this MtmDataType.
Returns:
A String that identifies the SQL data type for this MtmDataType.

getSqlDataTypeLength

public int getSqlDataTypeLength()
Gets the length of the SQL data type for this MtmDataType.
Returns:
An integer that is the length of the SQL data type for this MtmDataType.

getSqlDataTypePrecision

public int getSqlDataTypePrecision()
Gets the precision value for this MtmDataType.
Returns:
An integer that is the precision value for this MtmDataType.

isNullable

public boolean isNullable()
Indicates whether the value of this MtmDataType can be null.
Returns:
A boolean that indicates whether the value of this MtmDataType can be null.

Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

Copyright © 2002, 2003, Oracle. All Rights Reserved.