public class AssetPropertyAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachmentAppendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable| Modifier and Type | Field and Description |
|---|---|
static StringRw |
PROPERTY_NAME_RW |
static StringRw |
PROPERTY_VALUE_RW |
| Constructor and Description |
|---|
AssetPropertyAttachment(long assetId,
java.lang.String property,
java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAssetId() |
protected int |
getMySize() |
java.lang.String |
getProperty() |
TransactionType |
getTransactionType() |
java.lang.String |
getValue() |
protected void |
putMyBytes(java.nio.ByteBuffer buffer) |
protected void |
putMyJSON(org.json.simple.JSONObject attachment) |
apply, getAppendixName, getAppendixType, getBaselineFee, getBaselineFeeHeight, getFinishValidationHeight, getNextFee, getNextFeeHeight, isAllowed, isPhasable, validate, validateIdgetFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, verifyVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFee, getFullSize, getJSONObject, getSize, getVersion, hasAppendix, isPhased, putBytespublic static final StringRw PROPERTY_NAME_RW
public static final StringRw PROPERTY_VALUE_RW
public AssetPropertyAttachment(long assetId,
java.lang.String property,
java.lang.String value)
protected int getMySize()
getMySize in class Appendix.AbstractAppendixprotected void putMyBytes(java.nio.ByteBuffer buffer)
putMyBytes in class Appendix.AbstractAppendixprotected void putMyJSON(org.json.simple.JSONObject attachment)
putMyJSON in class Appendix.AbstractAppendixpublic TransactionType getTransactionType()
public long getAssetId()
public java.lang.String getProperty()
public java.lang.String getValue()