|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.free2be.dimensions.decider.Decision
public class Decision
This class represents a decision, i.e. after analyzing the current situation, the engine "decides" which is the most currect decision among a set of suitable ones.
Constructor Summary | |
---|---|
Decision()
Creates a new instance of Decision |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Checks whether an object is equal to this decision. |
java.util.Set |
getParameterNameSet()
Returns the set of all entered parameters. |
java.lang.String |
getParameterValue(java.lang.String parameterName)
Returns the value of the given parameter. |
int |
hashCode()
Calculate the hash code of the object. |
void |
removeParameter(java.lang.String parameterName)
Removes a parameter from the decision. |
void |
setParameter(java.lang.String parameterName,
java.lang.String parameterValue)
Sets a parameter inside the decision. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Decision()
Method Detail |
---|
public java.util.Set getParameterNameSet()
public java.lang.String getParameterValue(java.lang.String parameterName)
parameterName
- The name of the parameter.
public void setParameter(java.lang.String parameterName, java.lang.String parameterValue)
parameterName
- The name of the parameter to set.parameterValue
- The value of the parameter.public void removeParameter(java.lang.String parameterName)
parameterName
- The name of the parameter to remove.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The object to test.
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |