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

BooleanValue - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.common.value
Class BooleanValue

java.lang.Object
  extended byorg.jboss.portal.common.value.Value
      extended byorg.jboss.portal.common.value.BooleanValue
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class BooleanValue
extends Value

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

Nested Class Summary
 
Nested classes inherited from class org.jboss.portal.common.value.Value
 
Field Summary
private static long serialVersionUID
          The serialVersionUID
private  java.lang.Boolean[] values
          The Boolean array.
 
Fields inherited from class org.jboss.portal.common.value.Value
 
Constructor Summary
BooleanValue()
           
BooleanValue(boolean value)
           
BooleanValue(java.lang.Boolean value)
           
BooleanValue(boolean[] _values)
           
BooleanValue(java.lang.Boolean[] values)
           
BooleanValue(java.lang.String value)
           
BooleanValue(java.lang.String[] values)
           
 
Method Summary
protected  java.lang.Object[] getObjectArray()
          Return the values as an array of converted object.
 boolean isInstanceOf(java.lang.Class clazz)
           
 
Methods inherited from class org.jboss.portal.common.value.Value
asObject, asObjectArray, asObjectList, asString, asStringArray, asStringList, clone, equals, hashCode, isEmpty, isMultiValued, isNull, size, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The serialVersionUID

See Also:
Constant Field Values

values

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

Constructor Detail

BooleanValue

public BooleanValue()

BooleanValue

public BooleanValue(java.lang.Boolean value)

BooleanValue

public BooleanValue(boolean value)

BooleanValue

public BooleanValue(java.lang.String value)

BooleanValue

public BooleanValue(java.lang.Boolean[] values)

BooleanValue

public BooleanValue(boolean[] _values)

BooleanValue

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

isInstanceOf

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

getObjectArray

protected java.lang.Object[] getObjectArray()
Description copied from class: Value
Return the values as an array of converted object. It must always return a non null array.

Specified by:
getObjectArray in class Value