public class AssetID extends Object
| Constructor and Description |
|---|
AssetID(String token)
Construct an AssetID by ID.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares this
AssetID with the specified object. |
static AssetID |
fromToken(String token)
Create an AssetID form a tokenized ID.
|
String |
getToken() |
int |
hashCode()
To calculate hashCode used
token |
String |
toString()
Tokenize the ID.
|
static AssetID |
valueOf(String idString)
Convert a string to an AssetID.
|
public AssetID(String token)
token - id of the Asset.public String getToken()
public static AssetID fromToken(String token)
token - String representation of the AssetID.idStringpublic boolean equals(Object obj)
AssetID with the specified object. The result is
true if and only if the argument is not null and is an
AssetID with the same token.public int hashCode()
tokenpublic String toString()
Copyright © 2013 Version One, Inc.. All rights reserved.