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 java.lang.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
 java.lang.String getBuild()
          The build of the person's body, specified as a string.
 java.lang.String getEyeColor()
          The eye color of the person, specified as a string.
 java.lang.String getHairColor()
          The hair color of the person, specified as a string.
 java.lang.Float getHeight()
          The height of the person in meters, specified as a number.
 java.lang.Float getWeight()
          The weight of the person in kilograms, specified as a number.
 void setBuild(java.lang.String build)
          The build of the person's body, specified as a string.
 void setEyeColor(java.lang.String eyeColor)
          The eye color of the person, specified as a string.
 void setHairColor(java.lang.String hairColor)
          The hair color of the person, specified as a string.
 void setHeight(java.lang.Float height)
          The height of the person in meters, specified as a number.
 void setWeight(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 The Apache Software Foundation. All Rights Reserved.