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 classBoolclassContractIdclassDamlEnumclassDamlGenMapclassDamlListclassDamlMapDeprecated.UseDamlTextMapinstead.classDamlOptionalclassDamlRecordclassDamlTextMapclassDateclassDecimalDeprecated.UseNumericinstead.classInt64classNumericclassPartyclassRecordDeprecated.UseDamlRecordinstead.classTextclassTimestampA Timestamp value is represented as microseconds since the UNIX epoch.classUnitclassVariantMethods in com.daml.ledger.javaapi.data that return Value Modifier and Type Method Description static ValueValue. fromProto(ValueOuterClass.Value value)ValueCreateAndExerciseCommand. getChoiceArgument()@NonNull ValueExerciseByKeyCommand. getChoiceArgument()@NonNull ValueExerciseCommand. getChoiceArgument()@NonNull ValueExercisedEvent. getChoiceArgument()@NonNull ValueExerciseByKeyCommand. getContractKey()@NonNull ValueExercisedEvent. getExerciseResult()@NonNull ValueDamlRecord.Field. getValue()@NonNull ValueVariant. 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 DamlListDamlList. of(@NonNull Value... values)static DamlOptionalDamlOptional. of(Value value)Method parameters in com.daml.ledger.javaapi.data with type arguments of type Value Modifier and Type Method Description static DamlGenMapDamlGenMap. of(@NonNull java.util.Map<@NonNull Value,@NonNull Value> map)static DamlGenMapDamlGenMap. of(@NonNull java.util.Map<@NonNull Value,@NonNull Value> map)static DamlListDamlList. of(@NonNull java.util.List<@NonNull Value> values)static DamlOptionalDamlOptional. of(@NonNull java.util.Optional<@NonNull Value> value)static DamlTextMapDamlTextMap. 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 ValueByKey. contractKeyMethods in com.daml.ledger.javaapi.data.codegen that return Value Modifier and Type Method Description ValueContractId. toValue()ValueDefinedDataType. toValue()Produce the encoded form.Methods in com.daml.ledger.javaapi.data.codegen with parameters of type Value Modifier and Type Method Description DataValueDecoder. 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)
-