public class SparsePartialHarvest extends ExtendableEntity implements Named
PartialHarvest
extendedFieldValues
Constructor and Description |
---|
SparsePartialHarvest(Long oid,
String name,
String comments,
int numEvents,
Date submissionDate,
boolean active,
long edition,
String schedule,
Date nextDate,
String audience,
Long channelId)
Create new instance of SparsePartialHarvest.
|
Modifier and Type | Method and Description |
---|---|
String |
getAudience() |
protected Long |
getChannelId() |
String |
getComments()
Get comments for domain.
|
long |
getEdition()
Get edition.
|
protected int |
getExtendedFieldType()
abstract method for receiving the ExtendedFieldType for concret class which inherits ExtendableEntity
|
String |
getName()
Get name.
|
Date |
getNextDate()
Next date this harvest will run (null for never).
|
int |
getNumEvents()
Number of events this harvest definition has run.
|
Long |
getOid()
ID of harvest definition.
|
String |
getScheduleName()
Name of schedule for harvest definition.
|
Date |
getSubmissionDate()
Submission date.
|
boolean |
isActive()
Whether this definition is active.
|
addExtendedFieldValue, addExtendedFieldValues, getExtendedFieldValue, getExtendedFieldValues, setExtendedFieldValues, updateExtendedFieldValue
public SparsePartialHarvest(Long oid, String name, String comments, int numEvents, Date submissionDate, boolean active, long edition, String schedule, Date nextDate, String audience, Long channelId)
oid
- id of this harvest.name
- the name of the harvest definition.comments
- comments.numEvents
- Number of times this harvest has run.submissionDate
- The submission date.active
- Whether this harvest definition is active.edition
- DAO edition of harvest. used to create this Fullharvest definition.schedule
- name of schedule for this harvest.nextDate
- next time this harvest will run (null for never).audience
- The intended audiencechannelId
- the channel id, or null for the default oneArgumentNotValid
- if oid, name or comments, or schedule is null, or name or schedule is empty.public Date getNextDate()
public boolean isActive()
public String getComments()
getComments
in interface Named
public long getEdition()
public int getNumEvents()
public String getScheduleName()
public Date getSubmissionDate()
public String getAudience()
protected Long getChannelId()
protected int getExtendedFieldType()
ExtendableEntity
getExtendedFieldType
in class ExtendableEntity
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.