public class Stock extends Object
| Constructor and Description |
|---|
Stock()
Creates new instance of stock.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Retrieves the stock code.
|
Date |
getDate()
Retrieves the stock valuation date.
|
Long |
getId()
Retrieves the stock id.
|
String |
getName()
Retrieves the stock name.
|
BigDecimal |
getValue()
Retrieves the stock value.
|
void |
setCode(String code)
Sets the stock code.
|
void |
setDate(Date date)
Sets the stock valuation date.
|
void |
setId(Long id)
Sets the stock id.
|
void |
setName(String name)
Sets the stock name.
|
void |
setValue(BigDecimal value)
Retrieves the stock value.
|
public Long getId()
public void setId(Long id)
id - the stock idpublic String getName()
public void setName(String name)
name - the stock namepublic String getCode()
public void setCode(String code)
code - the stock idpublic Date getDate()
public void setDate(Date date)
date - the stock valuation datepublic BigDecimal getValue()
public void setValue(BigDecimal value)
value - the stock valueCopyright © 2015 JBoss by Red Hat. All rights reserved.