org.apache.shindig.social.core.model
Class BodyTypeImpl

java.lang.Object
  extended by org.apache.shindig.social.core.model.BodyTypeImpl
All Implemented Interfaces:
BodyType

public class BodyTypeImpl
extends Object
implements BodyType

see http://www.opensocial.org/Technical-Resources/opensocial-spec-v081/opensocial-reference#opensocial.BodyType.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.BodyType
BodyType.Field
 
Constructor Summary
BodyTypeImpl()
           
 
Method Summary
 String getBuild()
          The build of the person's body, specified as a string.
 String getEyeColor()
          The eye color of the person, specified as a string.
 String getHairColor()
          The hair color of the person, specified as a string.
 Float getHeight()
          The height of the person in meters, specified as a number.
 Float getWeight()
          The weight of the person in kilograms, specified as a number.
 void setBuild(String build)
          The build of the person's body, specified as a string.
 void setEyeColor(String eyeColor)
          The eye color of the person, specified as a string.
 void setHairColor(String hairColor)
          The hair color of the person, specified as a string.
 void setHeight(Float height)
          The height of the person in meters, specified as a number.
 void setWeight(Float weight)
          The weight of the person in kilograms, specified as a number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyTypeImpl

public BodyTypeImpl()
Method Detail

getBuild

public String getBuild()
Description copied from interface: BodyType
The build of the person's body, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getBuild in interface BodyType
Returns:
the build of the person's body

setBuild

public void setBuild(String build)
The build of the person's body, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setBuild in interface BodyType
Parameters:
build - the build of the person's body

getEyeColor

public String getEyeColor()
Description copied from interface: BodyType
The eye color of the person, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getEyeColor in interface BodyType
Returns:
the eye color of the person

setEyeColor

public void setEyeColor(String eyeColor)
The eye color of the person, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setEyeColor in interface BodyType
Parameters:
eyeColor - the eye color of the person

getHairColor

public String getHairColor()
Description copied from interface: BodyType
The hair color of the person, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getHairColor in interface BodyType
Returns:
the hair color of the person

setHairColor

public void setHairColor(String hairColor)
The hair color of the person, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setHairColor in interface BodyType
Parameters:
hairColor - the hair color of the person

getHeight

public Float getHeight()
Description copied from interface: BodyType
The height of the person in meters, specified as a number. Container support for this field is OPTIONAL.

Specified by:
getHeight in interface BodyType
Returns:
the height of the person in meters

setHeight

public void setHeight(Float height)
The height of the person in meters, specified as a number. Container support for this field is OPTIONAL.

Specified by:
setHeight in interface BodyType
Parameters:
height - the height of the person in meters

getWeight

public Float getWeight()
Description copied from interface: BodyType
The weight of the person in kilograms, specified as a number. Container support for this field is OPTIONAL.

Specified by:
getWeight in interface BodyType
Returns:
the weight of the person in kilograms

setWeight

public void setWeight(Float weight)
The weight of the person in kilograms, specified as a number. Container support for this field is OPTIONAL.

Specified by:
setWeight in interface BodyType
Parameters:
weight - weight of the person in kilograms


Copyright © 2007-2012. All Rights Reserved.