public abstract class AbstractAccountOperation extends Operation
| Modifier and Type | Field and Description |
|---|---|
protected String |
jsonMetadata |
protected Authority |
owner |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAccountOperation(boolean virtual)
Create a new Operation object by providing the operation type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJsonMetadata()
Get the json metadata that has been added to this operation.
|
abstract Authority |
getOwner()
Get the owner
Authority. |
void |
setJsonMetadata(String jsonMetadata)
Add json metadata to this operation.
|
abstract void |
setOwner(Authority owner)
Set the owner
Authority. |
void |
validate(ValidationType validationType)
Use this method to verify that this object is valid.
|
getRequiredAuthorities, isVirtual, mergeRequiredAuthorities, mergeRequiredAuthorities, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoByteArrayprotected AbstractAccountOperation(boolean virtual)
virtual - Define if the operation instance is a virtual
(true) or a market operation
(false).public abstract Authority getOwner()
Authority.public abstract void setOwner(Authority owner)
Authority.owner - The owner authority.public String getJsonMetadata()
public void setJsonMetadata(String jsonMetadata)
jsonMetadata - The json metadata.public void validate(ValidationType validationType)
ValidatablevalidationType - An indicator telling the method what should be validated.Copyright © 2019. All rights reserved.