Class MCRTileJob

java.lang.Object
org.mycore.iview2.services.MCRTileJob
All Implemented Interfaces:
Cloneable

@Entity public class MCRTileJob extends Object implements Cloneable
Container class handled by hibernate to store and retrieve job information for the next tiling request.
Author:
Thomas Scheffler (yagee)
  • Constructor Details

    • MCRTileJob

      public MCRTileJob()
  • Method Details

    • getAdded

      public Date getAdded()
      Returns:
      the date when this job was created
    • setAdded

      public void setAdded(Date added)
    • getDerivate

      public String getDerivate()
      Returns:
      derivate ID
    • setDerivate

      public void setDerivate(String derivate)
    • getFinished

      public Date getFinished()
      Returns:
      the date when this job was finished
    • setFinished

      public void setFinished(Date finished)
    • 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

      public String getPath()
      Returns:
      absolute image path rooted by derivate
    • setPath

      public void setPath(String path)
    • getStart

      public Date getStart()
      Returns:
      the date when the job was last started
    • setStart

      public void setStart(Date start)
    • getStatus

      public char getStatus()
      Returns:
      MCRJobState.toChar() of current status
    • setStatus

      public void setStatus(MCRJobState status)
    • 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

      public MCRTileJob clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object