public class DisputeEvent extends Object implements CurationEvent<DisputeEventDetails>
Constructor and Description |
---|
DisputeEvent() |
DisputeEvent(DisputeEventDetails disputeEventDetails,
CurationEventType curationEventType,
Curateable targetEvent) |
Modifier and Type | Method and Description |
---|---|
DisputeEventDetails |
getDetail() |
Curateable |
getTarget()
The curation event applies to a specific other event, either another
curation event or an annotation assertion.
|
CurationEventType |
getType()
The curation event type specifies whether this curation event is a
validation, repudiation or neither of its target.
|
void |
setCurationEventType(CurationEventType curationEventType) |
void |
setDisputeEventDetails(DisputeEventDetails disputeEventDetails) |
void |
setTargetEvent(Curateable targetEvent) |
public DisputeEvent()
public DisputeEvent(DisputeEventDetails disputeEventDetails, CurationEventType curationEventType, Curateable targetEvent)
public DisputeEventDetails getDetail()
getDetail
in interface CurationEvent<DisputeEventDetails>
public Curateable getTarget()
CurationEvent
getTarget
in interface CurationEvent<DisputeEventDetails>
public CurationEventType getType()
CurationEvent
getType
in interface CurationEvent<DisputeEventDetails>
public void setDisputeEventDetails(DisputeEventDetails disputeEventDetails)
public void setCurationEventType(CurationEventType curationEventType)
public void setTargetEvent(Curateable targetEvent)
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.