Class CreateAnd.ToInterface
java.lang.Object
com.daml.ledger.javaapi.data.codegen.CreateAnd
com.daml.ledger.javaapi.data.codegen.CreateAnd.ToInterface
- All Implemented Interfaces:
Exercises<CreateAndExerciseCommand>
- Enclosing class:
- CreateAnd
Parent of all generated
CreateAnd
classes within interfaces. These need to pass both
the template and interface ID.-
Nested Class Summary
Nested classes/interfaces inherited from class com.daml.ledger.javaapi.data.codegen.CreateAnd
CreateAnd.ToInterface
Nested classes/interfaces inherited from interface com.daml.ledger.javaapi.data.codegen.Exercises
Exercises.Archivable<Cmd>
-
Field Summary
Fields inherited from class com.daml.ledger.javaapi.data.codegen.CreateAnd
createArguments
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ToInterface
(ContractCompanion<?, ?, ?> createSource, Template createArguments) -
Method Summary
Modifier and TypeMethodDescriptionmakeExerciseCmd
(Choice<?, ? super A, R> choice, A choiceArgument) INTERNAL API: this is meant for use by the Java code generator, and should not be referenced directly.Methods inherited from class com.daml.ledger.javaapi.data.codegen.CreateAnd
getCompanion
-
Constructor Details
-
ToInterface
-
-
Method Details
-
makeExerciseCmd
public final <A,R> Update<Exercised<R>> makeExerciseCmd(Choice<?, ? super A, R> choice, A choiceArgument) INTERNAL API: this is meant for use by the Java code generator, and should not be referenced directly. Applications should call choice-specificexercise*
methods generated from their Daml code instead.- Specified by:
makeExerciseCmd
in interfaceExercises<CreateAndExerciseCommand>
- Overrides:
makeExerciseCmd
in classCreateAnd
-