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

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

public class AnswersImpl
extends BaseSchemaEntity
implements Answers

See Also:
Serialized Form

Field Summary
protected  java.util.List<Answer> answerList
           
protected  java.lang.Long count
           
private static long serialVersionUID
           
 
Fields inherited from class com.google.code.linkedinapi.schema.xpp.BaseSchemaEntity
LOG
 
Constructor Summary
AnswersImpl()
           
 
Method Summary
 java.util.List<Answer> getAnswerList()
          Gets the value of the answerList property.
 java.lang.Long getCount()
          Gets the value of the count property.
 void init(org.xmlpull.v1.XmlPullParser parser)
          Inits the.
 void setCount(java.lang.Long value)
          Sets the value of the count 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

answerList

protected java.util.List<Answer> answerList

count

protected java.lang.Long count
Constructor Detail

AnswersImpl

public AnswersImpl()
Method Detail

getAnswerList

public java.util.List<Answer> getAnswerList()
Description copied from interface: Answers
Gets the value of the answerList property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the answerList property.

For example, to add a new item, do as follows:

    getAnswerList().add(newItem);
 

Objects of the following type(s) are allowed in the list Answer

Specified by:
getAnswerList in interface Answers

getCount

public java.lang.Long getCount()
Description copied from interface: Answers
Gets the value of the count property.

Specified by:
getCount in interface Answers
Returns:
possible object is String

setCount

public void setCount(java.lang.Long value)
Description copied from interface: Answers
Sets the value of the count property.

Specified by:
setCount in interface Answers
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