@Deprecated
public interface Asset
asset-ID => {<age-1, data-1>, <age-2, data-2>, ..., <age-N, data-N>}
The largest age specifies the latest asset entry.
Modifier and Type | Method and Description |
---|---|
int |
age()
Deprecated.
Returns an age of the asset.
|
javax.json.JsonObject |
data()
Deprecated.
Returns a data of the asset.
|
java.lang.String |
id()
Deprecated.
Returns an ID of the asset.
|
AssetMetadata |
metadata()
Deprecated.
Returns the metadata with
AssetMetadata of the asset. |
java.lang.String id()
int age()
javax.json.JsonObject data()
AssetMetadata metadata()
AssetMetadata
of the asset. AssetMetadata
is
available for committed assets and null for uncommitted assets. You get uncommitted assets only
when you put a new asset and get the asset you put in a contract because the contract is not
successfully finished yet.