org.drools.rule
Class Variable

java.lang.Object
  extended by org.drools.rule.Variable
All Implemented Interfaces:
Externalizable, Serializable

public class Variable
extends Object
implements Externalizable

See Also:
Serialized Form

Field Summary
static Variable variable
           
 
Constructor Summary
Variable()
           
Variable(Object[] values, int position)
           
 
Method Summary
 int getIndex()
           
 Object getValue()
           
 boolean isSet()
           
 void readExternal(ObjectInput in)
           
 void setValue(Object value)
           
 String toString()
           
 void unSet()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

variable

public static final Variable variable
Constructor Detail

Variable

public Variable()

Variable

public Variable(Object[] values,
                int position)
Method Detail

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()

setValue

public void setValue(Object value)

toString

public String toString()
Overrides:
toString in class Object

isSet

public boolean isSet()

unSet

public void unSet()

getIndex

public int getIndex()


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