Class DamlRecord

  • Direct Known Subclasses:
    Record

    public class DamlRecord
    extends Value
    • Constructor Detail

      • DamlRecord

        public DamlRecord​(@NonNull java.util.List<@NonNull DamlRecord.Field> fields)
      • DamlRecord

        public DamlRecord​(@NonNull java.util.Optional<Identifier> recordId,
                          @NonNull java.util.List<@NonNull DamlRecord.Field> fields,
                          java.util.Map<java.lang.String,​Value> fieldsMap)
    • Method Detail

      • getRecordId

        public @NonNull java.util.Optional<Identifier> getRecordId()
      • getFieldsMap

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object