Class NonVerifiableMosaicDefinitionTransactionV1
- All Implemented Interfaces:
-
Field Summary
FieldsFields inherited from class org.symbol.sdk.nem.models.NonVerifiableTransaction
deadline, entityBodyReserved_1, fee, network, signerPublicKey, signerPublicKeySize, timestamp, type, version -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new NonVerifiableMosaicDefinitionTransactionV1. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.Reads a named field.Gets the mosaicDefinition field.Gets the rentalFee field.Gets the rentalFeeSink field.protected voidserializeInto(Writer buffer) Writes this object's fields into the supplied buffer.voidSets a named field.voidSets the mosaicDefinition field.voidsetRentalFee(Amount value) Sets the rentalFee field.voidsetRentalFeeSink(Address value) Sets the rentalFeeSink field.intsize()Calculates the size of the object.voidsort()Sorts the collections of this object so that it can be serialized canonically.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.nem.models.NonVerifiableTransaction
getDeadline, getFee, getNetwork, getSignerPublicKey, getTimestamp, getType, getVersion, setDeadline, setFee, setNetwork, setSignerPublicKey, setTimestamp, setType, setVersionMethods inherited from class org.symbol.sdk.CatbufferType
asByteArray, asBytes, asInt, asList, asLong, serialize, toJsonString
-
Field Details
-
TRANSACTION_VERSION
public static final int TRANSACTION_VERSION- See Also:
-
TRANSACTION_TYPE
-
TYPE_HINTS
-
-
Constructor Details
-
NonVerifiableMosaicDefinitionTransactionV1
public NonVerifiableMosaicDefinitionTransactionV1()Creates a new NonVerifiableMosaicDefinitionTransactionV1.
-
-
Method Details
-
typeHints
- NonVerifiableMosaicDefinitionTransactionV1.typeHints
Returns the type-hint map driving the rule-based descriptor pipeline.
- Overrides:
typeHintsin classNonVerifiableTransaction- Returns:
Field-name → rule-key map.
-
setField
- NonVerifiableMosaicDefinitionTransactionV1.setField
Sets a named field. Used by the rule-based descriptor pipeline.
- Overrides:
setFieldin classNonVerifiableTransaction- Parameters:
name- Field name (descriptor key).value- Value to assign.
-
getField
- NonVerifiableMosaicDefinitionTransactionV1.getField
Reads a named field. Used by the facade-level entity inspection helpers.
- Overrides:
getFieldin classNonVerifiableTransaction- Parameters:
name- Field name.- Returns:
Field value.
-
sort
public void sort()- NonVerifiableMosaicDefinitionTransactionV1.sort
Sorts the collections of this object so that it can be serialized canonically.
- Overrides:
sortin classCatbufferType
-
getMosaicDefinition
- NonVerifiableMosaicDefinitionTransactionV1.getMosaicDefinition
Gets the mosaicDefinition field.
- Returns:
The mosaicDefinition field.
-
setMosaicDefinition
- NonVerifiableMosaicDefinitionTransactionV1.setMosaicDefinition
Sets the mosaicDefinition field.
- Parameters:
value- New mosaicDefinition value.
-
getRentalFeeSink
- NonVerifiableMosaicDefinitionTransactionV1.getRentalFeeSink
Gets the rentalFeeSink field.
- Returns:
The rentalFeeSink field.
-
setRentalFeeSink
- NonVerifiableMosaicDefinitionTransactionV1.setRentalFeeSink
Sets the rentalFeeSink field.
- Parameters:
value- New rentalFeeSink value.
-
getRentalFee
- NonVerifiableMosaicDefinitionTransactionV1.getRentalFee
Gets the rentalFee field.
- Returns:
The rentalFee field.
-
setRentalFee
- NonVerifiableMosaicDefinitionTransactionV1.setRentalFee
Sets the rentalFee field.
- Parameters:
value- New rentalFee value.
-
size
public int size()- NonVerifiableMosaicDefinitionTransactionV1.size
Calculates the size of the object.
- Specified by:
sizein interfaceSerializer- Overrides:
sizein classNonVerifiableTransaction- Returns:
Size of this object in bytes.
-
deserialize
- NonVerifiableMosaicDefinitionTransactionV1.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
- NonVerifiableMosaicDefinitionTransactionV1.serializeInto
Writes this object's fields into the supplied buffer.
- Overrides:
serializeIntoin classNonVerifiableTransaction- Parameters:
buffer- Output writer.
-
toString
- NonVerifiableMosaicDefinitionTransactionV1.toString
Returns a string representation of this object.
- Overrides:
toStringin classNonVerifiableTransaction- Returns:
String representation of this object.
-
toJson
- NonVerifiableMosaicDefinitionTransactionV1.toJson
Converts this object to a JSON-serializable representation.
- Overrides:
toJsonin classNonVerifiableTransaction- Returns:
JSON-serializable representation of this object.
-