Interface BodyType
public interface BodyType
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe fields that represent the person object in serialized form. -
Method Summary
Modifier and TypeMethodDescriptiongetBuild()The build of the person's body, specified as a string.The eye color of the person, specified as a string.The hair color of the person, specified as a string.The height of the person in meters, specified as a number.The weight of the person in kilograms, specified as a number.voidThe 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.voidThe height of the person in meters, specified as a number.voidThe weight of the person in kilograms, specified as a number.
-
Method Details
-
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
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
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
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
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
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
-