Platform SDK Java 8.5 API Reference

com.genesyslab.platform.reporting.protocol.statserver
Class BaseCollection<T>

java.lang.Object
  extended by com.genesyslab.platform.reporting.protocol.statserver.BaseCollection<T>
All Implemented Interfaces:
XmlSerializable, Printable
Direct Known Subclasses:
AgentInfoCollection, AgentReasonsCollection, AgentStatusesCollection, CurrentTargetStateSnapshot, DnActionCollection, DnStatusesCollection, DnStatusExCollection, MediaCapacityInfoCollection, PlaceStatusesCollection, RequestInfoCollection, StringList

public abstract class BaseCollection<T>
extends java.lang.Object
implements Printable, XmlSerializable


Constructor Summary
protected BaseCollection()
           
 
Method Summary
protected  boolean add(T val)
           
 boolean equals(java.lang.Object obj)
           
 void fromXml(org.w3c.dom.Element element, XmlUtil util)
           
 int getCount()
           
abstract  java.lang.Class<T> getElementClass()
           
 T getItem(int i)
           
 int hashCode()
           
 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

BaseCollection

protected BaseCollection()
Method Detail

getCount

public int getCount()

getItem

public T getItem(int i)

add

protected boolean add(T val)

getElementClass

public abstract java.lang.Class<T> getElementClass()

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.