Package org.drools.core.facttemplates
Class FieldTemplateImpl
- java.lang.Object
-
- org.drools.core.facttemplates.FieldTemplateImpl
-
- All Implemented Interfaces:
Externalizable
,Serializable
,FieldTemplate
public class FieldTemplateImpl extends Object implements FieldTemplate, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FieldTemplateImpl()
FieldTemplateImpl(String name, int index, Class clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
int
getIndex()
String
getName()
ValueType
getValueType()
int
hashCode()
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
-
-
-
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()
- Specified by:
getIndex
in interfaceFieldTemplate
-
getName
public String getName()
- Specified by:
getName
in interfaceFieldTemplate
-
getValueType
public ValueType getValueType()
- Specified by:
getValueType
in interfaceFieldTemplate
-
-