1 9 package org.jboss.portal.common.value; 10 11 12 import java.io.Serializable ; 13 import java.util.List ; 14 15 32 public interface Value extends Serializable 33 { 34 35 39 42 boolean isNull(); 43 44 47 String asString(); 48 49 55 int asInt() throws NullConversionException, FormatConversionException; 56 57 63 boolean asBoolean() throws NullConversionException, FormatConversionException; 64 65 69 Object asObject(); 70 71 75 78 boolean isMultiValued(); 79 80 83 String [] asStringArray(); 84 85 91 int[] asIntArray() throws NullConversionException, FormatConversionException; 92 93 99 boolean[] asBooleanArray() throws NullConversionException, FormatConversionException; 100 101 104 Object [] asObjectArray(); 105 106 109 List asObjectList(); 110 } 111 | Popular Tags |