站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

IntegerValue - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration.model20.other
Class IntegerValue

java.lang.Object
  extended byorg.jboss.portal.migration.model20.other.AbstractValue
      extended byorg.jboss.portal.migration.model20.other.IntegerValue
All Implemented Interfaces:
java.io.Serializable, Value

public class IntegerValue
extends AbstractValue

See Also:
Serialized Form

Constructor Summary
IntegerValue()
           
IntegerValue(int _value)
           
IntegerValue(java.lang.Integer value)
           
IntegerValue(java.lang.String value)
           
 
Method Summary
 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
asBoolean, 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

IntegerValue

public IntegerValue()

IntegerValue

public IntegerValue(java.lang.String value)

IntegerValue

public IntegerValue(int _value)

IntegerValue

public IntegerValue(java.lang.Integer value)
Method Detail

asString

public java.lang.String asString()
Description copied from interface: Value
Return the value as a string.


asInt

public int asInt()
          throws NullConversionException,
                 FormatConversionException
Description copied from interface: Value
Return the value as an int.

Specified by:
asInt in interface Value
Overrides:
asInt in class AbstractValue
Throws:
NullConversionException
FormatConversionException

asObject

public java.lang.Object asObject()
Description copied from interface: Value
Return the value.


asObjectArray

public java.lang.Object[] asObjectArray()
Description copied from interface: Value
Return the values as an array of converted object.