oracle.stellent.ridc.model
Class DataResultSet.Field

java.lang.Object
  extended by oracle.stellent.ridc.model.DataResultSet.Field
Enclosing interface:
DataResultSet

public static class DataResultSet.Field
extends java.lang.Object


Nested Class Summary
static class DataResultSet.Field.Type
           
 
Constructor Summary
DataResultSet.Field(java.lang.String name)
          Construct a field with the given name
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getMaxLen()
           
 java.lang.String getName()
           
 DataResultSet.Field.Type getType()
           
 int hashCode()
           
 boolean isFixedLen()
           
 void setFixedLen(boolean fixedLen)
           
 void setMaxLen(int maxLen)
           
 void setName(java.lang.String name)
           
 void setType(DataResultSet.Field.Type type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataResultSet.Field

public DataResultSet.Field(java.lang.String name)
Construct a field with the given name

Parameters:
name - the field name
Method Detail

getName

public java.lang.String getName()
Returns:
the name of the field

setName

public void setName(java.lang.String name)

getType

public DataResultSet.Field.Type getType()
Returns:
the field type (corresponds to an intersection of MS Access and JDBC field types).

setType

public void setType(DataResultSet.Field.Type type)

isFixedLen

public boolean isFixedLen()
Returns:
true if field has a maximum length when translated to a string.

setFixedLen

public void setFixedLen(boolean fixedLen)

getMaxLen

public int getMaxLen()
Returns:
maximum length of field in characters when translated to a string if field is fixed length.

setMaxLen

public void setMaxLen(int maxLen)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

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


Copyright © 2008-2009 Oracle Corporation. All Rights Reserved.