Class MultisigAccountModification
- All Implemented Interfaces:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCompares this object with another for ordering.static MultisigAccountModificationdeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.Gets the cosignatoryPublicKey field.Reads a named field.Gets the modificationType field.protected voidserializeInto(Writer buffer) Writes this object's fields into the supplied buffer.voidsetCosignatoryPublicKey(PublicKey value) Sets the cosignatoryPublicKey field.voidSets a named field.voidSets the modificationType 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
-
MultisigAccountModification
public MultisigAccountModification()Creates a new MultisigAccountModification.
-
-
Method Details
-
typeHints
- MultisigAccountModification.typeHints
Returns the type-hint map driving the rule-based descriptor pipeline.
- Overrides:
typeHintsin classCatbufferType- Returns:
Field-name → rule-key map.
-
setField
- MultisigAccountModification.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
- MultisigAccountModification.getField
Reads a named field. Used by the facade-level entity inspection helpers.
- Overrides:
getFieldin classCatbufferType- Parameters:
name- Field name.- Returns:
Field value.
-
compareTo
- MultisigAccountModification.compareTo
Compares this object with another for ordering.
- Specified by:
compareToin interfaceComparable<MultisigAccountModification>- Parameters:
other- Object to compare against.- Returns:
Negative, zero, or positive as this is less than, equal to, or greater than the other.
-
getModificationType
- MultisigAccountModification.getModificationType
Gets the modificationType field.
- Returns:
The modificationType field.
-
setModificationType
- MultisigAccountModification.setModificationType
Sets the modificationType field.
- Parameters:
value- New modificationType value.
-
getCosignatoryPublicKey
- MultisigAccountModification.getCosignatoryPublicKey
Gets the cosignatoryPublicKey field.
- Returns:
The cosignatoryPublicKey field.
-
setCosignatoryPublicKey
- MultisigAccountModification.setCosignatoryPublicKey
Sets the cosignatoryPublicKey field.
- Parameters:
value- New cosignatoryPublicKey value.
-
size
public int size()- MultisigAccountModification.size
Calculates the size of the object.
- Specified by:
sizein interfaceSerializer- Returns:
Size of this object in bytes.
-
deserialize
- MultisigAccountModification.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
- MultisigAccountModification.serializeInto
Writes this object's fields into the supplied buffer.
- Specified by:
serializeIntoin classCatbufferType- Parameters:
buffer- Output writer.
-
toString
- MultisigAccountModification.toString
Returns a string representation of this object.
-
toJson
- MultisigAccountModification.toJson
Converts this object to a JSON-serializable representation.
- Specified by:
toJsonin classCatbufferType- Returns:
JSON-serializable representation of this object.
-