Package com.daml.ledger.javaapi.data
Class Template
- java.lang.Object
-
- com.daml.ledger.javaapi.data.codegen.DamlRecord<Template>
-
- com.daml.ledger.javaapi.data.Template
-
- All Implemented Interfaces:
DefinedDataType<Template>
public abstract class Template extends DamlRecord<Template>
-
-
Constructor Summary
Constructors Constructor Description Template()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Update<? extends Created<? extends ContractId<? extends Template>>>create()abstract CreateAndcreateAnd()Set up aCreateAndExerciseCommand; invoke anexercisemethod on the result of this to finish creating the command, or convert to an interface first withtoInterfaceto invoke an interfaceexercisemethod.IdentifiergetContractTypeId()The template ID for this template.-
Methods inherited from class com.daml.ledger.javaapi.data.codegen.DamlRecord
toValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.daml.ledger.javaapi.data.codegen.DefinedDataType
jsonEncoder, toJson
-
-
-
-
Method Detail
-
create
public abstract Update<? extends Created<? extends ContractId<? extends Template>>> create()
-
createAnd
public abstract CreateAnd createAnd()
Set up aCreateAndExerciseCommand; invoke anexercisemethod on the result of this to finish creating the command, or convert to an interface first withtoInterfaceto invoke an interfaceexercisemethod.
-
getContractTypeId
public final Identifier getContractTypeId()
The template ID for this template.
-
-