org.geotools.data.vpf.io
Class RowField

java.lang.Object
  extended by java.lang.Number
      extended by org.geotools.data.vpf.io.RowField
All Implemented Interfaces:
java.io.Serializable, DataTypesDefinition

public class RowField
extends java.lang.Number
implements DataTypesDefinition

RowField.java Created: Mon Jan 27 13:58:34 2003

Version:
$Id: RowField.java 30687 2008-06-13 11:03:06Z acuster $
Author:
Artur Hefczyc
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.geotools.data.vpf.ifc.DataTypesDefinition
BIG_ENDIAN_ORDER, CHAR_NULL_VALUE, DATA_2_COORD_F, DATA_2_COORD_F_LEN, DATA_2_COORD_R, DATA_2_COORD_R_LEN, DATA_3_COORD_F, DATA_3_COORD_F_LEN, DATA_3_COORD_R, DATA_3_COORD_R_LEN, DATA_DATE_TIME, DATA_DATE_TIME_LEN, DATA_LEVEL1_TEXT, DATA_LEVEL2_TEXT, DATA_LEVEL3_TEXT, DATA_LONG_FLOAT, DATA_LONG_FLOAT_LEN, DATA_LONG_INTEGER, DATA_LONG_INTEGER_LEN, DATA_NULL_FIELD, DATA_NULL_FIELD_LEN, DATA_SHORT_FLOAT, DATA_SHORT_FLOAT_LEN, DATA_SHORT_INTEGER, DATA_SHORT_INTEGER_LEN, DATA_TEXT, DATA_TRIPLET_ID, DATA_TRIPLET_ID_LEN, LEAST_SIGNIF_FIRST, LITTLE_ENDIAN_ORDER, MOST_SIGNIF_FIRST, STRING_NULL_VALUE, STRING_NULL_VALUES
 
Constructor Summary
RowField(java.lang.Object value, char type)
          Creates a new RowField instance.
 
Method Summary
 byte byteValue()
           
 double doubleValue()
           
 boolean equals(java.lang.Object obj)
          Method equals is used to perform
 float floatValue()
           
 char getType()
          Method getType is used to perform
 java.lang.Object getValue()
          Method getValue is used to perform
 int hashCode()
           
 int intValue()
           
 long longValue()
           
 short shortValue()
           
 java.lang.String toString()
          Method toString is used to perform
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowField

public RowField(java.lang.Object value,
                char type)
Creates a new RowField instance.

Parameters:
value - an Object value
type - a char value
Method Detail

toString

public java.lang.String toString()
Method toString is used to perform

Overrides:
toString in class java.lang.Object
Returns:
a String value

equals

public boolean equals(java.lang.Object obj)
Method equals is used to perform

Overrides:
equals in class java.lang.Object
Parameters:
obj - an Object value
Returns:
a boolean value

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getType

public char getType()
Method getType is used to perform

Returns:
a char value

getValue

public java.lang.Object getValue()
Method getValue is used to perform

Returns:
an Object value

intValue

public int intValue()
Specified by:
intValue in class java.lang.Number

longValue

public long longValue()
Specified by:
longValue in class java.lang.Number

byteValue

public byte byteValue()
Overrides:
byteValue in class java.lang.Number

shortValue

public short shortValue()
Overrides:
shortValue in class java.lang.Number

floatValue

public float floatValue()
Specified by:
floatValue in class java.lang.Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class java.lang.Number


Copyright © 1996-2010 Geotools. All Rights Reserved.