public class Asset extends Object implements objects.ConfigurableObject, Serializable
AssetAccount.| Constructor and Description |
|---|
Asset() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getAssetId()
Returns the id of the asset.
|
int |
getIndex() |
double |
getValue()
Returns the asset value.
|
int |
hashCode() |
void |
init(int anAssetId) |
void |
setValue(double d)
Sets the asset value.
|
String |
toString() |
void |
validate(int index) |
public void init(int anAssetId)
init in interface objects.ConfigurableObjectpublic int getAssetId()
public double getValue()
public void setValue(double d)
public int getIndex()
getIndex in interface objects.ConfigurableObjectpublic void validate(int index)
validate in interface objects.ConfigurableObjectCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.