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