public class MaturityStructure extends AbstractSecurity<Integer>
Model for maturity structure data.
| Constructor and Description |
|---|
MaturityStructure()
Default constructor.
|
MaturityStructure(Integer sector,
String maturity,
String currency,
String month,
List<ValueNode<Integer>> values)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Map<String,Collection<String>> |
getInputs()
Get the available codes and their respective values for the maturity structure
data from the API.
|
String |
getMaturity()
Getter for maturity.
|
int |
hashCode() |
void |
setMaturity(String maturity)
Setter for maturity.
|
String |
toString() |
getCurrency, getSector, setCurrency, setSectorgetTime, setTimegetValue, getValues, setValue, setValuespublic String getMaturity()
Getter for maturity.
public void setMaturity(String maturity)
Setter for maturity.
maturity - the maturitypublic int hashCode()
hashCode in class AbstractSecurity<Integer>public boolean equals(Object obj)
equals in class AbstractSecurity<Integer>public String toString()
toString in class AbstractTimeAndValueModel<String,Integer>public static Map<String,Collection<String>> getInputs()
Get the available codes and their respective values for the maturity structure data from the API.
Copyright © 2017. All rights reserved.