com.objex.progeny.anywhere.fields
Class XRFLookupTableInfo

java.lang.Object
  extended by com.objex.progeny.anywhere.fields.XRFLookupTableInfo
All Implemented Interfaces:
java.io.Serializable

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

Number of entries in this widths and columnorder arrays and the m_values map are one (1) more than the number of entries in the subfields

See Also:
Serialized Form

Constructor Summary
XRFLookupTableInfo()
           
 
Method Summary
 void addValue(int ai_fieldid, java.lang.String value)
          Assumes that the widths and column order values have been set already or will be set independently
 void addValue(int ai_fieldid, java.lang.String value, int width)
           
 void addWidth(int ai_fieldid, int width)
          Assumes that the field values for the referenced field has already been added otherwise field
 int[] getColumnOrder()
           
 int getFieldid(int index)
           
 java.lang.String[] getRow(int ai_row)
           
 java.lang.String getValue(int ai_subfieldid, int dd_row)
           
 java.lang.String[] getValues(int ai_fieldid)
           
 int getValuesCount()
           
 int getWidth(int ai_fieldid)
           
 void setWidth(int ai_fieldid, int width)
          Set the width for the specified field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XRFLookupTableInfo

public XRFLookupTableInfo()
Method Detail

getValuesCount

public int getValuesCount()

addValue

public void addValue(int ai_fieldid,
                     java.lang.String value,
                     int width)

addValue

public void addValue(int ai_fieldid,
                     java.lang.String value)
Assumes that the widths and column order values have been set already or will be set independently


addWidth

public void addWidth(int ai_fieldid,
                     int width)
Assumes that the field values for the referenced field has already been added otherwise field


setWidth

public void setWidth(int ai_fieldid,
                     int width)
Set the width for the specified field. The field must have been added prior to this method being called

Parameters:
ai_fieldid - The fieldid for which the with is to be set
width - The new width

getWidth

public int getWidth(int ai_fieldid)

getValues

public java.lang.String[] getValues(int ai_fieldid)

getColumnOrder

public int[] getColumnOrder()
Returns:
The array of fieldids in the order in which they are to be ordered;

getFieldid

public int getFieldid(int index)

getValue

public java.lang.String getValue(int ai_subfieldid,
                                 int dd_row)

getRow

public java.lang.String[] getRow(int ai_row)