org.paneris.jal.model
Class LookupItem

java.lang.Object
  extended by org.paneris.jal.model.LookupItem

public class LookupItem
extends java.lang.Object

A LookupItem simply holds a name value pair.

It is constructed by passing a DDRecord and a fieldname that will be used to set the value


Constructor Summary
LookupItem(DDRecord rec, java.lang.String field)
          Constructor to build Lookup Item given a DDRecord and a string describing the field
LookupItem(java.lang.String id, java.lang.String value)
          Constructor to build Lookup Item given an id and a value
 
Method Summary
 java.lang.String getId()
           
 java.lang.String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupItem

public LookupItem(DDRecord rec,
                  java.lang.String field)
Constructor to build Lookup Item given a DDRecord and a string describing the field

Parameters:
rec - a DDRecord
field - the field to use for lookup

LookupItem

public LookupItem(java.lang.String id,
                  java.lang.String value)
Constructor to build Lookup Item given an id and a value

Parameters:
id - an id
value - the value
Method Detail

getId

public java.lang.String getId()

getValue

public java.lang.String getValue()


Copyright © 2000-2008 PanEris. All Rights Reserved.