Package org.drools.core.reteoo
Class CompositeObjectSinkAdapter.HashKey
- java.lang.Object
-
- org.drools.core.reteoo.CompositeObjectSinkAdapter.HashKey
-
- All Implemented Interfaces:
Externalizable
,Serializable
- Enclosing class:
- CompositeObjectSinkAdapter
public static class CompositeObjectSinkAdapter.HashKey extends Object implements Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HashKey()
HashKey(int index, FieldValue value, InternalReadAccessor extractor)
HashKey(CompositeObjectSinkAdapter.FieldIndex fieldIndex, Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
int
getIndex()
Object
getObjectValue()
int
hashCode()
void
readExternal(ObjectInput in)
void
setValue(int index, Object value, InternalReadAccessor extractor)
void
setValue(int index, InternalReadAccessor extractor, FieldValue value)
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
HashKey
public HashKey()
-
HashKey
public HashKey(CompositeObjectSinkAdapter.FieldIndex fieldIndex, Object value)
-
HashKey
public HashKey(int index, FieldValue value, InternalReadAccessor extractor)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getIndex
public int getIndex()
-
setValue
public void setValue(int index, Object value, InternalReadAccessor extractor)
-
setValue
public void setValue(int index, InternalReadAccessor extractor, FieldValue value)
-
getObjectValue
public Object getObjectValue()
-
-