com.vodafone360.people.datatypes
Class ContactDetailDeletion

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

public class ContactDetailDeletion
extends BaseDataType

BaseDataType representing Contact detail deletion information retrieved from server


Nested Class Summary
private static class ContactDetailDeletion.Tags
          Tags associated with ContactDetailDeletion item.
 
Field Summary
 java.lang.Integer mContactId
           
 java.util.List<ContactDetail> mDetails
           
 java.lang.Integer mServerVersionAfter
           
 java.lang.Integer mServerVersionBefore
           
 
Constructor Summary
ContactDetailDeletion()
           
 
Method Summary
 ContactDetailDeletion createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
          Create ContactDetailDeletion from Hashtable generated by Hessian-decoder
private  ContactDetailDeletion.Tags findTag(java.lang.String tag)
          Find Tags item for specified String
 java.lang.String name()
          Return name of the current Data-type.
private  void setValue(ContactDetailDeletion.Tags tag, java.lang.Object obj)
          Sets the value of the member data item associated with the specified tag.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mServerVersionBefore

public java.lang.Integer mServerVersionBefore

mServerVersionAfter

public java.lang.Integer mServerVersionAfter

mContactId

public java.lang.Integer mContactId

mDetails

public java.util.List<ContactDetail> mDetails
Constructor Detail

ContactDetailDeletion

public ContactDetailDeletion()
Method Detail

findTag

private ContactDetailDeletion.Tags findTag(java.lang.String tag)
Find Tags item for specified String

Parameters:
tag - String value to find Tags item for
Returns:
Tags item for specified String, null otherwise

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

createFromHashtable

public ContactDetailDeletion createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
Create ContactDetailDeletion from Hashtable generated by Hessian-decoder

Parameters:
hash - Hashtable containing Contact detail deletion parameters
Returns:
ContactDetailDeletion instance generated from hashtable

setValue

private void setValue(ContactDetailDeletion.Tags tag,
                      java.lang.Object obj)
Sets the value of the member data item associated with the specified tag.

Parameters:
tag - Current tag
obj - Value associated with the tag


JavaDoc