Package com.daml.ledger.javaapi.data
Class ExercisedEvent
- java.lang.Object
-
- com.daml.ledger.javaapi.data.ExercisedEvent
-
-
Constructor Summary
Constructors Constructor Description ExercisedEvent(@NonNull java.util.List<@NonNull java.lang.String> witnessParties, @NonNull java.lang.String eventId, @NonNull Identifier templateId, Identifier interfaceId, @NonNull java.lang.String contractId, @NonNull java.lang.String choice, @NonNull Value choiceArgument, @NonNull java.util.List<@NonNull java.lang.String> actingParties, boolean consuming, @NonNull java.util.List<@NonNull java.lang.String> childEventIds, @NonNull Value exerciseResult)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static ExercisedEvent
fromProto(EventOuterClass.ExercisedEvent exercisedEvent)
@NonNull java.util.List<@NonNull java.lang.String>
getActingParties()
@NonNull java.util.List<@NonNull java.lang.String>
getChildEventIds()
@NonNull java.lang.String
getChoice()
@NonNull Value
getChoiceArgument()
@NonNull java.lang.String
getContractId()
@NonNull java.lang.String
getEventId()
@NonNull Value
getExerciseResult()
Identifier
getInterfaceId()
@NonNull Identifier
getTemplateId()
@NonNull java.util.List<@NonNull java.lang.String>
getWitnessParties()
int
hashCode()
boolean
hasInterfaceId()
boolean
isConsuming()
@NonNull EventOuterClass.ExercisedEvent
toProto()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.daml.ledger.javaapi.data.TreeEvent
toProtoTreeEvent
-
-
-
-
Constructor Detail
-
ExercisedEvent
public ExercisedEvent(@NonNull java.util.List<@NonNull java.lang.String> witnessParties, @NonNull java.lang.String eventId, @NonNull Identifier templateId, Identifier interfaceId, @NonNull java.lang.String contractId, @NonNull java.lang.String choice, @NonNull Value choiceArgument, @NonNull java.util.List<@NonNull java.lang.String> actingParties, boolean consuming, @NonNull java.util.List<@NonNull java.lang.String> childEventIds, @NonNull Value exerciseResult)
-
-
Method Detail
-
getWitnessParties
public @NonNull java.util.List<@NonNull java.lang.String> getWitnessParties()
- Specified by:
getWitnessParties
in interfaceTreeEvent
-
getEventId
public @NonNull java.lang.String getEventId()
- Specified by:
getEventId
in interfaceTreeEvent
-
getTemplateId
public @NonNull Identifier getTemplateId()
- Specified by:
getTemplateId
in interfaceTreeEvent
-
hasInterfaceId
public boolean hasInterfaceId()
-
getInterfaceId
public Identifier getInterfaceId()
-
getContractId
public @NonNull java.lang.String getContractId()
- Specified by:
getContractId
in interfaceTreeEvent
-
getChoice
public @NonNull java.lang.String getChoice()
-
getChildEventIds
public @NonNull java.util.List<@NonNull java.lang.String> getChildEventIds()
-
getChoiceArgument
public @NonNull Value getChoiceArgument()
-
getActingParties
public @NonNull java.util.List<@NonNull java.lang.String> getActingParties()
-
isConsuming
public boolean isConsuming()
-
getExerciseResult
public @NonNull Value getExerciseResult()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toProto
public @NonNull EventOuterClass.ExercisedEvent toProto()
-
fromProto
public static ExercisedEvent fromProto(EventOuterClass.ExercisedEvent exercisedEvent)
-
-