public class MonetaryAssets extends AbstractTimeAndValueModel<String,String>
Model for monetary assets data.
| Constructor and Description |
|---|
MonetaryAssets()
Default constructor.
|
MonetaryAssets(String institution,
String item,
String currency,
String month,
List<ValueNode<String>> values)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCurrency()
Getter for currency.
|
static Map<String,Collection<String>> |
getInputs()
Get the available codes and their respective values for the monetary assets data
from the API.
|
String |
getInstitution()
Getter for institution.
|
String |
getItem()
Getter for item.
|
int |
hashCode() |
void |
setCurrency(String currency)
Setter for currency.
|
void |
setInstitution(String institution)
Setter for institution.
|
void |
setItem(String item)
Setter for item.
|
String |
toString() |
getTime, setTimegetValue, getValues, setValue, setValuespublic String getInstitution()
Getter for institution.
public void setInstitution(String institution)
Setter for institution.
institution - the institutionpublic String getItem()
Getter for item.
public void setItem(String item)
Setter for item.
item - the itempublic String getCurrency()
Getter for currency.
public void setCurrency(String currency)
Setter for currency.
currency - the currencypublic int hashCode()
hashCode in class AbstractTimeAndValueModel<String,String>public boolean equals(Object obj)
equals in class AbstractTimeAndValueModel<String,String>public String toString()
toString in class AbstractTimeAndValueModel<String,String>public static Map<String,Collection<String>> getInputs()
Get the available codes and their respective values for the monetary assets data from the API.
Copyright © 2017. All rights reserved.