public class BodyLengthTestBean extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
LENGTH_OF_AVERAGE_PERSON
Average length of Dutch men in 2012.
|
static int |
LENGTH_OF_TALL_PERSON
Length of a person who is taller than average.
|
| Constructor and Description |
|---|
BodyLengthTestBean() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getLengthFromCentimeters()
Gets the length in centimeters from input in centimeters.
|
int |
getLengthFromFeetAndInches()
Gets the length in centimeters from input in feet and inches.
|
void |
setLengthFromCentimeters(Integer lengthFromCentimeters)
Sets the length in centimeters from input in centimeters.
|
void |
setLengthFromFeetAndInches(int lengthFromFeetAndInches)
Sets the length in centimeters from input in feet and inches.
|
public static final int LENGTH_OF_AVERAGE_PERSON
public static final int LENGTH_OF_TALL_PERSON
public Integer getLengthFromCentimeters()
public void setLengthFromCentimeters(Integer lengthFromCentimeters)
lengthFromCentimeters - The length in centimeters.public int getLengthFromFeetAndInches()
public void setLengthFromFeetAndInches(int lengthFromFeetAndInches)
lengthFromFeetAndInches - The length in centimeters.Copyright © 2008–2018. All rights reserved.