org.drools.core.util
Class TripleImpl

java.lang.Object
  extended by org.drools.core.util.TripleImpl
All Implemented Interfaces:
Serializable, Entry, Triple

public class TripleImpl
extends Object
implements Triple

See Also:
Serialized Form

Constructor Summary
TripleImpl(Object instance, Object property, Object value)
           
TripleImpl(Object instance, String property, Object value)
           
 
Method Summary
 boolean equals(Object obj)
           
 Object getInstance()
           
 Entry getNext()
           
 Object getProperty()
           
 Object getValue()
           
 int hashCode()
           
 void setInstance(Object instance)
           
 void setNext(Entry next)
           
 void setProperty(Object property)
           
 void setValue(Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TripleImpl

public TripleImpl(Object instance,
                  String property,
                  Object value)

TripleImpl

public TripleImpl(Object instance,
                  Object property,
                  Object value)
Method Detail

setNext

public void setNext(Entry next)
Specified by:
setNext in interface Entry

getNext

public Entry getNext()
Specified by:
getNext in interface Entry

getInstance

public Object getInstance()
Specified by:
getInstance in interface Triple

setInstance

public void setInstance(Object instance)

getProperty

public Object getProperty()
Specified by:
getProperty in interface Triple

setProperty

public void setProperty(Object property)

getValue

public Object getValue()
Specified by:
getValue in interface Triple

setValue

public void setValue(Object value)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.