Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.jobs
Class HjRecord

java.lang.Object
  extended by com.esri.gpt.framework.request.Record
      extended by com.esri.gpt.catalog.harvest.jobs.HjRecord

public class HjRecord
extends Record

Harvest job information.

See Also:
HjRecords

Nested Class Summary
static class HjRecord.JobStatus
          Harvest job status.
static class HjRecord.JobType
          Job type.
 
Constructor Summary
HjRecord(HrRecord harvestRepository)
          Creates instance of harvest job.
 
Method Summary
 CommonCriteria getCriteria()
          Gets criteria.
 HrRecord getHarvestSite()
          Gets harvest site.
 Date getInputDate()
          Gets job date.
 Date getJobDate()
          Gets job date.
 String getServiceId()
          Gets service id.
 HjRecord.JobStatus getStatus()
          Gets job status.
 HjRecord.JobType getType()
          Gets job type.
 String getUuid()
          Gets job uuid.
 void setCriteria(CommonCriteria criteria)
          Sets criteria.
 void setServiceId(String serviceId)
          Sets service id.
 void setStatus(HjRecord.JobStatus jobStatus)
          Sets job status.
 void setType(HjRecord.JobType jobType)
          Sets job type.
 String toString()
          Creates string representation of harvest job.
 
Methods inherited from class com.esri.gpt.framework.request.Record
getIsSelected, setIsSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HjRecord

public HjRecord(HrRecord harvestRepository)
Creates instance of harvest job.

Parameters:
harvestRepository - harvest repository.
Method Detail

getUuid

public String getUuid()
Gets job uuid.

Returns:
job uuid.

getInputDate

public Date getInputDate()
Gets job date.

Returns:
job date.

getJobDate

public Date getJobDate()
Gets job date.

Returns:
job date.

getHarvestSite

public HrRecord getHarvestSite()
Gets harvest site.

Returns:
harvest site.

getType

public HjRecord.JobType getType()
Gets job type.

Returns:
job type.

setType

public void setType(HjRecord.JobType jobType)
Sets job type.

Parameters:
jobType - job type.

getStatus

public HjRecord.JobStatus getStatus()
Gets job status.

Returns:
job status.

setStatus

public void setStatus(HjRecord.JobStatus jobStatus)
Sets job status.

Parameters:
jobStatus - job status.

toString

public String toString()
Creates string representation of harvest job.

Overrides:
toString in class Object
Returns:
string representation of harvest job.

getServiceId

public String getServiceId()
Gets service id.

Returns:
service id

setServiceId

public void setServiceId(String serviceId)
Sets service id.

Parameters:
serviceId - service id

getCriteria

public CommonCriteria getCriteria()
Gets criteria.

Returns:
criteria

setCriteria

public void setCriteria(CommonCriteria criteria)
Sets criteria.

Parameters:
criteria - criteria

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.