Class BlockStatement
- All Implemented Interfaces:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockStatementdeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.Gets the addressResolutionStatements field.Reads a named field.Gets the mosaicResolutionStatements field.Gets the transactionStatements field.protected voidserializeInto(Writer buffer) Writes this object's fields into the supplied buffer.voidSets the addressResolutionStatements field.voidSets a named field.voidSets the mosaicResolutionStatements field.voidSets the transactionStatements field.intsize()Calculates the size of the object.toJson()Converts this object to a JSON-serializable representation.toString()Returns a string representation of this object.Returns the type-hint map driving the rule-based descriptor pipeline.Methods inherited from class org.symbol.sdk.CatbufferType
asByteArray, asBytes, asInt, asList, asLong, serialize, sort, toJsonString
-
Field Details
-
TYPE_HINTS
-
-
Constructor Details
-
BlockStatement
public BlockStatement()Creates a new BlockStatement.
-
-
Method Details
-
typeHints
- BlockStatement.typeHints
Returns the type-hint map driving the rule-based descriptor pipeline.
- Overrides:
typeHintsin classCatbufferType- Returns:
Field-name → rule-key map.
-
setField
- BlockStatement.setField
Sets a named field. Used by the rule-based descriptor pipeline.
- Overrides:
setFieldin classCatbufferType- Parameters:
name- Field name (descriptor key).value- Value to assign.
-
getField
- BlockStatement.getField
Reads a named field. Used by the facade-level entity inspection helpers.
- Overrides:
getFieldin classCatbufferType- Parameters:
name- Field name.- Returns:
Field value.
-
getTransactionStatements
- BlockStatement.getTransactionStatements
Gets the transactionStatements field.
- Returns:
The transactionStatements field.
-
setTransactionStatements
- BlockStatement.setTransactionStatements
Sets the transactionStatements field.
- Parameters:
value- New transactionStatements value.
-
getAddressResolutionStatements
- BlockStatement.getAddressResolutionStatements
Gets the addressResolutionStatements field.
- Returns:
The addressResolutionStatements field.
-
setAddressResolutionStatements
- BlockStatement.setAddressResolutionStatements
Sets the addressResolutionStatements field.
- Parameters:
value- New addressResolutionStatements value.
-
getMosaicResolutionStatements
- BlockStatement.getMosaicResolutionStatements
Gets the mosaicResolutionStatements field.
- Returns:
The mosaicResolutionStatements field.
-
setMosaicResolutionStatements
- BlockStatement.setMosaicResolutionStatements
Sets the mosaicResolutionStatements field.
- Parameters:
value- New mosaicResolutionStatements value.
-
size
public int size()- BlockStatement.size
Calculates the size of the object.
- Returns:
Size of this object in bytes.
-
deserialize
- BlockStatement.deserialize
Deserializes an instance of this object from a byte payload.
- Parameters:
buffer- Output writer.- Returns:
Deserialized object.
- Throws:
IndexOutOfBoundsException- if the buffer is truncated or a declared length overruns itIllegalArgumentException- if a field carries an invalid value (e.g. a reserved field or unknown discriminator)
-
serializeInto
- BlockStatement.serializeInto
Writes this object's fields into the supplied buffer.
- Specified by:
serializeIntoin classCatbufferType- Parameters:
buffer- Output writer.
-
toString
- BlockStatement.toString
Returns a string representation of this object.
-
toJson
- BlockStatement.toJson
Converts this object to a JSON-serializable representation.
- Specified by:
toJsonin classCatbufferType- Returns:
JSON-serializable representation of this object.
-