Class AggregateBondedTransactionV1
- All Implemented Interfaces:
-
Field Summary
FieldsFields inherited from class org.symbol.sdk.symbol.models.Transaction
deadline, entityBodyReserved_1, fee, network, signature, signerPublicKey, type, verifiableEntityHeaderReserved_1, version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AggregateBondedTransactionV1deserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.Gets the cosignatures field.Reads a named field.Gets the transactions field.Gets the transactionsHash field.protected voidserializeInto(Writer buffer) Writes this object's fields into the supplied buffer.voidsetCosignatures(List<Cosignature> value) Sets the cosignatures field.voidSets a named field.voidsetTransactions(List<EmbeddedTransaction> value) Sets the transactions field.voidsetTransactionsHash(Hash256 value) Sets the transactionsHash 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.symbol.models.Transaction
getDeadline, getFee, getNetwork, getSignature, getSignerPublicKey, getType, getVersion, setDeadline, setFee, setNetwork, setSignature, setSignerPublicKey, setType, setVersionMethods inherited from class org.symbol.sdk.CatbufferType
asByteArray, asBytes, asInt, asList, asLong, serialize, sort, toJsonStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.symbol.sdk.symbol.BaseTransaction
sortMethods inherited from interface org.symbol.sdk.Serializer
serialize
-
Field Details
-
TRANSACTION_VERSION
public static final int TRANSACTION_VERSION- See Also:
-
TRANSACTION_TYPE
-
TYPE_HINTS
-
-
Constructor Details
-
AggregateBondedTransactionV1
public AggregateBondedTransactionV1()Creates a new AggregateBondedTransactionV1.
-
-
Method Details
-
typeHints
- AggregateBondedTransactionV1.typeHints
Returns the type-hint map driving the rule-based descriptor pipeline.
- Overrides:
typeHintsin classTransaction- Returns:
Field-name → rule-key map.
-
setField
- AggregateBondedTransactionV1.setField
Sets a named field. Used by the rule-based descriptor pipeline.
- Specified by:
setFieldin interfaceBaseTransaction- Overrides:
setFieldin classTransaction- Parameters:
name- Field name (descriptor key).value- Value to assign.
-
getField
- AggregateBondedTransactionV1.getField
Reads a named field. Used by the facade-level entity inspection helpers.
- Specified by:
getFieldin interfaceBaseTransaction- Overrides:
getFieldin classTransaction- Parameters:
name- Field name.- Returns:
Field value.
-
getTransactionsHash
- AggregateBondedTransactionV1.getTransactionsHash
Gets the transactionsHash field.
- Returns:
The transactionsHash field.
-
setTransactionsHash
- AggregateBondedTransactionV1.setTransactionsHash
Sets the transactionsHash field.
- Parameters:
value- New transactionsHash value.
-
getTransactions
- AggregateBondedTransactionV1.getTransactions
Gets the transactions field.
- Returns:
The transactions field.
-
setTransactions
- AggregateBondedTransactionV1.setTransactions
Sets the transactions field.
- Parameters:
value- New transactions value.
-
getCosignatures
- AggregateBondedTransactionV1.getCosignatures
Gets the cosignatures field.
- Returns:
The cosignatures field.
-
setCosignatures
- AggregateBondedTransactionV1.setCosignatures
Sets the cosignatures field.
- Parameters:
value- New cosignatures value.
-
size
public int size()- AggregateBondedTransactionV1.size
Calculates the size of the object.
- Specified by:
sizein interfaceSerializer- Overrides:
sizein classTransaction- Returns:
Size of this object in bytes.
-
deserialize
- AggregateBondedTransactionV1.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
- AggregateBondedTransactionV1.serializeInto
Writes this object's fields into the supplied buffer.
- Overrides:
serializeIntoin classTransaction- Parameters:
buffer- Output writer.
-
toString
- AggregateBondedTransactionV1.toString
Returns a string representation of this object.
- Overrides:
toStringin classTransaction- Returns:
String representation of this object.
-
toJson
- AggregateBondedTransactionV1.toJson
Converts this object to a JSON-serializable representation.
- Overrides:
toJsonin classTransaction- Returns:
JSON-serializable representation of this object.
-