Constructor and Description |
---|
CreatedEvent(@NonNull java.util.List<java.lang.String> witnessParties,
@NonNull java.lang.String eventId,
@NonNull Identifier templateId,
@NonNull java.lang.String contractId,
@NonNull DamlRecord arguments,
@NonNull java.util.Optional<java.lang.String> agreementText,
@NonNull java.util.Optional<Value> contractKey,
@NonNull java.util.Collection<java.lang.String> signatories,
@NonNull java.util.Collection<java.lang.String> observers) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static CreatedEvent |
fromProto(EventOuterClass.CreatedEvent createdEvent) |
@NonNull java.util.Optional<java.lang.String> |
getAgreementText() |
@NonNull DamlRecord |
getArguments() |
@NonNull java.lang.String |
getContractId() |
@NonNull java.util.Optional<Value> |
getContractKey() |
@NonNull java.lang.String |
getEventId() |
@NonNull java.util.Set<java.lang.String> |
getObservers() |
@NonNull java.util.Set<java.lang.String> |
getSignatories() |
@NonNull Identifier |
getTemplateId() |
@NonNull java.util.List<java.lang.String> |
getWitnessParties() |
int |
hashCode() |
EventOuterClass.CreatedEvent |
toProto() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
fromProtoEvent, toProtoEvent
fromProtoTreeEvent, toProtoTreeEvent
public CreatedEvent(@NonNull java.util.List<java.lang.String> witnessParties, @NonNull java.lang.String eventId, @NonNull Identifier templateId, @NonNull java.lang.String contractId, @NonNull DamlRecord arguments, @NonNull java.util.Optional<java.lang.String> agreementText, @NonNull java.util.Optional<Value> contractKey, @NonNull java.util.Collection<java.lang.String> signatories, @NonNull java.util.Collection<java.lang.String> observers)
public @NonNull java.util.List<java.lang.String> getWitnessParties()
getWitnessParties
in interface Event
getWitnessParties
in interface TreeEvent
public @NonNull java.lang.String getEventId()
getEventId
in interface Event
getEventId
in interface TreeEvent
public @NonNull Identifier getTemplateId()
getTemplateId
in interface Event
getTemplateId
in interface TreeEvent
public @NonNull java.lang.String getContractId()
getContractId
in interface Event
getContractId
in interface TreeEvent
public @NonNull DamlRecord getArguments()
public @NonNull java.util.Optional<java.lang.String> getAgreementText()
public @NonNull java.util.Optional<Value> getContractKey()
public @NonNull java.util.Set<java.lang.String> getSignatories()
public @NonNull java.util.Set<java.lang.String> getObservers()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public EventOuterClass.CreatedEvent toProto()
public static CreatedEvent fromProto(EventOuterClass.CreatedEvent createdEvent)