|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.harvester.datamodel.SparsePartialHarvest
public class SparsePartialHarvest
Sparse version of PartialHarvest to be used for GUI purposes only. Immutable.
PartialHarvest
Constructor Summary | |
---|---|
SparsePartialHarvest(java.lang.Long oid,
java.lang.String name,
java.lang.String comments,
int numEvents,
java.util.Date submissionDate,
boolean active,
long edition,
java.lang.String schedule,
java.util.Date nextDate)
Create new instance of SparsePartialHarvest. |
Method Summary | |
---|---|
java.lang.String |
getComments()
Get comments for domain. |
long |
getEdition()
Get edition. |
java.lang.String |
getName()
Get name. |
java.util.Date |
getNextDate()
Next date this harvest will run (null for never). |
int |
getNumEvents()
Number of events this harvest definition has run. |
java.lang.Long |
getOid()
ID of harvest definition. |
java.lang.String |
getScheduleName()
Name of schedule for harvest definition. |
java.util.Date |
getSubmissionDate()
Submission date. |
boolean |
isActive()
Whether this definition is active. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SparsePartialHarvest(java.lang.Long oid, java.lang.String name, java.lang.String comments, int numEvents, java.util.Date submissionDate, boolean active, long edition, java.lang.String schedule, java.util.Date nextDate)
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).
ArgumentNotValid
- if oid, name or comments, or schedule is null,
or name or schedule is empty.Method Detail |
---|
public java.util.Date getNextDate()
public boolean isActive()
public java.lang.String getComments()
public long getEdition()
public java.lang.String getName()
public int getNumEvents()
public java.lang.String getScheduleName()
public java.util.Date getSubmissionDate()
public java.lang.Long getOid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |