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 Record 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(com.digitalasset.ledger.api.v1.EventOuterClass.CreatedEvent createdEvent) |
@NonNull java.util.Optional<java.lang.String> |
getAgreementText() |
@NonNull Record |
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() |
com.digitalasset.ledger.api.v1.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 Record 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 Record 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 com.digitalasset.ledger.api.v1.EventOuterClass.CreatedEvent toProto()
public static CreatedEvent fromProto(com.digitalasset.ledger.api.v1.EventOuterClass.CreatedEvent createdEvent)