com.genesyslab.wfm7.API.service.schedule712

## Class SchState

- java.lang.Object
- - com.genesyslab.wfm7.API.service.schedule712.SchState

- All Implemented Interfaces:
    java.io.Serializable

      public class SchState
      extends java.lang.Object
      implements java.io.Serializable

  The schedule state is a most basic element of agent's schedule. The agent schedule is built on day basis and every day schedule contains one or more states scheduled. At any given moment during the day agent is assigned one schedule state (in most cases). There is one exception to that. Multi-skilled agent can be scheduled to work on more than one activity at the same time. In such case agent may have more than one schedule state for the same period of time. Usually schedule states have defined start and end times but some states are full-day in their nature and have no start and end time defined.
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private java.lang.Object` | `__equalsCalc`
    `private boolean` | `__hashCodeCalc`
    `private double` | `wmEndDateTime` Schedule state end date/time.
    `private boolean` | `wmPaid` Is state paid (true/false)
    `private double` | `wmStartDateTime` Schedule state start date/time.
    `private int` | `wmStateId` State ID, identifies some configuration object depending on "wmStateType" value
    `private int` | `wmStateType` State type `ESchStateType`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SchState()`
    `SchState(int wmStateType, int wmStateId, double wmStartDateTime, double wmEndDateTime, boolean wmPaid)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `double` | `getWmEndDateTime()` Gets the wmEndDateTime value for this SchState.
    `double` | `getWmStartDateTime()` Gets the wmStartDateTime value for this SchState.
    `int` | `getWmStateId()` Gets the wmStateId value for this SchState.
    `int` | `getWmStateType()` Gets the wmStateType value for this SchState.
    `int` | `hashCode()`
    `boolean` | `isWmPaid()` Gets the wmPaid value for this SchState.
    `void` | `setWmEndDateTime(double wmEndDateTime)` Sets the wmEndDateTime value for this SchState.
    `void` | `setWmPaid(boolean wmPaid)` Sets the wmPaid value for this SchState.
    `void` | `setWmStartDateTime(double wmStartDateTime)` Sets the wmStartDateTime value for this SchState.
    `void` | `setWmStateId(int wmStateId)` Sets the wmStateId value for this SchState.
    `void` | `setWmStateType(int wmStateType)` Sets the wmStateType value for this SchState.

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### wmStateType

          private int wmStateType

      State type `ESchStateType`

    - #### wmStateId

          private int wmStateId

      State ID, identifies some configuration object depending on "wmStateType" value

    - #### wmStartDateTime

          private double wmStartDateTime

      Schedule state start date/time. `OleDateTime`

    - #### wmEndDateTime

          private double wmEndDateTime

      Schedule state end date/time. `OleDateTime`

    - #### wmPaid

          private boolean wmPaid

      Is state paid (true/false)

    - #### __equalsCalc

          private java.lang.Object __equalsCalc

    - #### __hashCodeCalc

          private boolean __hashCodeCalc

  - ### Constructor Detail

    - #### SchState

          public SchState()

    - #### SchState

          public SchState(int wmStateType,
                  int wmStateId,
                  double wmStartDateTime,
                  double wmEndDateTime,
                  boolean wmPaid)

  - ### Method Detail

    - #### getWmStateType

          public int getWmStateType()

      Gets the wmStateType value for this SchState.
      Returns:
        wmStateType

    - #### setWmStateType

          public void setWmStateType(int wmStateType)

      Sets the wmStateType value for this SchState.
      Parameters:
        `wmStateType` -

    - #### getWmStateId

          public int getWmStateId()

      Gets the wmStateId value for this SchState.
      Returns:
        wmStateId

    - #### setWmStateId

          public void setWmStateId(int wmStateId)

      Sets the wmStateId value for this SchState.
      Parameters:
        `wmStateId` -

    - #### getWmStartDateTime

          public double getWmStartDateTime()

      Gets the wmStartDateTime value for this SchState.
      Returns:
        wmStartDateTime

    - #### setWmStartDateTime

          public void setWmStartDateTime(double wmStartDateTime)

      Sets the wmStartDateTime value for this SchState.
      Parameters:
        `wmStartDateTime` -

    - #### getWmEndDateTime

          public double getWmEndDateTime()

      Gets the wmEndDateTime value for this SchState.
      Returns:
        wmEndDateTime

    - #### setWmEndDateTime

          public void setWmEndDateTime(double wmEndDateTime)

      Sets the wmEndDateTime value for this SchState.
      Parameters:
        `wmEndDateTime` -

    - #### isWmPaid

          public boolean isWmPaid()

      Gets the wmPaid value for this SchState.
      Returns:
        wmPaid

    - #### setWmPaid

          public void setWmPaid(boolean wmPaid)

      Sets the wmPaid value for this SchState.
      Parameters:
        `wmPaid` -

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

Copyright © 2005-2016 Genesys Telecommunications Labs, Inc. All Rights Reserved.