Interface BodyType
-
public interface BodyType
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BodyType.Field
The fields that represent the person object in serialized form.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
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
-
-