Class ReevaluationTime
java.lang.Object
com.aquima.interactions.process.impl.ReevaluationTime
- All Implemented Interfaces:
Serializable
This class defines all the reevaluate times that are supported.
- Since:
- 9.1
- Author:
- B. van de Ven, T. Middeldorp
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
This interface holds the numeric id's of the various evaluate times. -
Field Summary
Modifier and TypeFieldDescriptionstatic final ReevaluationTime
Predefined data type for the day time.static final ReevaluationTime
Predefined data type for the hour time.static final ReevaluationTime
Predefined data type for the minute time.static final ReevaluationTime
Predefined data type for the minute time.static final ReevaluationTime
Predefined data type for the week time. -
Method Summary
Modifier and TypeMethodDescriptionboolean
This method will compare this instance against the object passed to the method, and return true when both are identical.static ReevaluationTime
This method returns the evaluation time matching the specified name.int
getId()
This method return the unique id of this evaluation time.getName()
This method return the name of the evaluation time.int
hashCode()
This method returns a hash code based on the id of the evaluation time.toString()
This method returns a string containing descriptive information about this evaluation time.static ReevaluationTime
valueOf
(int id) This method can be used to lookup an evaluation time instance of an id.
-
Field Details
-
WEEK
Predefined data type for the week time. -
DAY
Predefined data type for the day time. -
HOUR
Predefined data type for the hour time. -
MINUTE
Predefined data type for the minute time. -
NEVER
Predefined data type for the minute time.
-
-
Method Details
-
valueOf
This method can be used to lookup an evaluation time instance of an id. When an invalid id is passed to this method a SysException will be thrown. The list of valid id's is specified in the Id interface.- Parameters:
id
- integer containing the id of the evaluation time that should be returned.- Returns:
- evaluation time instance for the specified id.
-
forName
This method returns the evaluation time matching the specified name.- Parameters:
name
- The name of the requested evaluation time.- Returns:
- The evaluation time matching the specified name.
-
getId
public int getId()This method return the unique id of this evaluation time.- Returns:
- integer containing the unique id of the evaluation time.
-
getName
This method return the name of the evaluation time.- Returns:
- String containing the name of the evaluation time.
-
toString
This method returns a string containing descriptive information about this evaluation time. -
hashCode
public int hashCode()This method returns a hash code based on the id of the evaluation time. -
equals
This method will compare this instance against the object passed to the method, and return true when both are identical.
-