Package com.daml.ledger.javaapi.data
Class CreateCommand
- java.lang.Object
-
- com.daml.ledger.javaapi.data.Command
-
- com.daml.ledger.javaapi.data.CreateCommand
-
public class CreateCommand extends Command
-
-
Constructor Summary
Constructors Constructor Description CreateCommand(@NonNull Identifier templateId, @NonNull DamlRecord createArguments)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static CreateCommand
fromProto(CommandsOuterClass.CreateCommand create)
@NonNull DamlRecord
getCreateArguments()
@NonNull Identifier
getTemplateId()
int
hashCode()
CommandsOuterClass.CreateCommand
toProto()
java.lang.String
toString()
-
Methods inherited from class com.daml.ledger.javaapi.data.Command
asCreateCommand, asExerciseCommand, fromProtoCommand, toProtoCommand
-
-
-
-
Constructor Detail
-
CreateCommand
public CreateCommand(@NonNull Identifier templateId, @NonNull DamlRecord createArguments)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getTemplateId
public @NonNull Identifier getTemplateId()
-
getCreateArguments
public @NonNull DamlRecord getCreateArguments()
-
fromProto
public static CreateCommand fromProto(CommandsOuterClass.CreateCommand create)
-
toProto
public CommandsOuterClass.CreateCommand toProto()
-
-