Class CreateAnd
- java.lang.Object
-
- com.daml.ledger.javaapi.data.codegen.CreateAnd
-
- All Implemented Interfaces:
Exercises<CreateAndExerciseCommand>
- Direct Known Subclasses:
CreateAnd.ToInterface
public abstract class CreateAnd extends java.lang.Object implements Exercises<CreateAndExerciseCommand>
Parent of all generatedCreateAnd
classes within templates and interfaces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateAnd.ToInterface
Parent of all generatedCreateAnd
classes within interfaces.
-
Field Summary
Fields Modifier and Type Field Description protected Template
createArguments
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ContractTypeCompanion<?,?,?,?>
getCompanion()
The origin of the choice, not the createArguments.<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.
-
-
-
Field Detail
-
createArguments
protected final Template createArguments
-
-
Constructor Detail
-
CreateAnd
protected CreateAnd(Template createArguments)
-
-
Method Detail
-
makeExerciseCmd
public <A,R> Update<Exercised<R>> makeExerciseCmd(Choice<?,? super A,R> choice, A choiceArgument)
Description copied from interface:Exercises
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>
-
getCompanion
protected abstract ContractTypeCompanion<?,?,?,?> getCompanion()
The origin of the choice, not the createArguments.
-
-