Platform SDK Java 8.5 API Reference

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

java.lang.Object
  extended by com.genesyslab.platform.reporting.protocol.statserver.DnStatus
All Implemented Interfaces:
XmlSerializable, IStatisticState, IStatisticStatus, Printable
Direct Known Subclasses:
DnStatusEx

public class DnStatus
extends java.lang.Object
implements IStatisticStatus

Contains information about the status of a DN in the Genesys Configuration Layer.

Details may be found here - Object Statuses or Regular DN Status in the Stat Server User's Guide.
Or in the Stat Server Deployment Guide - Table and Column Descriptions.

See Also:
DnActions

Constructor Summary
DnStatus()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 void fromXml(org.w3c.dom.Element element, XmlUtil util)
           
 int getActionCount()
          Current number of actions on DN.
 DnActionCollection getActions()
          Current number of actions on DN.
 java.lang.String getDnId()
          Login ID for Aspect Switch; DN ID in CME for all other types of switches.
 int getGswDnTypes()
          GSW DN types.
 StatisticObjectType getObjectType()
           
 java.lang.String getRealDn()
          DN ID for all types of switches.
 int getStatus()
          Current DN status.
 java.lang.String getSwitchId()
          Switch ID in CME.
 long getTime()
          Time when this status became active.
 int hashCode()
           
 void setActions(DnActionCollection actions)
           
 void setDnId(java.lang.String dnId)
           
 void setGswDnTypes(int gswDnTypes)
           
 void setObjectType(StatisticObjectType objectType)
           
 void setRealDn(java.lang.String sRealDN)
           
 void setStatus(int dnStatus)
           
 void setSwitchId(java.lang.String switchId)
           
 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

DnStatus

public DnStatus()
Method Detail

getActions

public DnActionCollection getActions()
Current number of actions on DN.


getDnId

public java.lang.String getDnId()
Login ID for Aspect Switch; DN ID in CME for all other types of switches.


getSwitchId

public java.lang.String getSwitchId()
Switch ID in CME.


getGswDnTypes

public int getGswDnTypes()
GSW DN types.


getStatus

public int getStatus()
Current DN status.


getTime

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


getRealDn

public java.lang.String getRealDn()
DN ID for all types of switches.


getActionCount

public int getActionCount()
Current number of actions on DN.


getObjectType

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

setObjectType

public void setObjectType(StatisticObjectType objectType)

setDnId

public void setDnId(java.lang.String dnId)

setSwitchId

public void setSwitchId(java.lang.String switchId)

setGswDnTypes

public void setGswDnTypes(int gswDnTypes)

setStatus

public void setStatus(int dnStatus)

setTime

public void setTime(int timeActive)

setRealDn

public void setRealDn(java.lang.String sRealDN)

setActions

public void setActions(DnActionCollection actions)

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

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

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.