Platform SDK Java 8.5 API Reference

com.genesyslab.platform.configuration.protocol.obj
Class ConfDataCollection<T>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<T>
              extended by com.genesyslab.platform.configuration.protocol.obj.ConfDataCollection<T>
Type Parameters:
T - type of collection objects
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<T>, java.util.Collection<T>, java.util.List<T>, java.util.RandomAccess
Direct Known Subclasses:
ConfIntegerCollection, ConfObjectsCollection, ConfStringCollection, ConfStructureCollection

public abstract class ConfDataCollection<T>
extends java.util.ArrayList<T>
implements java.lang.Cloneable

Base class for configuration data collections.
It is used for stand-alone objects collections and for representation of collection type objects attributes.

See Also:
ConfObjectsCollection, ConfStructureCollection, ConfIntegerCollection, ConfStringCollection, Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
protected ConfDataCollection(CfgDescription metadata)
           
protected ConfDataCollection(CfgDescription metadata, int initSize)
           
 
Method Summary
 ConfDataCollection<T> clone()
           
 CfgDescriptionAttributeReference getAttributeInfo()
          Returns reference to "this" attribute MetaData description or null if it is a stand-alone objects collection.
 CfgDescriptionClass getClassInfo()
          Returns class MetaData description of elements of this collection or null if collection is of primitive type elements.
 java.lang.String toString()
           
 java.lang.String toString(boolean truncate, boolean hideAllowed)
          Helper method for generation of string representation with object content.
protected  void toStringHelper(java.lang.StringBuilder buffer, java.lang.String prefix, boolean truncate, boolean hideAllowed)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

ConfDataCollection

protected ConfDataCollection(CfgDescription metadata)

ConfDataCollection

protected ConfDataCollection(CfgDescription metadata,
                             int initSize)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection<T>

clone

public ConfDataCollection<T> clone()
Overrides:
clone in class java.util.ArrayList<T>

toString

public java.lang.String toString(boolean truncate,
                                 boolean hideAllowed)
Helper method for generation of string representation with object content.

Parameters:
truncate - if this parameter value is "true", then resulting string should contain truncated long values and long collections.
hideAllowed - "true" value of this parameter means that values of "sensitive" attributes should not appear in the result string.
Returns:
string representation of the object.

toStringHelper

protected void toStringHelper(java.lang.StringBuilder buffer,
                              java.lang.String prefix,
                              boolean truncate,
                              boolean hideAllowed)

getAttributeInfo

public CfgDescriptionAttributeReference getAttributeInfo()
Returns reference to "this" attribute MetaData description or null if it is a stand-alone objects collection.

Returns:
attribute MetaData description or null.

getClassInfo

public CfgDescriptionClass getClassInfo()
Returns class MetaData description of elements of this collection or null if collection is of primitive type elements.

Returns:
class MetaData description or null

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.