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

IntegerValue - JBOSS Portal 2.6 API 英文版文档


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

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

public class IntegerValue
extends Value

Version:
$Revision: 5449 $
Author:
Julien Viet
See Also:
Serialized Form

Field Summary
private  java.lang.Integer[] values
          The Integer array.
 
Fields inherited from class org.jboss.portal.migration.model22.other.Value
 
Constructor Summary
IntegerValue()
           
IntegerValue(int _value)
           
IntegerValue(int[] _values)
           
IntegerValue(java.lang.Integer integer)
           
IntegerValue(java.lang.Integer[] values)
           
IntegerValue(java.lang.String value)
           
IntegerValue(java.lang.String[] values)
           
 
Method Summary
 java.lang.Object[] asObjectArray()
          Return the values as an array of converted object.
 java.lang.String asString()
          Return the value as a string or null if the value is null.
 java.lang.String[] asStringArray()
          Return the values as an array of string.
 boolean isInstanceOf(java.lang.Class clazz)
           
 
Methods inherited from class org.jboss.portal.migration.model22.other.Value
asObject, equals, hashCode, isEmpty, isMultiValued, isNull, size, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

values

private java.lang.Integer[] values
The Integer array.

Constructor Detail

IntegerValue

public IntegerValue()

IntegerValue

public IntegerValue(java.lang.Integer integer)

IntegerValue

public IntegerValue(int _value)

IntegerValue

public IntegerValue(java.lang.String value)

IntegerValue

public IntegerValue(java.lang.Integer[] values)

IntegerValue

public IntegerValue(int[] _values)

IntegerValue

public IntegerValue(java.lang.String[] values)
             throws java.lang.IllegalArgumentException
Method Detail

isInstanceOf

public boolean isInstanceOf(java.lang.Class clazz)
Specified by:
isInstanceOf in class Value

asStringArray

public java.lang.String[] asStringArray()
Description copied from class: Value
Return the values as an array of string.

Overrides:
asStringArray in class Value

asString

public java.lang.String asString()
Description copied from class: Value
Return the value as a string or null if the value is null.

Overrides:
asString in class Value

asObjectArray

public java.lang.Object[] asObjectArray()
Description copied from class: Value
Return the values as an array of converted object. Must always return a non null array !!!

Specified by:
asObjectArray in class Value