public class SchCandidate
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.Integer> |
candidates
A list of agent IDs that qualify for the swap/trade.
|
protected int |
candidatesNSizeIs
Number of elements in the "candidates" array
|
protected int |
gswAgentId
The ID of an agent whose schedule you would like to swap with some other agent's schedule.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
SchCandidate() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
java.util.List<java.lang.Integer> |
getCandidates()
Gets the value of the candidates property.
|
int |
getCandidatesNSizeIs()
Gets the value of the candidatesNSizeIs property.
|
int |
getGswAgentId()
Gets the value of the gswAgentId property.
|
int |
hashCode() |
void |
setCandidates(java.util.List<java.lang.Integer> candidates)
Sets the value of the candidates property.
|
void |
setCandidatesNSizeIs(int value)
Sets the value of the candidatesNSizeIs property.
|
void |
setGswAgentId(int value)
Sets the value of the gswAgentId property.
|
java.lang.String |
toString() |
SchCandidate |
withCandidates(java.util.Collection<java.lang.Integer> values) |
SchCandidate |
withCandidates(java.lang.Integer... values) |
SchCandidate |
withCandidatesNSizeIs(int value) |
SchCandidate |
withGswAgentId(int value) |
private static final long serialVersionUID
protected int gswAgentId
protected int candidatesNSizeIs
protected java.util.List<java.lang.Integer> candidates
public int getGswAgentId()
public void setGswAgentId(int value)
public int getCandidatesNSizeIs()
public void setCandidatesNSizeIs(int value)
public java.util.List<java.lang.Integer> getCandidates()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the candidates property.
For example, to add a new item, do as follows:
getCandidates().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
public SchCandidate withGswAgentId(int value)
public SchCandidate withCandidatesNSizeIs(int value)
public SchCandidate withCandidates(java.lang.Integer... values)
public SchCandidate withCandidates(java.util.Collection<java.lang.Integer> values)
public void setCandidates(java.util.List<java.lang.Integer> candidates)
candidates
- allowed object is
Integer
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2005-2016 Genesys Telecommunications Labs, Inc. All Rights Reserved.