public class OwnershipOfShares extends AbstractTimeAndValueModel<String,Double>
Model for ownership of shares data.
| Constructor and Description |
|---|
OwnershipOfShares()
Default constructor.
|
OwnershipOfShares(String sector,
String year,
List<ValueNode<Double>> 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 ownership of shares
data from the API.
|
String |
getSector()
Getter for sector.
|
int |
hashCode() |
void |
setSector(String sector)
Setter for sector.
|
String |
toString() |
getTime, setTimegetValue, getValues, setValue, setValuespublic String getSector()
Getter for sector.
public void setSector(String sector)
Setter for sector.
sector - the sectorpublic int hashCode()
hashCode in class AbstractTimeAndValueModel<String,Double>public boolean equals(Object obj)
equals in class AbstractTimeAndValueModel<String,Double>public String toString()
toString in class AbstractTimeAndValueModel<String,Double>public static Map<String,Collection<String>> getInputs()
Get the available codes and their respective values for the ownership of shares data from the API.
Copyright © 2017. All rights reserved.