All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cube.database.StringCol

java.lang.Object
   |
   +----cube.database.StringCol

public class StringCol
extends Object
This class encapsulates a String Column in a database.

For more information on the cube see the cube Overview.
Copyright © 1997 Curtis E. Dyreson. All rights reserved. Please be aware of the Licence and Version.

See Also:
Table, Tuple

Variable Index

 o value

Constructor Index

 o StringCol(byte[])
Construct a StringCol from a byte Array
 o StringCol(String)
Construct a StringCol from a String.

Method Index

 o toBytes()
Construct a byte array from this string
 o toRealString()
Return the string value for this column

Variables

 o value
  protected String value

Constructors

 o StringCol
  public StringCol(String value)
Construct a StringCol from a String.

Parameters:
value - - the string
 o StringCol
  public StringCol(byte valueAsBytes[])
Construct a StringCol from a byte Array

Parameters:
b - - a byte array that better represent a String!

Methods

 o toRealString
  public String toRealString()
Return the string value for this column

Returns:
- the string
 o toBytes
  public byte[] toBytes()
Construct a byte array from this string


All Packages  Class Hierarchy  This Package  Previous  Next  Index