java.lang.Object
org.csveed.test.model.BeanCommodity
The Class BeanCommodity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the amount.Gets the commodity.getDay()Gets the day.Gets the language.voidsetAmount(int amount) Sets the amount.voidsetCommodity(String commodity) Sets the commodity.voidSets the day.voidsetLanguage(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
-