Class EmbeddedAccountOperationRestrictionTransactionV1
- All Implemented Interfaces:
-
Field Summary
FieldsFields inherited from class org.symbol.sdk.symbol.models.EmbeddedTransaction
embeddedTransactionHeaderReserved_1, entityBodyReserved_1, network, signerPublicKey, type, version -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new EmbeddedAccountOperationRestrictionTransactionV1. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.Reads a named field.Gets the restrictionAdditions field.Gets the restrictionDeletions field.Gets the restrictionFlags field.protected voidserializeInto(Writer buffer) Writes this object's fields into the supplied buffer.voidSets a named field.voidSets the restrictionAdditions field.voidSets the restrictionDeletions field.voidSets the restrictionFlags 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.EmbeddedTransaction
getNetwork, getSignerPublicKey, getType, getVersion, setNetwork, 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
-
EmbeddedAccountOperationRestrictionTransactionV1
public EmbeddedAccountOperationRestrictionTransactionV1()Creates a new EmbeddedAccountOperationRestrictionTransactionV1.
-
-
Method Details
-
typeHints
- EmbeddedAccountOperationRestrictionTransactionV1.typeHints
Returns the type-hint map driving the rule-based descriptor pipeline.
- Overrides:
typeHintsin classEmbeddedTransaction- Returns:
Field-name → rule-key map.
-
setField
- EmbeddedAccountOperationRestrictionTransactionV1.setField
Sets a named field. Used by the rule-based descriptor pipeline.
- Specified by:
setFieldin interfaceBaseTransaction- Overrides:
setFieldin classEmbeddedTransaction- Parameters:
name- Field name (descriptor key).value- Value to assign.
-
getField
- EmbeddedAccountOperationRestrictionTransactionV1.getField
Reads a named field. Used by the facade-level entity inspection helpers.
- Specified by:
getFieldin interfaceBaseTransaction- Overrides:
getFieldin classEmbeddedTransaction- Parameters:
name- Field name.- Returns:
Field value.
-
getRestrictionFlags
- EmbeddedAccountOperationRestrictionTransactionV1.getRestrictionFlags
Gets the restrictionFlags field.
- Returns:
The restrictionFlags field.
-
setRestrictionFlags
- EmbeddedAccountOperationRestrictionTransactionV1.setRestrictionFlags
Sets the restrictionFlags field.
- Parameters:
value- New restrictionFlags value.
-
getRestrictionAdditions
- EmbeddedAccountOperationRestrictionTransactionV1.getRestrictionAdditions
Gets the restrictionAdditions field.
- Returns:
The restrictionAdditions field.
-
setRestrictionAdditions
- EmbeddedAccountOperationRestrictionTransactionV1.setRestrictionAdditions
Sets the restrictionAdditions field.
- Parameters:
value- New restrictionAdditions value.
-
getRestrictionDeletions
- EmbeddedAccountOperationRestrictionTransactionV1.getRestrictionDeletions
Gets the restrictionDeletions field.
- Returns:
The restrictionDeletions field.
-
setRestrictionDeletions
- EmbeddedAccountOperationRestrictionTransactionV1.setRestrictionDeletions
Sets the restrictionDeletions field.
- Parameters:
value- New restrictionDeletions value.
-
size
public int size()- EmbeddedAccountOperationRestrictionTransactionV1.size
Calculates the size of the object.
- Specified by:
sizein interfaceSerializer- Overrides:
sizein classEmbeddedTransaction- Returns:
Size of this object in bytes.
-
deserialize
- EmbeddedAccountOperationRestrictionTransactionV1.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
- EmbeddedAccountOperationRestrictionTransactionV1.serializeInto
Writes this object's fields into the supplied buffer.
- Overrides:
serializeIntoin classEmbeddedTransaction- Parameters:
buffer- Output writer.
-
toString
- EmbeddedAccountOperationRestrictionTransactionV1.toString
Returns a string representation of this object.
- Overrides:
toStringin classEmbeddedTransaction- Returns:
String representation of this object.
-
toJson
- EmbeddedAccountOperationRestrictionTransactionV1.toJson
Converts this object to a JSON-serializable representation.
- Overrides:
toJsonin classEmbeddedTransaction- Returns:
JSON-serializable representation of this object.
-