org.drools.base.field
Class ClassFieldImpl
java.lang.Object
org.drools.base.field.ClassFieldImpl
- All Implemented Interfaces:
- Externalizable, Serializable, FieldValue
public class ClassFieldImpl
- extends Object
- implements FieldValue, Externalizable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassFieldImpl
public ClassFieldImpl(Class value)
ClassFieldImpl
public ClassFieldImpl(String value)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
getValue
public Object getValue()
- Specified by:
getValue
in interface FieldValue
resolve
public Object resolve(InternalWorkingMemory workingMemory)
getCharValue
public char getCharValue()
- Specified by:
getCharValue
in interface FieldValue
getBigDecimalValue
public BigDecimal getBigDecimalValue()
- Specified by:
getBigDecimalValue
in interface FieldValue
getBigIntegerValue
public BigInteger getBigIntegerValue()
- Specified by:
getBigIntegerValue
in interface FieldValue
getIntValue
public int getIntValue()
- Specified by:
getIntValue
in interface FieldValue
getByteValue
public byte getByteValue()
- Specified by:
getByteValue
in interface FieldValue
getShortValue
public short getShortValue()
- Specified by:
getShortValue
in interface FieldValue
getLongValue
public long getLongValue()
- Specified by:
getLongValue
in interface FieldValue
getFloatValue
public float getFloatValue()
- Specified by:
getFloatValue
in interface FieldValue
getDoubleValue
public double getDoubleValue()
- Specified by:
getDoubleValue
in interface FieldValue
getBooleanValue
public boolean getBooleanValue()
- Specified by:
getBooleanValue
in interface FieldValue
isNull
public boolean isNull()
- Specified by:
isNull
in interface FieldValue
isBooleanField
public boolean isBooleanField()
- Specified by:
isBooleanField
in interface FieldValue
isIntegerNumberField
public boolean isIntegerNumberField()
- Specified by:
isIntegerNumberField
in interface FieldValue
isFloatNumberField
public boolean isFloatNumberField()
- Specified by:
isFloatNumberField
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:
isStringField
public boolean isStringField()
- Specified by:
isStringField
in interface FieldValue
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.