Interface BodyType
-
public interface BodyType
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBodyType.FieldThe fields that represent the person object in serialized form.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBuild()The build of the person's body, specified as a string.StringgetEyeColor()The eye color of the person, specified as a string.StringgetHairColor()The hair color of the person, specified as a string.FloatgetHeight()The height of the person in meters, specified as a number.FloatgetWeight()The weight of the person in kilograms, specified as a number.voidsetBuild(String build)The build of the person's body, specified as a string.voidsetEyeColor(String eyeColor)The eye color of the person, specified as a string.voidsetHairColor(String hairColor)The hair color of the person, specified as a string.voidsetHeight(Float height)The height of the person in meters, specified as a number.voidsetWeight(Float weight)The weight of the person in kilograms, specified as a number.
-
-
-
Method Detail
-
getBuild
String getBuild()
The build of the person's body, specified as a string. Container support for this field is OPTIONAL.- Returns:
- the build of the person's body
-
setBuild
void setBuild(String build)
The build of the person's body, specified as a string. Container support for this field is OPTIONAL.- Parameters:
build- the build of the person's body
-
getEyeColor
String getEyeColor()
The eye color of the person, specified as a string. Container support for this field is OPTIONAL.- Returns:
- the eye color of the person
-
setEyeColor
void setEyeColor(String eyeColor)
The eye color of the person, specified as a string. Container support for this field is OPTIONAL.- Parameters:
eyeColor- the eye color of the person
-
getHairColor
String getHairColor()
The hair color of the person, specified as a string. Container support for this field is OPTIONAL.- Returns:
- the hair color of the person
-
setHairColor
void setHairColor(String hairColor)
The hair color of the person, specified as a string. Container support for this field is OPTIONAL.- Parameters:
hairColor- the hair color of the person
-
getHeight
Float getHeight()
The height of the person in meters, specified as a number. Container support for this field is OPTIONAL.- Returns:
- the height of the person in meters
-
setHeight
void setHeight(Float height)
The height of the person in meters, specified as a number. Container support for this field is OPTIONAL.- Parameters:
height- the height of the person in meters
-
getWeight
Float getWeight()
The weight of the person in kilograms, specified as a number. Container support for this field is OPTIONAL.- Returns:
- the weight of the person in kilograms
-
setWeight
void setWeight(Float weight)
The weight of the person in kilograms, specified as a number. Container support for this field is OPTIONAL.- Parameters:
weight- weight of the person in kilograms
-
-