java.lang.Object
org.csveed.test.model.BeanCommodity
The Class BeanCommodity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the amount.Gets the commodity.getDay()
Gets the day.Gets the language.void
setAmount
(int amount) Sets the amount.void
setCommodity
(String commodity) Sets the commodity.void
Sets the day.void
setLanguage
(String language) Sets the language.
-
Constructor Details
-
BeanCommodity
public BeanCommodity()
-
-
Method Details
-
getCommodity
Gets the commodity.- Returns:
- the commodity
-
setCommodity
Sets the commodity.- Parameters:
commodity
- the new commodity
-
getLanguage
Gets the language.- Returns:
- the language
-
setLanguage
Sets the language.- Parameters:
language
- the new language
-
getDay
Gets the day.- Returns:
- the day
-
setDay
Sets the day.- Parameters:
day
- the new day
-
getAmount
public int getAmount()Gets the amount.- Returns:
- the amount
-
setAmount
public void setAmount(int amount) Sets the amount.- Parameters:
amount
- the new amount
-