站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

BooleanFieldImpl (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.base.field
Class BooleanFieldImpl

java.lang.Object
  extended by org.drools.base.field.BooleanFieldImpl
All Implemented Interfaces:
Serializable, FieldValue

public class BooleanFieldImpl
extends Object
implements FieldValue

Author:
etirelli
See Also:
Serialized Form

Constructor Summary
BooleanFieldImpl(boolean value)
           
 
Method Summary
 boolean equals(Object object)
           
 boolean getBooleanValue()
           
 byte getByteValue()
           
 char getCharValue()
           
 double getDoubleValue()
           
 float getFloatValue()
           
 int getIntValue()
           
 long getLongValue()
           
 short getShortValue()
           
 Object getValue()
           
 int hashCode()
           
 boolean isBooleanField()
           
 boolean isCollectionField()
          Returns true if the given field value implements the Collection interface
 boolean isFloatNumberField()
           
 boolean isIntegerNumberField()
           
 boolean isNull()
           
 boolean isObjectField()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanFieldImpl

public BooleanFieldImpl(boolean value)
Method Detail

getValue

public Object getValue()
Specified by:
getValue in interface FieldValue

toString

public String toString()
Overrides:
toString in class Object

getBooleanValue

public boolean getBooleanValue()
Specified by:
getBooleanValue in interface FieldValue

getByteValue

public byte getByteValue()
Specified by:
getByteValue in interface FieldValue

getCharValue

public char getCharValue()
Specified by:
getCharValue in interface FieldValue

getDoubleValue

public double getDoubleValue()
Specified by:
getDoubleValue in interface FieldValue

getFloatValue

public float getFloatValue()
Specified by:
getFloatValue in interface FieldValue

getIntValue

public int getIntValue()
Specified by:
getIntValue in interface FieldValue

getLongValue

public long getLongValue()
Specified by:
getLongValue in interface FieldValue

getShortValue

public short getShortValue()
Specified by:
getShortValue in interface FieldValue

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isNull

public boolean isNull()
Specified by:
isNull in interface FieldValue

isBooleanField

public boolean isBooleanField()
Specified by:
isBooleanField in interface FieldValue

isFloatNumberField

public boolean isFloatNumberField()
Specified by:
isFloatNumberField in interface FieldValue

isIntegerNumberField

public boolean isIntegerNumberField()
Specified by:
isIntegerNumberField in interface FieldValue

isObjectField

public boolean isObjectField()
Specified by:
isObjectField in interface FieldValue

isCollectionField

public boolean isCollectionField()
Description copied from interface: FieldValue
Returns true if the given field value implements the Collection interface

Specified by:
isCollectionField in interface FieldValue
Returns:


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.