public class ArtifactGivenEvent extends Event implements ArtifactRelatedEvent, HfRelatedEvent, EntityRelatedEvent
id
Constructor and Description |
---|
ArtifactGivenEvent() |
Modifier and Type | Method and Description |
---|---|
int |
getArtifactId() |
int |
getGiverEntityId() |
int |
getGiverHfId() |
String |
getReason() |
int |
getReceiverEntityId() |
int |
getReceiverHfId() |
String |
getShortDescription() |
boolean |
isRelatedToArtifact(int artifactId) |
boolean |
isRelatedToEntity(int entityId) |
boolean |
isRelatedToHf(int hfId) |
void |
setArtifactId(int artifactId) |
void |
setGiverEntityId(int giverEntityId) |
void |
setGiverHfId(int giverHfId) |
void |
setReceiverEntityId(int receiverEntityId) |
void |
setReceiverHfId(int receiverHfId) |
getCollection, getDate, getDescription, getSeconds, getSentence, getType, getYear, process, setCollection, setSeconds, setType, setYear
getId, setId
public int getArtifactId()
public void setArtifactId(int artifactId)
public int getGiverHfId()
public void setGiverHfId(int giverHfId)
public int getGiverEntityId()
public void setGiverEntityId(int giverEntityId)
public int getReceiverHfId()
public void setReceiverHfId(int receiverHfId)
public int getReceiverEntityId()
public void setReceiverEntityId(int receiverEntityId)
public String getReason()
public boolean isRelatedToArtifact(int artifactId)
isRelatedToArtifact
in interface ArtifactRelatedEvent
public boolean isRelatedToEntity(int entityId)
isRelatedToEntity
in interface EntityRelatedEvent
public boolean isRelatedToHf(int hfId)
isRelatedToHf
in interface HfRelatedEvent
public String getShortDescription()
getShortDescription
in class Event
Copyright © 2020. All rights reserved.