java.io.Serializable
public class Asset
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
Asset() |
No args constructor for use in serialization
|
Asset(java.lang.String id,
java.lang.String assetClass,
java.lang.String exchange,
java.lang.String symbol,
java.lang.String status,
boolean tradable) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object other) |
|
java.lang.String |
getAssetClass() |
|
java.lang.String |
getExchange() |
|
java.lang.String |
getId() |
|
java.lang.String |
getStatus() |
|
java.lang.String |
getSymbol() |
|
int |
hashCode() |
|
boolean |
isTradable() |
|
void |
setAssetClass(java.lang.String assetClass) |
|
void |
setExchange(java.lang.String exchange) |
|
void |
setId(java.lang.String id) |
|
void |
setStatus(java.lang.String status) |
|
void |
setSymbol(java.lang.String symbol) |
|
void |
setTradable(boolean tradable) |
|
java.lang.String |
toString() |
public Asset()
public Asset(java.lang.String id, java.lang.String assetClass, java.lang.String exchange, java.lang.String symbol, java.lang.String status, boolean tradable)
symbol
- tradable
- exchange
- id
- assetClass
- status
- public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getAssetClass()
public void setAssetClass(java.lang.String assetClass)
public java.lang.String getExchange()
public void setExchange(java.lang.String exchange)
public java.lang.String getSymbol()
public void setSymbol(java.lang.String symbol)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public boolean isTradable()
public void setTradable(boolean tradable)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object