Package org.mycore.iview2.services
Class MCRTileJob
java.lang.Object
org.mycore.iview2.services.MCRTileJob
- All Implemented Interfaces:
Cloneable
Container class handled by hibernate to store and retrieve job information for the next tiling request.
- Author:
- Thomas Scheffler (yagee)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
getAdded()
long
long
getId()
getPath()
getStart()
char
long
getTiles()
long
getWidth()
long
void
void
setDerivate
(String derivate) void
setFinished
(Date finished) void
setHeight
(long height) void
setId
(long id) void
void
void
setStatus
(MCRJobState status) void
setTiles
(long tiles) void
setWidth
(long width) void
setZoomLevel
(long zoomLevel) toString()
-
Constructor Details
-
MCRTileJob
public MCRTileJob()
-
-
Method Details
-
getAdded
- Returns:
- the date when this job was created
-
setAdded
-
getDerivate
- Returns:
- derivate ID
-
setDerivate
-
getFinished
- Returns:
- the date when this job was finished
-
setFinished
-
getHeight
public long getHeight()- Returns:
- height of the image
-
setHeight
public void setHeight(long height) -
getId
public long getId()- Returns:
- internal id
-
setId
public void setId(long id) -
getPath
- Returns:
- absolute image path rooted by derivate
-
setPath
-
getStart
- Returns:
- the date when the job was last started
-
setStart
-
getStatus
public char getStatus()- Returns:
MCRJobState.toChar()
of current status
-
setStatus
-
getTiles
public long getTiles()- Returns:
- number of generated tiles
-
setTiles
public void setTiles(long tiles) -
getWidth
public long getWidth()- Returns:
- image width
-
setWidth
public void setWidth(long width) -
getZoomLevel
public long getZoomLevel()- Returns:
- number of zoom levels
-
setZoomLevel
public void setZoomLevel(long zoomLevel) -
clone
-
toString
-