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 Object implements Exercises<CreateAndExerciseCommand>
Parent of all generated CreateAnd classes within templates and interfaces.
  • Field Details

    • createArguments

      protected final Template createArguments
  • Constructor Details

    • CreateAnd

      protected CreateAnd(Template createArguments)
  • Method Details

    • makeExerciseCmd

      public <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-specific exercise* methods generated from their Daml code instead.
      Specified by:
      makeExerciseCmd in interface Exercises<CreateAndExerciseCommand>
    • getCompanion

      protected abstract ContractTypeCompanion<?,?,?,?> getCompanion()
      The origin of the choice, not the createArguments.