com.scooterframework.orm.activerecord
Interface ReferenceData

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ReferenceDataRecord

public interface ReferenceData
extends java.io.Serializable

ReferenceData interface contains common methods to access reference data.


Method Summary
 java.lang.Object getFieldData(java.lang.String fieldName)
          Returns data for a field
 java.lang.Object getKeyData()
          Returns key field data
 java.lang.String getKeyName()
          Returns key field name
 java.lang.Object getValueData()
          Returns value field data
 java.lang.String getValueName()
          Returns value field name
 

Method Detail

getFieldData

java.lang.Object getFieldData(java.lang.String fieldName)
Returns data for a field

Parameters:
fieldName - field name
Returns:
Object data for the field

getKeyName

java.lang.String getKeyName()
Returns key field name

Returns:
String key field name

getKeyData

java.lang.Object getKeyData()
Returns key field data

Returns:
Object key field data

getValueName

java.lang.String getValueName()
Returns value field name

Returns:
String value field name

getValueData

java.lang.Object getValueData()
Returns value field data

Returns:
Object value field data