com.genesyslab.wfm7.API.service.schedule761

## Class SchCandidate

- java.lang.Object
- - com.genesyslab.wfm7.API.service.schedule761.SchCandidate

- All Implemented Interfaces:
    java.io.Serializable

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

  Contains a list of agents who qualify for the schedule swap/trade with specified agent.
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private java.lang.Object` | `__equalsCalc`
    `private boolean` | `__hashCodeCalc`
    `private int[]` | `candidates` A list of agent IDs that qualify for the swap/trade.
    `private int` | `candidatesNSizeIs` Number of elements in the "candidates" array
    `private int` | `gswAgentId` The ID of an agent whose schedule you would like to swap with some other agent's schedule.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SchCandidate()`
    `SchCandidate(int gswAgentId, int candidatesNSizeIs, int[] candidates)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `int[]` | `getCandidates()` Gets the candidates value for this SchCandidate.
    `int` | `getCandidatesNSizeIs()` Gets the candidatesNSizeIs value for this SchCandidate.
    `int` | `getGswAgentId()` Gets the gswAgentId value for this SchCandidate.
    `int` | `hashCode()`
    `void` | `setCandidates(int[] candidates)` Sets the candidates value for this SchCandidate.
    `void` | `setCandidatesNSizeIs(int candidatesNSizeIs)` Sets the candidatesNSizeIs value for this SchCandidate.
    `void` | `setGswAgentId(int gswAgentId)` Sets the gswAgentId value for this SchCandidate.

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

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

- - ### Field Detail

    - #### gswAgentId

          private int gswAgentId

      The ID of an agent whose schedule you would like to swap with some other agent's schedule.

    - #### candidatesNSizeIs

          private int candidatesNSizeIs

      Number of elements in the "candidates" array

    - #### candidates

          private int[] candidates

      A list of agent IDs that qualify for the swap/trade.

    - #### __equalsCalc

          private java.lang.Object __equalsCalc

    - #### __hashCodeCalc

          private boolean __hashCodeCalc

  - ### Constructor Detail

    - #### SchCandidate

          public SchCandidate()

    - #### SchCandidate

          public SchCandidate(int gswAgentId,
                      int candidatesNSizeIs,
                      int[] candidates)

  - ### Method Detail

    - #### getGswAgentId

          public int getGswAgentId()

      Gets the gswAgentId value for this SchCandidate.
      Returns:
        gswAgentId

    - #### setGswAgentId

          public void setGswAgentId(int gswAgentId)

      Sets the gswAgentId value for this SchCandidate.
      Parameters:
        `gswAgentId` -

    - #### getCandidatesNSizeIs

          public int getCandidatesNSizeIs()

      Gets the candidatesNSizeIs value for this SchCandidate.
      Returns:
        candidatesNSizeIs

    - #### setCandidatesNSizeIs

          public void setCandidatesNSizeIs(int candidatesNSizeIs)

      Sets the candidatesNSizeIs value for this SchCandidate.
      Parameters:
        `candidatesNSizeIs` -

    - #### getCandidates

          public int[] getCandidates()

      Gets the candidates value for this SchCandidate.
      Returns:
        candidates

    - #### setCandidates

          public void setCandidates(int[] candidates)

      Sets the candidates value for this SchCandidate.
      Parameters:
        `candidates` -

    - #### 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.