org.csapi.jr.se.fw
Class LoadPolicy

java.lang.Object
  |
  +--org.csapi.jr.se.fw.LoadPolicy
All Implemented Interfaces:
java.io.Serializable

public final class LoadPolicy
extends java.lang.Object
implements java.io.Serializable

Defines the load balancing policy.

See Also:
Serialized Form

Constructor Summary
LoadPolicy()
          Creates a new LoadPolicy instance.
LoadPolicy(java.lang.String _loadPolicy)
          Creates a new LoadPolicy instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getLoadPolicy()
          This method returns a loadPolicy.
 int hashCode()
          Returns a hashcode value for the object.
 void setLoadPolicy(java.lang.String loadPolicy)
          This method sets a loadPolicy.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadPolicy

public LoadPolicy()
Creates a new LoadPolicy instance.


LoadPolicy

public LoadPolicy(java.lang.String _loadPolicy)
Creates a new LoadPolicy instance.

Parameters:
_loadPolicy -
Method Detail

getLoadPolicy

public java.lang.String getLoadPolicy()
This method returns a loadPolicy.

Returns:
a String value

setLoadPolicy

public void setLoadPolicy(java.lang.String loadPolicy)
This method sets a loadPolicy.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object