|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.migration.model20.other.AbstractValues org.jboss.portal.migration.model20.other.StringValues
Field Summary | |
private java.lang.String[] |
values
The String array. |
Fields inherited from class org.jboss.portal.migration.model20.other.AbstractValues |
|
Constructor Summary | |
StringValues()
|
|
StringValues(java.lang.String value)
|
|
StringValues(java.lang.String[] values)
|
Method Summary | |
boolean |
asBoolean()
Return the value as a boolean. |
boolean[] |
asBooleanArray()
Default implementation throws FormatConversionException. |
int |
asInt()
Return the value as an int. |
int[] |
asIntArray()
Default implementation throws FormatConversionException. |
java.lang.String |
asString()
Return the value as a string. |
java.lang.String[] |
asStringArray()
Return the values as an array of string. |
protected java.lang.Object[] |
getObjects()
Must always return a non null array !!! |
Methods inherited from class org.jboss.portal.migration.model20.other.AbstractValues |
asObject, asObjectArray, asObjectList, equals, hashCode, isMultiValued, isNull, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String[] values
Constructor Detail |
public StringValues(java.lang.String[] values)
public StringValues(java.lang.String value)
public StringValues()
Method Detail |
public java.lang.String asString()
Value
public int asInt() throws NullConversionException, FormatConversionException
Value
asInt
in interface Value
asInt
in class AbstractValues
public boolean asBoolean() throws NullConversionException, FormatConversionException
Value
asBoolean
in interface Value
asBoolean
in class AbstractValues
public java.lang.String[] asStringArray()
Value
public int[] asIntArray() throws NullConversionException, FormatConversionException
AbstractValues
asIntArray
in interface Value
asIntArray
in class AbstractValues
public boolean[] asBooleanArray() throws NullConversionException, FormatConversionException
AbstractValues
asBooleanArray
in interface Value
asBooleanArray
in class AbstractValues
protected java.lang.Object[] getObjects()
AbstractValues
getObjects
in class AbstractValues
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |