Class ReevaluationTime

java.lang.Object
com.aquima.interactions.process.impl.ReevaluationTime
All Implemented Interfaces:
Serializable

public final class ReevaluationTime extends Object implements 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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    This interface holds the numeric id's of the various evaluate times.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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 Type
    Method
    Description
    boolean
    This method will compare this instance against the object passed to the method, and return true when both are identical.
    This method returns the evaluation time matching the specified name.
    int
    This method return the unique id of this evaluation time.
    This method return the name of the evaluation time.
    int
    This method returns a hash code based on the id of the evaluation time.
    This method returns a string containing descriptive information about this evaluation time.
    valueOf(int id)
    This method can be used to lookup an evaluation time instance of an id.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • WEEK

      public static final ReevaluationTime WEEK
      Predefined data type for the week time.
    • DAY

      public static final ReevaluationTime DAY
      Predefined data type for the day time.
    • HOUR

      public static final ReevaluationTime HOUR
      Predefined data type for the hour time.
    • MINUTE

      public static final ReevaluationTime MINUTE
      Predefined data type for the minute time.
    • NEVER

      public static final ReevaluationTime NEVER
      Predefined data type for the minute time.
  • Method Details

    • valueOf

      public static ReevaluationTime valueOf(int id)
      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

      public static ReevaluationTime forName(String name)
      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

      public String getName()
      This method return the name of the evaluation time.
      Returns:
      String containing the name of the evaluation time.
    • toString

      public String toString()
      This method returns a string containing descriptive information about this evaluation time.
      Overrides:
      toString in class Object
      Returns:
      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.
      Overrides:
      hashCode in class Object
      Returns:
      hash code based on the evaluation time id.
    • equals

      public boolean equals(Object obj)
      This method will compare this instance against the object passed to the method, and return true when both are identical.
      Overrides:
      equals in class Object
      Parameters:
      obj - The object that should be used to compare this evaluation time to.
      Returns:
      boolean indicating if the object passed is identical to this evaluation time.