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

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

public class FacetsImpl
extends BaseSchemaEntity
implements Facets

See Also:
Serialized Form

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

facetList

protected java.util.List<Facet> facetList

total

protected java.lang.Long total
Constructor Detail

FacetsImpl

public FacetsImpl()
Method Detail

getFacetList

public java.util.List<Facet> getFacetList()
Description copied from interface: Facets
Gets the value of the facetList 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 facetList property.

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

    getFacetList().add(newItem);
 

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

Specified by:
getFacetList in interface Facets

getTotal

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

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

setTotal

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

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