com.vodafone360.people.datatypes
Class StatusMsg

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

public class StatusMsg
extends BaseDataType

BaseDataType encapsulating a Status message returned from server


Nested Class Summary
private static class StatusMsg.Tags
          Enumeration of Tags for StatusMsg item.
 
Field Summary
 java.lang.String mCode
           
 java.lang.Boolean mDryRun
           
 java.lang.String mError
           
 java.lang.Boolean mStatus
           
 
Constructor Summary
StatusMsg()
           
 
Method Summary
 StatusMsg createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
          Populate Identity from supplied Hashtable.
 int describeContents()
          
 java.lang.String name()
          Return name of the current Data-type.
private  void setValue(StatusMsg.Tags tag, java.lang.Object val)
          Sets the value of the member data item associated with the specified tag.
 java.lang.String toString()
          
 void writeToParcel(Parcel dest, int flags)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mStatus

public java.lang.Boolean mStatus

mDryRun

public java.lang.Boolean mDryRun

mCode

public java.lang.String mCode

mError

public final java.lang.String mError
Constructor Detail

StatusMsg

public StatusMsg()
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.

createFromHashtable

public StatusMsg createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
Populate Identity from supplied Hashtable.

Parameters:
hash - Hashtable containing identity details
Returns:
Identity instance

setValue

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

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

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

describeContents

public int describeContents()


writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)



JavaDoc