Package org.drools.base.base.field
Class ObjectFieldImpl
java.lang.Object
org.drools.base.base.field.ObjectFieldImpl
- All Implemented Interfaces:
Externalizable,Serializable,FieldValue
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbytechardoublefloatintlongshortgetValue()inthashCode()booleanbooleanReturns true if the given field value implements the Collection interfacebooleanbooleanbooleanisNull()booleanbooleanvoidvoidsetFieldName(String fieldName) toString()void
-
Constructor Details
-
ObjectFieldImpl
public ObjectFieldImpl() -
ObjectFieldImpl
-
-
Method Details
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getValue
- Specified by:
getValuein interfaceFieldValue
-
toString
-
getBooleanValue
public boolean getBooleanValue()- Specified by:
getBooleanValuein interfaceFieldValue
-
getByteValue
public byte getByteValue()- Specified by:
getByteValuein interfaceFieldValue
-
getCharValue
public char getCharValue()- Specified by:
getCharValuein interfaceFieldValue
-
getDoubleValue
public double getDoubleValue()- Specified by:
getDoubleValuein interfaceFieldValue
-
getFloatValue
public float getFloatValue()- Specified by:
getFloatValuein interfaceFieldValue
-
getIntValue
public int getIntValue()- Specified by:
getIntValuein interfaceFieldValue
-
getLongValue
public long getLongValue()- Specified by:
getLongValuein interfaceFieldValue
-
getShortValue
public short getShortValue()- Specified by:
getShortValuein interfaceFieldValue
-
equals
-
hashCode
public int hashCode() -
isNull
public boolean isNull()- Specified by:
isNullin interfaceFieldValue
-
isBooleanField
public boolean isBooleanField()- Specified by:
isBooleanFieldin interfaceFieldValue
-
isFloatNumberField
public boolean isFloatNumberField()- Specified by:
isFloatNumberFieldin interfaceFieldValue
-
isIntegerNumberField
public boolean isIntegerNumberField()- Specified by:
isIntegerNumberFieldin interfaceFieldValue
-
isObjectField
public boolean isObjectField()- Specified by:
isObjectFieldin interfaceFieldValue
-
isCollectionField
public boolean isCollectionField()Description copied from interface:FieldValueReturns true if the given field value implements the Collection interface- Specified by:
isCollectionFieldin interfaceFieldValue- Returns:
-
isStringField
public boolean isStringField()- Specified by:
isStringFieldin interfaceFieldValue
-
getBigDecimalValue
- Specified by:
getBigDecimalValuein interfaceFieldValue
-
getBigIntegerValue
- Specified by:
getBigIntegerValuein interfaceFieldValue
-
getFieldName
-
setFieldName
-