| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A read only interface used to retrieve data. It represents both for mono value and multi values. It must implement equals and hashCode. The semantics : | Storage | mono | multi | | xxx | xxx | [xxx] | | null | null | [null] | -------------------------------- | [] | null | [] | | [null,..] | null | [null,..] | | ["1",..] | "1" | ["1",..] |
| Method Summary | |
 boolean | 
asBoolean()
Return the value as a boolean.  | 
 boolean[] | 
asBooleanArray()
Return the values as an array of boolean.  | 
 int | 
asInt()
Return the value as an int.  | 
 int[] | 
asIntArray()
Return the values as an array of int.  | 
 java.lang.Object | 
asObject()
Return the value.  | 
 java.lang.Object[] | 
asObjectArray()
Return the values as an array of converted object.  | 
 java.util.List | 
asObjectList()
Return the values as an immutable collection of converted object or null.  | 
 java.lang.String | 
asString()
Return the value as a string.  | 
 java.lang.String[] | 
asStringArray()
Return the values as an array of string.  | 
 boolean | 
isMultiValued()
Return true if it contains more than one value.  | 
 boolean | 
isNull()
Return true if the value is null.  | 
| Method Detail | 
public boolean isNull()
public java.lang.String asString()
public int asInt()
          throws NullConversionException,
                 FormatConversionException
NullConversionException - if one of the values is null
FormatConversionException - if one of the values cannot be converted
public boolean asBoolean()
                  throws NullConversionException,
                         FormatConversionException
NullConversionException - if one of the values is null
FormatConversionException - if one of the values cannot be convertedpublic java.lang.Object asObject()
public boolean isMultiValued()
public java.lang.String[] asStringArray()
public int[] asIntArray()
                 throws NullConversionException,
                        FormatConversionException
NullConversionException - if one of the values is null
FormatConversionException - if one of the values cannot be converted
public boolean[] asBooleanArray()
                         throws NullConversionException,
                                FormatConversionException
NullConversionException - if one of the values is null
FormatConversionException - if one of the values cannot be convertedpublic java.lang.Object[] asObjectArray()
public java.util.List asObjectList()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||