@Immutable
public class AssetAttribute
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AGE |
static java.lang.String |
ARGUMENT |
static java.lang.String |
CONTRACT_ID |
static java.lang.String |
HASH |
static java.lang.String |
ID |
static java.lang.String |
INPUT |
static java.lang.String |
OUTPUT |
static java.lang.String |
PREV_HASH |
static java.lang.String |
SIGNATURE |
Constructor and Description |
---|
AssetAttribute() |
Modifier and Type | Method and Description |
---|---|
static com.scalar.db.io.IntValue |
toAgeValue(int age) |
static com.scalar.db.io.TextValue |
toArgumentValue(java.lang.String argument) |
static com.scalar.db.io.TextValue |
toContactIdValue(java.lang.String contactRef) |
static com.scalar.db.io.BlobValue |
toHashValue(byte[] hash) |
static com.scalar.db.io.TextValue |
toIdValue(java.lang.String assetId) |
static com.scalar.db.io.TextValue |
toInputValue(java.lang.String input) |
static com.scalar.db.io.TextValue |
toOutputValue(java.lang.String output) |
static com.scalar.db.io.BlobValue |
toPrevHashValue(byte[] prevHash) |
static com.scalar.db.io.BlobValue |
toSignatureValue(byte[] signature) |
public static final java.lang.String ID
public static final java.lang.String AGE
public static final java.lang.String INPUT
public static final java.lang.String OUTPUT
public static final java.lang.String CONTRACT_ID
public static final java.lang.String ARGUMENT
public static final java.lang.String SIGNATURE
public static final java.lang.String HASH
public static final java.lang.String PREV_HASH
public static com.scalar.db.io.TextValue toIdValue(java.lang.String assetId)
public static com.scalar.db.io.IntValue toAgeValue(int age)
public static com.scalar.db.io.TextValue toInputValue(java.lang.String input)
public static com.scalar.db.io.TextValue toOutputValue(java.lang.String output)
public static com.scalar.db.io.BlobValue toSignatureValue(byte[] signature)
public static com.scalar.db.io.TextValue toContactIdValue(java.lang.String contactRef)
public static com.scalar.db.io.TextValue toArgumentValue(java.lang.String argument)
public static com.scalar.db.io.BlobValue toHashValue(byte[] hash)
public static com.scalar.db.io.BlobValue toPrevHashValue(byte[] prevHash)