Class DamlRecord

java.lang.Object
com.daml.ledger.javaapi.data.Value
com.daml.ledger.javaapi.data.DamlRecord

public final class DamlRecord extends Value
  • Constructor Details

  • Method Details

    • fromProto

      public static @NonNull DamlRecord fromProto(com.daml.ledger.api.v2.ValueOuterClass.Record record)
    • toProto

      public com.daml.ledger.api.v2.ValueOuterClass.Value toProto()
      Specified by:
      toProto in class Value
    • toProtoRecord

      public com.daml.ledger.api.v2.ValueOuterClass.Record toProtoRecord()
    • getRecordId

      public @NonNull Optional<Identifier> getRecordId()
    • getFields

      public @NonNull List<DamlRecord.Field> getFields()
    • getFieldsMap

      public @NonNull Map<@NonNull String,@NonNull Value> getFieldsMap()
      Returns:
      the Map of this DamlRecord fields containing the records that have the label
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object