com.ibm.db.base
Class DatabaseRow

java.lang.Object
  |
  +--com.ibm.db.base.DatabaseRow

public class DatabaseRow
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private  boolean[] changedIndicators
           
private static java.lang.String copyright
           
private  boolean[] nullIndicators
           
(package private) static long serialVersionUID
           
private  DatabaseCompoundType type
           
private  java.lang.Object[] values
           
 
Constructor Summary
DatabaseRow(DatabaseCompoundType aType)
          This method was created by a SmartGuide.
DatabaseRow(DatabaseRow aRow)
          This method was created in VisualAge.
 
Method Summary
protected  boolean colIsNull(int aColNum)
          This method was created by a SmartGuide.
 java.lang.String columnName(int index)
          This method was created by a SmartGuide.
 boolean colWasChanged(int aColNum)
          This method was created by a SmartGuide.
 java.lang.Object get(java.lang.String aColumnName)
          This method was created by a SmartGuide.
 java.lang.Object getAtIndex(int index)
          This method was created by a SmartGuide.
 int getColumnIndex(java.lang.String columnName)
          This method was created in VisualAge.
 java.util.Enumeration getColumnNames()
          This method was created by a SmartGuide.
protected  boolean[] getNullIndicators()
          This method was created by a SmartGuide.
 DatabaseCompoundType getType()
          This method was created by a SmartGuide.
protected  java.lang.Object[] getValues()
          This method was created by a SmartGuide.
 DatabaseRow put(java.lang.String aColumnName, java.lang.Object value)
          This method was created by a SmartGuide.
 void putAtIndex(int anIndex, java.lang.Object value)
          Sets the value at the specified index to the specified value.
 void putAtIndexWithCheck(int anIndex, java.lang.Object value)
          Sets the value at the specified index to the specified value.
 void setColIsNull(int aColNum, boolean isNull)
          This method was created by a SmartGuide.
 void setColWasChanged(int aColNum, boolean changed)
          This method was created by a SmartGuide.
 int size()
          This method was created by a SmartGuide.
 java.lang.String toString()
          This method was created by a SmartGuide.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

type

private DatabaseCompoundType type

values

private java.lang.Object[] values

nullIndicators

private boolean[] nullIndicators

changedIndicators

private boolean[] changedIndicators

serialVersionUID

static final long serialVersionUID

copyright

private static final java.lang.String copyright
Constructor Detail

DatabaseRow

public DatabaseRow(DatabaseCompoundType aType)
This method was created by a SmartGuide.

DatabaseRow

public DatabaseRow(DatabaseRow aRow)
This method was created in VisualAge.
Parameters:
aRow - com.ibm.db.base.DatabaseRow
Method Detail

colIsNull

protected boolean colIsNull(int aColNum)
This method was created by a SmartGuide.

columnName

public java.lang.String columnName(int index)
This method was created by a SmartGuide.
Parameters:
index - int
Returns:
java.lang.String

colWasChanged

public boolean colWasChanged(int aColNum)
This method was created by a SmartGuide.

get

public java.lang.Object get(java.lang.String aColumnName)
This method was created by a SmartGuide.

getAtIndex

public java.lang.Object getAtIndex(int index)
This method was created by a SmartGuide.

getColumnIndex

public int getColumnIndex(java.lang.String columnName)
This method was created in VisualAge.
Parameters:
columnName - java.lang.String
Returns:
int

getColumnNames

public java.util.Enumeration getColumnNames()
This method was created by a SmartGuide.

getNullIndicators

protected boolean[] getNullIndicators()
This method was created by a SmartGuide.

getType

public DatabaseCompoundType getType()
This method was created by a SmartGuide.

getValues

protected java.lang.Object[] getValues()
This method was created by a SmartGuide.

put

public DatabaseRow put(java.lang.String aColumnName,
                       java.lang.Object value)
                throws DataException
This method was created by a SmartGuide.
Parameters:
column - java.lang.String
value - java.lang.Object
Returns:
COM.vajdbc.DatabaseRow

putAtIndex

public void putAtIndex(int anIndex,
                       java.lang.Object value)
Sets the value at the specified index to the specified value. No type checking is done .
Parameters:
anIndex - the index for the value
value - the value

putAtIndexWithCheck

public void putAtIndexWithCheck(int anIndex,
                                java.lang.Object value)
                         throws DataException
Sets the value at the specified index to the specified value. A type check is made before the value is set to ensure the objectType matches defined type for the value.
Parameters:
anIndex - the index of the value
value - the value

setColIsNull

public void setColIsNull(int aColNum,
                         boolean isNull)
This method was created by a SmartGuide.

setColWasChanged

public void setColWasChanged(int aColNum,
                             boolean changed)
This method was created by a SmartGuide.

size

public int size()
This method was created by a SmartGuide.

toString

public java.lang.String toString()
This method was created by a SmartGuide.
Overrides:
toString in class java.lang.Object