NzaeFieldInfo Interface reference

This class contains information for a specific field (column) including NZ data type, Java SQL data type, and default Java lanaguage data types.

Public member functions

int getJavaType()
Return the Java data type of this field (column).
int getNzType()
Return the NZ data type of this field (column).
boolean isBoolean()
Default representation is a Boolean.
boolean isByte()
Default representation is a Byte.
boolean isDate()
Default representation is a java.sql.Date.
boolean isDouble()
Default representation is a Double.
boolean isFloat()
Default representation is a Float.
boolean isInt()
Default representation is an Int.
boolean isLong()
Default representation is a Long.
boolean isNumber()
Default representation is an instance of Number.
boolean isNumberDecimalType()
Default representation is an instance of Number, BigDecimal.
boolean isNumberFloatingPointType()
Default representation is an instance of Number, floating point (Double or Float).
boolean isNumberPrimitiveType()
Default representation is an instance of Number, primitive type.
boolean isShort()
Default representation is a Short.
boolean isString()
Default representation is a String.
boolean isTime()
Default representation is a java.sql.Time.
boolean isTimestamp()
Default representation is a java.sql.Timestamp.

Public member functions documentation

int getJavaType()
Return the Java data type of this field (column).
Returns
Java type
See also: java.sql.Types.
int getNzType()
Return the NZ data type of this field (column).
Returns

NZ type

See also: NzaeDataTypes.
boolean isBoolean()
Default representation is a Boolean.
Returns

True if default representation is a Boolean

boolean isByte()
Default representation is a Byte.
Returns

True if default representation is a Byte

boolean isDate()
Default representation is a java.sql.Date.
Returns

True if default representation is a java.sql.Date

boolean isDouble()
Default representation is a Double.
Returns

True if default representation is a Double

boolean isFloat()
Default representation is a Float.
Returns

True if default representation is a Float

boolean isInt()
Default representation is an Int.
Returns

True if default representation is an Int

boolean isLong()
Default representation is a Long.
Returns

True if default representation is a Long

boolean isNumber()
Default representation is an instance of Number.
Returns

True if default representation is an instance of Number

boolean isNumberDecimalType()
Default representation is an instance of Number, BigDecimal.
Returns

True if default representation is an instance of Number or BigDecimal

boolean isNumberFloatingPointType()
Default representation is an instance of Number, floating point (Double or Float).
Returns

True if default representation is an instance of Number or floating point

boolean isNumberPrimitiveType()
Default representation is an instance of Number, primitive type.
Returns

True if default representation is an instance of Number or primitive type

boolean isShort()
Default representation is a Short.
Returns

True if default representation is a Short

boolean isString()
Default representation is a String.
Returns

True if default representation is a String

boolean isTime()
Default representation is a java.sql.Time.
Returns

True if default representation is a java.sql.Time

boolean isTimestamp()
Default representation is a java.sql.Timestamp.
Returns

True if default representation is a java.sql.Timestamp