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

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

public class PositionsImpl
extends BaseSchemaEntity
implements Positions

See Also:
Serialized Form

Field Summary
protected  java.util.List<Position> positionList
           
private static long serialVersionUID
           
protected  java.lang.Long total
           
 
Fields inherited from class com.google.code.linkedinapi.schema.xpp.BaseSchemaEntity
LOG
 
Constructor Summary
PositionsImpl()
           
 
Method Summary
 java.util.List<Position> getPositionList()
          Gets the value of the positionList 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

positionList

protected java.util.List<Position> positionList

total

protected java.lang.Long total
Constructor Detail

PositionsImpl

public PositionsImpl()
Method Detail

getPositionList

public java.util.List<Position> getPositionList()
Description copied from interface: Positions
Gets the value of the positionList 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 positionList property.

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

    getPositionList().add(newItem);
 

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

Specified by:
getPositionList in interface Positions

getTotal

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

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

setTotal

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

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