V - the valuepublic abstract class AbstractSecurity<V> extends AbstractTimeAndValueModel<String,V>
Abstract model for security data. Holds data which are common for all classes located in this package.
| Constructor and Description |
|---|
AbstractSecurity()
Default constructor.
|
AbstractSecurity(Integer sector,
String currency,
String month,
List<ValueNode<V>> values)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCurrency()
Getter for currency.
|
Integer |
getSector()
Getter for sector.
|
int |
hashCode() |
void |
setCurrency(String currency)
Setter for currency.
|
void |
setSector(Integer sector)
Setter for sector.
|
getTime, setTime, toStringgetValue, getValues, setValue, setValuespublic Integer getSector()
Getter for sector.
public void setSector(Integer sector)
Setter for sector.
sector - the sectorpublic String getCurrency()
Getter for currency.
public void setCurrency(String currency)
Setter for currency.
currency - the currencypublic int hashCode()
hashCode in class AbstractTimeAndValueModel<String,V>public boolean equals(Object obj)
equals in class AbstractTimeAndValueModel<String,V>Copyright © 2017. All rights reserved.