Platform SDK Java 8.5 API Reference

com.genesyslab.platform.reporting.protocol.statserver
Class AgentReasons

java.lang.Object
  extended by com.genesyslab.platform.reporting.protocol.statserver.AgentReasons
All Implemented Interfaces:
XmlSerializable, IStatisticState, IStatisticStatus, Printable

public final class AgentReasons
extends java.lang.Object
implements IStatisticStatus


Constructor Summary
AgentReasons()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 void fromXml(org.w3c.dom.Element element, XmlUtil util)
           
 java.lang.String getAgentId()
           
 java.lang.String getLoginId()
           
 StatisticObjectType getObjectType()
           
 KeyValueCollection getReasons()
           
 int getStatus()
          Current agent status.
 long getTime()
          Time when this status became active.
 int hashCode()
           
 void setAgentId(java.lang.String agentId)
           
 void setLoginId(java.lang.String loginId)
           
 void setReasons(KeyValueCollection reasonsEx)
           
 void setStatus(int agentStatus)
           
 void setTime(int timeActive)
           
 java.lang.String toString()
           
 java.lang.String toString(int indent)
           
 org.w3c.dom.Element toXml(org.w3c.dom.Element element, XmlUtil util)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentReasons

public AgentReasons()
Method Detail

getObjectType

public StatisticObjectType getObjectType()
Specified by:
getObjectType in interface IStatisticState

getAgentId

public java.lang.String getAgentId()

getStatus

public int getStatus()
Current agent status.


getTime

public long getTime()
Time when this status became active.


getLoginId

public java.lang.String getLoginId()

getReasons

public KeyValueCollection getReasons()

setAgentId

public void setAgentId(java.lang.String agentId)

setLoginId

public void setLoginId(java.lang.String loginId)

setStatus

public void setStatus(int agentStatus)

setTime

public void setTime(int timeActive)

setReasons

public void setReasons(KeyValueCollection reasonsEx)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(int indent)
Specified by:
toString in interface Printable

toXml

public org.w3c.dom.Element toXml(org.w3c.dom.Element element,
                                 XmlUtil util)
                          throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
toXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

fromXml

public void fromXml(org.w3c.dom.Element element,
                    XmlUtil util)
             throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
fromXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.