|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.migration.model20.other.AbstractValues
org.jboss.portal.migration.model20.other.BooleanValues
| Constructor Summary | |
BooleanValues(boolean value)
|
|
BooleanValues(java.lang.Boolean value)
|
|
BooleanValues(boolean[] _values)
|
|
BooleanValues(java.lang.Boolean[] values)
|
|
BooleanValues(java.lang.String[] values)
|
|
| Method Summary | |
boolean |
asBoolean()
Return the value as a boolean. |
boolean[] |
asBooleanArray()
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 |
asInt, asIntArray, asObject, asObjectArray, asObjectList, equals, hashCode, isMultiValued, isNull, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BooleanValues(java.lang.String[] values)
throws java.lang.IllegalArgumentException
public BooleanValues(java.lang.Boolean value)
public BooleanValues(java.lang.Boolean[] values)
public BooleanValues(boolean value)
public BooleanValues(boolean[] _values)
| Method Detail |
public java.lang.String[] asStringArray()
Value
public boolean[] asBooleanArray()
throws NullConversionException,
FormatConversionException
AbstractValues
asBooleanArray in interface ValueasBooleanArray in class AbstractValuespublic java.lang.String asString()
Value
public boolean asBoolean()
throws NullConversionException,
FormatConversionException
Value
asBoolean in interface ValueasBoolean in class AbstractValuesprotected 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 | |||||||||