org.drools.facttemplates
Class FieldTemplateImpl

java.lang.Object
  extended by org.drools.facttemplates.FieldTemplateImpl
All Implemented Interfaces:
Externalizable, Serializable, FieldTemplate

public class FieldTemplateImpl
extends Object
implements FieldTemplate, Externalizable

See Also:
Serialized Form

Constructor Summary
FieldTemplateImpl()
           
FieldTemplateImpl(String name, int index, Class clazz)
           
 
Method Summary
 boolean equals(Object object)
           
 int getIndex()
           
 String getName()
           
 ValueType getValueType()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldTemplateImpl

public FieldTemplateImpl()

FieldTemplateImpl

public FieldTemplateImpl(String name,
                         int index,
                         Class clazz)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

getIndex

public int getIndex()
Specified by:
getIndex in interface FieldTemplate

getName

public String getName()
Specified by:
getName in interface FieldTemplate

getValueType

public ValueType getValueType()
Specified by:
getValueType in interface FieldTemplate

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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