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

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

public class FacetImpl
extends BaseSchemaEntity
implements Facet

See Also:
Serialized Form

Field Summary
protected  BucketsImpl buckets
           
protected  FacetType code
           
protected  java.lang.String name
           
private static long serialVersionUID
           
 
Fields inherited from class com.google.code.linkedinapi.schema.xpp.BaseSchemaEntity
LOG
 
Constructor Summary
FacetImpl()
           
 
Method Summary
 Buckets getBuckets()
          Gets the value of the buckets property.
 FacetType getCode()
          Gets the value of the code property.
 java.lang.String getName()
          Gets the value of the name property.
 void init(org.xmlpull.v1.XmlPullParser parser)
          Inits the.
 void setBuckets(Buckets value)
          Sets the value of the buckets property.
 void setCode(FacetType value)
          Sets the value of the code property.
 void setName(java.lang.String value)
          Sets the value of the name 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

name

protected java.lang.String name

code

protected FacetType code

buckets

protected BucketsImpl buckets
Constructor Detail

FacetImpl

public FacetImpl()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Facet
Gets the value of the name property.

Specified by:
getName in interface Facet
Returns:
possible object is String

setName

public void setName(java.lang.String value)
Description copied from interface: Facet
Sets the value of the name property.

Specified by:
setName in interface Facet
Parameters:
value - allowed object is String

getCode

public FacetType getCode()
Description copied from interface: Facet
Gets the value of the code property.

Specified by:
getCode in interface Facet
Returns:
possible object is FacetType

setCode

public void setCode(FacetType value)
Description copied from interface: Facet
Sets the value of the code property.

Specified by:
setCode in interface Facet
Parameters:
value - allowed object is FacetType

getBuckets

public Buckets getBuckets()
Description copied from interface: Facet
Gets the value of the buckets property.

Specified by:
getBuckets in interface Facet
Returns:
possible object is Buckets

setBuckets

public void setBuckets(Buckets value)
Description copied from interface: Facet
Sets the value of the buckets property.

Specified by:
setBuckets in interface Facet
Parameters:
value - allowed object is Buckets

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