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

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

public class LikesImpl
extends BaseSchemaEntity
implements Likes

See Also:
Serialized Form

Field Summary
protected  java.util.List<Like> likeList
           
private static long serialVersionUID
           
protected  java.lang.Long total
           
 
Fields inherited from class com.google.code.linkedinapi.schema.xpp.BaseSchemaEntity
LOG
 
Constructor Summary
LikesImpl()
           
 
Method Summary
 java.util.List<Like> getLikeList()
          Gets the value of the likeList property.
 java.lang.Long getTotal()
          Gets the value of the total property.
 void init(org.xmlpull.v1.XmlPullParser parser)
          Inits the.
 void setTotal(java.lang.Long value)
          Sets the value of the total 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

likeList

protected java.util.List<Like> likeList

total

protected java.lang.Long total
Constructor Detail

LikesImpl

public LikesImpl()
Method Detail

getLikeList

public java.util.List<Like> getLikeList()
Description copied from interface: Likes
Gets the value of the likeList 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 likeList property.

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

    getLikeList().add(newItem);
 

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

Specified by:
getLikeList in interface Likes

getTotal

public java.lang.Long getTotal()
Description copied from interface: Likes
Gets the value of the total property.

Specified by:
getTotal in interface Likes
Returns:
possible object is String

setTotal

public void setTotal(java.lang.Long value)
Description copied from interface: Likes
Sets the value of the total property.

Specified by:
setTotal in interface Likes
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