com.google.code.linkedinapi.schema.xpp
Class ErrorImpl

java.lang.Object
  extended by com.google.code.linkedinapi.schema.xpp.BaseSchemaEntity
      extended by com.google.code.linkedinapi.schema.xpp.ErrorImpl
All Implemented Interfaces:
Error, SchemaEntity, java.io.Serializable

public class ErrorImpl
extends BaseSchemaEntity
implements Error

See Also:
Serialized Form

Field Summary
protected  java.lang.String errorCode
           
protected  java.lang.String message
           
private static long serialVersionUID
           
protected  java.lang.Long status
           
protected  java.lang.Long timestamp
           
 
Fields inherited from class com.google.code.linkedinapi.schema.xpp.BaseSchemaEntity
LOG
 
Constructor Summary
ErrorImpl()
           
 
Method Summary
 java.lang.String getErrorCode()
          Gets the value of the errorCode property.
 java.lang.String getMessage()
          Gets the value of the message property.
 java.lang.Long getStatus()
          Gets the value of the status property.
 java.lang.Long getTimestamp()
          Gets the value of the timestamp property.
 void init(org.xmlpull.v1.XmlPullParser parser)
          Inits the.
 void setErrorCode(java.lang.String value)
          Sets the value of the errorCode property.
 void setMessage(java.lang.String value)
          Sets the value of the message property.
 void setStatus(java.lang.Long value)
          Sets the value of the status property.
 void setTimestamp(java.lang.Long value)
          Sets the value of the timestamp property.
 void toXml(org.xmlpull.v1.XmlSerializer serializer)
          To xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

status

protected java.lang.Long status

timestamp

protected java.lang.Long timestamp

errorCode

protected java.lang.String errorCode

message

protected java.lang.String message
Constructor Detail

ErrorImpl

public ErrorImpl()
Method Detail

getStatus

public java.lang.Long getStatus()
Description copied from interface: Error
Gets the value of the status property.

Specified by:
getStatus in interface Error
Returns:
possible object is String

setStatus

public void setStatus(java.lang.Long value)
Description copied from interface: Error
Sets the value of the status property.

Specified by:
setStatus in interface Error
Parameters:
value - allowed object is String

getTimestamp

public java.lang.Long getTimestamp()
Description copied from interface: Error
Gets the value of the timestamp property.

Specified by:
getTimestamp in interface Error
Returns:
possible object is String

setTimestamp

public void setTimestamp(java.lang.Long value)
Description copied from interface: Error
Sets the value of the timestamp property.

Specified by:
setTimestamp in interface Error
Parameters:
value - allowed object is String

getErrorCode

public java.lang.String getErrorCode()
Description copied from interface: Error
Gets the value of the errorCode property.

Specified by:
getErrorCode in interface Error
Returns:
possible object is String

setErrorCode

public void setErrorCode(java.lang.String value)
Description copied from interface: Error
Sets the value of the errorCode property.

Specified by:
setErrorCode in interface Error
Parameters:
value - allowed object is String

getMessage

public java.lang.String getMessage()
Description copied from interface: Error
Gets the value of the message property.

Specified by:
getMessage in interface Error
Returns:
possible object is String

setMessage

public void setMessage(java.lang.String value)
Description copied from interface: Error
Sets the value of the message property.

Specified by:
setMessage in interface Error
Parameters:
value - allowed object is String

init

public void init(org.xmlpull.v1.XmlPullParser parser)
          throws java.io.IOException,
                 org.xmlpull.v1.XmlPullParserException
Description copied from class: BaseSchemaEntity
Inits the.

Specified by:
init in class BaseSchemaEntity
Parameters:
parser - the element
Throws:
java.io.IOException - TODO
org.xmlpull.v1.XmlPullParserException - TODO

toXml

public void toXml(org.xmlpull.v1.XmlSerializer serializer)
           throws java.io.IOException
Description copied from class: BaseSchemaEntity
To xml.

Specified by:
toXml in class BaseSchemaEntity
Parameters:
serializer - the document
Throws:
java.io.IOException - TODO