public class BodyWeightTestBean extends Object implements Serializable
Constructor and Description |
---|
BodyWeightTestBean() |
Modifier and Type | Method and Description |
---|---|
Integer |
getWeightFromKilograms()
Gets the weight in kilograms from input in kilograms.
|
int |
getWeightFromPounds()
Gets the weight in kilograms from input in pounds.
|
int |
getWeightFromStonesAndPounds()
Gets the weight in kilograms from input in stones and pounds.
|
void |
setWeightFromKilograms(Integer weightFromKilograms)
Sets the weight in kilograms from input in kilograms.
|
void |
setWeightFromPounds(int weightFromPounds)
Sets the weight in kilograms from input in pounds.
|
void |
setWeightFromStonesAndPounds(int weightFromStonesAndPounds)
Sets the weight in kilograms from input in stones and pounds.
|
public Integer getWeightFromKilograms()
public void setWeightFromKilograms(Integer weightFromKilograms)
weightFromKilograms
- The weight in kilograms.public int getWeightFromStonesAndPounds()
public void setWeightFromStonesAndPounds(int weightFromStonesAndPounds)
weightFromStonesAndPounds
- The weight in kilograms.public int getWeightFromPounds()
public void setWeightFromPounds(int weightFromPounds)
weightFromPounds
- The weight in kilograms.Copyright © 2008–2018. All rights reserved.