org.gcube.data.harmonization.occurrence.db.model
Class ExecutionReference
java.lang.Object
org.gcube.data.harmonization.occurrence.db.model.ExecutionReference
- Direct Known Subclasses:
- ImportReference, MergeReference
public abstract class ExecutionReference
- extends Object
- Author:
- fabio
logger
protected static org.gcube.common.core.utils.logging.GCUBELog logger
ID_FIELD
public static final String ID_FIELD
- See Also:
- Constant Field Values
SUBMISSION_FIELD
public static final String SUBMISSION_FIELD
- See Also:
- Constant Field Values
START_FIELD
public static final String START_FIELD
- See Also:
- Constant Field Values
COMPLETION_FIELD
public static final String COMPLETION_FIELD
- See Also:
- Constant Field Values
AUTHOR_FIELD
public static final String AUTHOR_FIELD
- See Also:
- Constant Field Values
STATE_FIELD
public static final String STATE_FIELD
- See Also:
- Constant Field Values
SCOPE_FIELD
public static final String SCOPE_FIELD
- See Also:
- Constant Field Values
PROGRESS_FIELD
public static final String PROGRESS_FIELD
- See Also:
- Constant Field Values
ExecutionReference
public ExecutionReference(ExecutionReference.ExecutionRequest request)
ExecutionReference
public ExecutionReference()
updateStatus
public abstract void updateStatus(ExecutionState toSet)
throws Exception
- Throws:
Exception
getId
public String getId()
- Returns:
- the id
setId
public void setId(String id)
- Parameters:
id - the id to set
getSubmissionTime
public Long getSubmissionTime()
- Returns:
- the submissionTime
setSubmissionTime
public void setSubmissionTime(Long submissionTime)
- Parameters:
submissionTime - the submissionTime to set
getStartTime
public Long getStartTime()
- Returns:
- the startTime
setStartTime
public void setStartTime(Long startTime)
- Parameters:
startTime - the startTime to set
getCompletionTime
public Long getCompletionTime()
- Returns:
- the completionTime
setCompletionTime
public void setCompletionTime(Long completionTime)
- Parameters:
completionTime - the completionTime to set
getAuthor
public String getAuthor()
- Returns:
- the author
setAuthor
public void setAuthor(String author)
- Parameters:
author - the author to set
getState
public ExecutionState getState()
- Returns:
- the state
setState
public void setState(ExecutionState state)
- Parameters:
state - the state to set
getScope
public String getScope()
- Returns:
- the scope
setScope
public void setScope(String scope)
- Parameters:
scope - the scope to set
getProgress
public Double getProgress()
- Returns:
- the progress
setProgress
public void setProgress(Double progress)
- Parameters:
progress - the progress to set
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.