Class AddressResolutionEntry
- All Implemented Interfaces:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AddressResolutionEntrydeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.Reads a named field.Gets the resolvedValue field.Gets the source field.protected voidserializeInto(Writer buffer) Writes this object's fields into the supplied buffer.voidSets a named field.voidsetResolvedValue(Address value) Sets the resolvedValue field.voidsetSource(ReceiptSource value) Sets the source 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.CatbufferType
asByteArray, asBytes, asInt, asList, asLong, serialize, toJsonString
-
Field Details
-
TYPE_HINTS
-
-
Constructor Details
-
AddressResolutionEntry
public AddressResolutionEntry()Creates a new AddressResolutionEntry.
-
-
Method Details
-
typeHints
- AddressResolutionEntry.typeHints
Returns the type-hint map driving the rule-based descriptor pipeline.
- Overrides:
typeHintsin classCatbufferType- Returns:
Field-name → rule-key map.
-
setField
- AddressResolutionEntry.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
- AddressResolutionEntry.getField
Reads a named field. Used by the facade-level entity inspection helpers.
- Overrides:
getFieldin classCatbufferType- Parameters:
name- Field name.- Returns:
Field value.
-
sort
public void sort()- AddressResolutionEntry.sort
Sorts the collections of this object so that it can be serialized canonically.
- Overrides:
sortin classCatbufferType
-
getSource
- AddressResolutionEntry.getSource
Gets the source field.
- Returns:
The source field.
-
setSource
- AddressResolutionEntry.setSource
Sets the source field.
- Parameters:
value- New source value.
-
getResolvedValue
- AddressResolutionEntry.getResolvedValue
Gets the resolvedValue field.
- Returns:
The resolvedValue field.
-
setResolvedValue
- AddressResolutionEntry.setResolvedValue
Sets the resolvedValue field.
- Parameters:
value- New resolvedValue value.
-
size
public int size()- AddressResolutionEntry.size
Calculates the size of the object.
- Returns:
Size of this object in bytes.
-
deserialize
- AddressResolutionEntry.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
- AddressResolutionEntry.serializeInto
Writes this object's fields into the supplied buffer.
- Specified by:
serializeIntoin classCatbufferType- Parameters:
buffer- Output writer.
-
toString
- AddressResolutionEntry.toString
Returns a string representation of this object.
-
toJson
- AddressResolutionEntry.toJson
Converts this object to a JSON-serializable representation.
- Specified by:
toJsonin classCatbufferType- Returns:
JSON-serializable representation of this object.
-