Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


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

A Field represents definition (e.g. a name, type, etc.) for a column of cells.


Nested Class Summary
static class DataResultSet.Field.Type
          All available types of field.

 

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()
          return maximum length of field in characters when translated to a string if field is fixed length.
 java.lang.String getName()
          return the name of the field
 int getScale()
          return the scale for DECIMAL field
 DataResultSet.Field.Type getType()
          return the field type (corresponds to an intersection of MS Access and JDBC field types).
 int hashCode()
           
 boolean isFixedLen()
          true if field has a maximum length when translated to a string.
 void setFixedLen(boolean fixedLen)
          set FixedLen which is a maximum length when translated to a string.
 void setMaxLen(int maxLen)
          set MaxLen which is maximum length of field in characters when translated to a string if field is fixed length.
 void setName(java.lang.String name)
           
 void setScale(int scale)
          set the scale for DECIMAL field
 void setType(DataResultSet.Field.Type type)
          set 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()
return the name of the field
Returns:
the name of the field

setName

public void setName(java.lang.String name)

getType

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

setType

public void setType(DataResultSet.Field.Type type)
set type
Parameters:
type - the field type (corresponds to an intersection of MS Access and JDBC field types).

isFixedLen

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

setFixedLen

public void setFixedLen(boolean fixedLen)
set FixedLen which is a maximum length when translated to a string.
Parameters:
fixedLen - true if field has a maximum length when translated to a string.

getMaxLen

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

setMaxLen

public void setMaxLen(int maxLen)
set MaxLen which is maximum length of field in characters when translated to a string if field is fixed length.
Parameters:
maxLen - maximum length of field in characters when translated to a string if field is fixed length.

getScale

public int getScale()
return the scale for DECIMAL field
Returns:
the scale for DECIMAL field

setScale

public void setScale(int scale)
set the scale for DECIMAL field
Parameters:
scale - the scale to be set for a DECIMAL field

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

Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.