Uses of Class
com.daml.ledger.javaapi.data.Value
-
Packages that use Value Package Description com.daml.ledger.javaapi.data com.daml.ledger.javaapi.data.codegen -
-
Uses of Value in com.daml.ledger.javaapi.data
Subclasses of Value in com.daml.ledger.javaapi.data Modifier and Type Class Description class
Bool
class
ContractId
class
DamlEnum
class
DamlGenMap
class
DamlList
class
DamlMap
Deprecated.UseDamlTextMap
instead.class
DamlOptional
class
DamlRecord
class
DamlTextMap
class
Date
class
Decimal
Deprecated.UseNumeric
instead.class
Int64
class
Numeric
class
Party
class
Record
Deprecated.UseDamlRecord
instead.class
Text
class
Timestamp
A Timestamp value is represented as microseconds since the UNIX epoch.class
Unit
class
Variant
Methods in com.daml.ledger.javaapi.data that return Value Modifier and Type Method Description static Value
Value. fromProto(ValueOuterClass.Value value)
Value
CreateAndExerciseCommand. getChoiceArgument()
@NonNull Value
ExerciseByKeyCommand. getChoiceArgument()
@NonNull Value
ExerciseCommand. getChoiceArgument()
@NonNull Value
ExercisedEvent. getChoiceArgument()
@NonNull Value
ExerciseByKeyCommand. getContractKey()
@NonNull Value
ExercisedEvent. getExerciseResult()
@NonNull Value
DamlRecord.Field. getValue()
@NonNull Value
Variant. getValue()
Methods in com.daml.ledger.javaapi.data that return types with arguments of type Value Modifier and Type Method Description @NonNull java.util.Optional<Value>
CreatedEvent. getContractKey()
@NonNull java.util.Map<@NonNull java.lang.String,@NonNull Value>
DamlRecord. getFieldsMap()
@NonNull java.util.Map<@NonNull java.lang.String,@NonNull Value>
DamlTextMap. getMap()
Deprecated.java.util.Optional<Value>
DamlOptional. getValue()
@NonNull java.util.List<@NonNull Value>
DamlList. getValues()
Deprecated.java.util.stream.Stream<java.util.Map.Entry<Value,Value>>
DamlGenMap. stream()
java.util.stream.Stream<java.util.Map.Entry<Value,Value>>
DamlGenMap. stream()
@NonNull java.util.stream.Stream<Value>
DamlList. stream()
java.util.stream.Stream<java.util.Map.Entry<java.lang.String,Value>>
DamlTextMap. stream()
static <T> java.util.stream.Collector<T,java.util.Map<Value,Value>,DamlGenMap>
DamlCollectors. toDamlGenMap(java.util.function.Function<T,Value> keyMapper, java.util.function.Function<T,Value> valueMapper)
static <T> java.util.stream.Collector<T,java.util.Map<Value,Value>,DamlGenMap>
DamlCollectors. toDamlGenMap(java.util.function.Function<T,Value> keyMapper, java.util.function.Function<T,Value> valueMapper)
static java.util.stream.Collector<Value,java.util.List<Value>,DamlList>
DamlCollectors. toDamlList()
static java.util.stream.Collector<Value,java.util.List<Value>,DamlList>
DamlCollectors. toDamlList()
static <T> java.util.stream.Collector<T,java.util.List<Value>,DamlList>
DamlCollectors. toDamlList(java.util.function.Function<T,Value> valueMapper)
static java.util.stream.Collector<java.util.Map.Entry<java.lang.String,Value>,java.util.Map<java.lang.String,Value>,DamlTextMap>
DamlCollectors. toDamlTextMap()
static java.util.stream.Collector<java.util.Map.Entry<java.lang.String,Value>,java.util.Map<java.lang.String,Value>,DamlTextMap>
DamlCollectors. toDamlTextMap()
static <T> java.util.stream.Collector<T,java.util.Map<java.lang.String,Value>,DamlTextMap>
DamlCollectors. toDamlTextMap(java.util.function.Function<T,java.lang.String> keyMapper, java.util.function.Function<T,Value> valueMapper)
static java.util.stream.Collector<java.util.Map.Entry<Value,Value>,java.util.Map<Value,Value>,DamlGenMap>
DamlCollectors. toMap()
static java.util.stream.Collector<java.util.Map.Entry<Value,Value>,java.util.Map<Value,Value>,DamlGenMap>
DamlCollectors. toMap()
static java.util.stream.Collector<java.util.Map.Entry<Value,Value>,java.util.Map<Value,Value>,DamlGenMap>
DamlCollectors. toMap()
static java.util.stream.Collector<java.util.Map.Entry<Value,Value>,java.util.Map<Value,Value>,DamlGenMap>
DamlCollectors. toMap()
Methods in com.daml.ledger.javaapi.data with parameters of type Value Modifier and Type Method Description static DamlList
DamlList. of(@NonNull Value... values)
static DamlOptional
DamlOptional. of(Value value)
Method parameters in com.daml.ledger.javaapi.data with type arguments of type Value Modifier and Type Method Description static DamlGenMap
DamlGenMap. of(@NonNull java.util.Map<@NonNull Value,@NonNull Value> map)
static DamlGenMap
DamlGenMap. of(@NonNull java.util.Map<@NonNull Value,@NonNull Value> map)
static DamlList
DamlList. of(@NonNull java.util.List<@NonNull Value> values)
static DamlOptional
DamlOptional. of(@NonNull java.util.Optional<@NonNull Value> value)
static DamlTextMap
DamlTextMap. of(@NonNull java.util.Map<@NonNull java.lang.String,@NonNull Value> value)
static <T> java.util.stream.Collector<T,java.util.Map<Value,Value>,DamlGenMap>
DamlCollectors. toDamlGenMap(java.util.function.Function<T,Value> keyMapper, java.util.function.Function<T,Value> valueMapper)
static <T> java.util.stream.Collector<T,java.util.List<Value>,DamlList>
DamlCollectors. toDamlList(java.util.function.Function<T,Value> valueMapper)
<T> @NonNull java.util.List<T>
DamlList. toList(java.util.function.Function<Value,T> valueMapper)
<K,V>
@NonNull java.util.Map<@NonNull K,@NonNull V>DamlGenMap. toMap(@NonNull java.util.function.Function<@NonNull Value,@NonNull K> keyMapper, @NonNull java.util.function.Function<@NonNull Value,@NonNull V> valueMapper)
<V> @NonNull java.util.Map<@NonNull V,@NonNull V>
DamlGenMap. toMap(@NonNull java.util.function.Function<@NonNull Value,@NonNull V> valueMapper)
<V> @NonNull java.util.Map<@NonNull java.lang.String,@NonNull V>
DamlTextMap. toMap(@NonNull java.util.function.Function<@NonNull Value,@NonNull V> valueMapper)
<V> @NonNull java.util.Optional<V>
DamlOptional. toOptional(java.util.function.Function<@NonNull Value,@NonNull V> valueMapper)
Constructors in com.daml.ledger.javaapi.data with parameters of type Value Constructor Description CreateAndExerciseCommand(@NonNull Identifier templateId, @NonNull DamlRecord createArguments, @NonNull java.lang.String choice, @NonNull Value choiceArgument)
DamlList(@NonNull Value... values)
Deprecated.ExerciseByKeyCommand(@NonNull Identifier templateId, @NonNull Value contractKey, @NonNull java.lang.String choice, @NonNull Value choiceArgument)
ExerciseCommand(@NonNull Identifier templateId, @NonNull java.lang.String contractId, @NonNull java.lang.String choice, @NonNull Value choiceArgument)
ExercisedEvent(@NonNull java.util.List<@NonNull java.lang.String> witnessParties, @NonNull java.lang.String eventId, @NonNull Identifier templateId, @NonNull java.util.Optional<Identifier> interfaceId, @NonNull java.lang.String contractId, @NonNull java.lang.String choice, @NonNull Value choiceArgument, @NonNull java.util.List<@NonNull java.lang.String> actingParties, boolean consuming, @NonNull java.util.List<@NonNull java.lang.String> childEventIds, @NonNull Value exerciseResult)
Field(@NonNull Value value)
Field(@NonNull java.lang.String label, @NonNull Value value)
Field(@NonNull Value value)
Deprecated.Field(@NonNull java.lang.String label, @NonNull Value value)
Deprecated.Variant(@NonNull Identifier variantId, @NonNull java.lang.String constructor, @NonNull Value value)
Variant(@NonNull java.lang.String constructor, @NonNull Value value)
Constructor parameters in com.daml.ledger.javaapi.data with type arguments of type Value Constructor Description DamlList(@NonNull java.util.List<@NonNull Value> values)
Deprecated.DamlMap(java.util.Map<@NonNull java.lang.String,@NonNull Value> value)
Deprecated.DamlOptional(java.util.Optional<@NonNull Value> value)
Deprecated.DamlRecord(@NonNull java.util.Optional<Identifier> recordId, @NonNull java.util.List<@NonNull DamlRecord.Field> fields, java.util.Map<java.lang.String,Value> fieldsMap)
Record(@NonNull java.util.Optional<Identifier> recordId, @NonNull java.util.List<@NonNull Record.Field> fields, java.util.Map<java.lang.String,Value> fieldsMap)
Deprecated. -
Uses of Value in com.daml.ledger.javaapi.data.codegen
Fields in com.daml.ledger.javaapi.data.codegen declared as Value Modifier and Type Field Description protected Value
ByKey. contractKey
Methods in com.daml.ledger.javaapi.data.codegen that return Value Modifier and Type Method Description Value
ContractId. toValue()
Value
DefinedDataType. toValue()
Produce the encoded form.Methods in com.daml.ledger.javaapi.data.codegen with parameters of type Value Modifier and Type Method Description Data
ValueDecoder. decode(Value value)
Method parameters in com.daml.ledger.javaapi.data.codegen with type arguments of type Value Modifier and Type Method Description static <A> ValueDecoder<A>
ValueDecoder. fromFunction(java.util.function.Function<Value,A> fromValue)
Deprecated.since Daml 2.5.0; it is only used in deprecated fromValue method of all generated data classConstructors in com.daml.ledger.javaapi.data.codegen with parameters of type Value Constructor Description ByKey(Value contractKey)
ToInterface(ContractCompanion<?,?,?> keySource, Value contractKey)
-