com.vodafone360.people.datatypes
Class ItemList

java.lang.Object
  extended by com.vodafone360.people.datatypes.BaseDataType
      extended by com.vodafone360.people.datatypes.ItemList

public class ItemList
extends BaseDataType

BaseDataType encapsulating a list of Items associated with data decoded from Hessian response data received from People server. Specifically associated with contact group relation, status message and group privacy responses.


Nested Class Summary
static class ItemList.Type
          Enumeration of data-types items that can be returned as an ItemList.
 
Field Summary
 java.util.List<BaseDataType> mItemList
          List-array of BaseDataType.
private  java.lang.Integer mItemsSize
           
 ItemList.Type mType
           
 
Constructor Summary
ItemList(ItemList.Type t)
           
 
Method Summary
 java.lang.String name()
          Return name of the current Data-type.
 void populateFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
          Create ItemList from Hashtable generate by Hessian-decoder.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mItemsSize

private java.lang.Integer mItemsSize

mType

public ItemList.Type mType

mItemList

public final java.util.List<BaseDataType> mItemList
List-array of BaseDataType.

Constructor Detail

ItemList

public ItemList(ItemList.Type t)
Method Detail

name

public java.lang.String name()
Return name of the current Data-type.

Specified by:
name in class BaseDataType
Returns:
String containing name of the data-type.

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

populateFromHashtable

public void populateFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
Create ItemList from Hashtable generate by Hessian-decoder.

Parameters:
hash - Hashtable containing ItemList parameters.


JavaDoc