org.drools.common
Class RuleBasePartitionId

java.lang.Object
  extended by org.drools.common.RuleBasePartitionId
All Implemented Interfaces:
Serializable

public final class RuleBasePartitionId
extends Object
implements Serializable

A class to identify RuleBase partitions

See Also:
Serialized Form

Field Summary
static RuleBasePartitionId MAIN_PARTITION
           
 
Constructor Summary
RuleBasePartitionId(String id)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MAIN_PARTITION

public static final RuleBasePartitionId MAIN_PARTITION
Constructor Detail

RuleBasePartitionId

public RuleBasePartitionId(String id)
Method Detail

getId

public String getId()
Returns:
the id

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-2013 JBoss Inc.. All Rights Reserved.