Package com.daml.ledger.javaapi.data
Class ArchivedEvent
- java.lang.Object
-
- com.daml.ledger.javaapi.data.ArchivedEvent
-
-
Constructor Summary
Constructors Constructor Description ArchivedEvent(@NonNull java.util.List<@NonNull java.lang.String> witnessParties, @NonNull java.lang.String eventId, @NonNull Identifier templateId, @NonNull java.lang.String contractId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static ArchivedEvent
fromProto(EventOuterClass.ArchivedEvent archivedEvent)
@NonNull java.lang.String
getContractId()
@NonNull java.lang.String
getEventId()
@NonNull Identifier
getTemplateId()
@NonNull java.util.List<@NonNull java.lang.String>
getWitnessParties()
int
hashCode()
EventOuterClass.ArchivedEvent
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.Event
toProtoEvent
-
-
-
-
Constructor Detail
-
ArchivedEvent
public ArchivedEvent(@NonNull java.util.List<@NonNull java.lang.String> witnessParties, @NonNull java.lang.String eventId, @NonNull Identifier templateId, @NonNull java.lang.String contractId)
-
-
Method Detail
-
getWitnessParties
public @NonNull java.util.List<@NonNull java.lang.String> getWitnessParties()
- Specified by:
getWitnessParties
in interfaceEvent
-
getEventId
public @NonNull java.lang.String getEventId()
- Specified by:
getEventId
in interfaceEvent
-
getTemplateId
public @NonNull Identifier getTemplateId()
- Specified by:
getTemplateId
in interfaceEvent
-
getContractId
public @NonNull java.lang.String getContractId()
- Specified by:
getContractId
in interfaceEvent
-
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 EventOuterClass.ArchivedEvent toProto()
-
fromProto
public static ArchivedEvent fromProto(EventOuterClass.ArchivedEvent archivedEvent)
-
-