Modifier and Type | Class and Description |
---|---|
static class |
DamlRecord.Field |
Constructor and Description |
---|
DamlRecord(DamlRecord.Field... fields) |
DamlRecord(@NonNull Identifier recordId,
DamlRecord.Field... fields) |
DamlRecord(@NonNull Identifier recordId,
@NonNull java.util.List<DamlRecord.Field> fields) |
DamlRecord(@NonNull java.util.List<DamlRecord.Field> fields) |
DamlRecord(@NonNull java.util.Optional<Identifier> recordId,
@NonNull java.util.List<DamlRecord.Field> fields,
java.util.Map<java.lang.String,Value> fieldsMap) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static @NonNull DamlRecord |
fromProto(ValueOuterClass.Record record) |
@NonNull java.util.List<DamlRecord.Field> |
getFields() |
@NonNull java.util.Map<java.lang.String,Value> |
getFieldsMap() |
@NonNull java.util.Optional<Identifier> |
getRecordId() |
int |
hashCode() |
ValueOuterClass.Value |
toProto() |
ValueOuterClass.Record |
toProtoRecord() |
java.lang.String |
toString() |
public DamlRecord(@NonNull Identifier recordId, DamlRecord.Field... fields)
public DamlRecord(DamlRecord.Field... fields)
public DamlRecord(@NonNull Identifier recordId, @NonNull java.util.List<DamlRecord.Field> fields)
public DamlRecord(@NonNull java.util.List<DamlRecord.Field> fields)
public DamlRecord(@NonNull java.util.Optional<Identifier> recordId, @NonNull java.util.List<DamlRecord.Field> fields, java.util.Map<java.lang.String,Value> fieldsMap)
public static @NonNull DamlRecord fromProto(ValueOuterClass.Record record)
public ValueOuterClass.Value toProto()
public ValueOuterClass.Record toProtoRecord()
public @NonNull java.util.Optional<Identifier> getRecordId()
public @NonNull java.util.List<DamlRecord.Field> getFields()
public @NonNull java.util.Map<java.lang.String,Value> getFieldsMap()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object