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 generatedCreateAndclasses within templates and interfaces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAnd.ToInterfaceParent of all generatedCreateAndclasses within interfaces.-
Nested classes/interfaces inherited from interface com.daml.ledger.javaapi.data.codegen.Exercises
Exercises.Archive<Cmd>
-
-
Field Summary
Fields Modifier and Type Field Description protected TemplatecreateArguments
-
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:ExercisesINTERNAL 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:
makeExerciseCmdin interfaceExercises<CreateAndExerciseCommand>
-
getCompanion
protected abstract ContractTypeCompanion<?,?,?,?> getCompanion()
The origin of the choice, not the createArguments.
-
-