com.mizar.metadata.db.basemap
Class BasemapBean

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.metadata.db.basemap.BasemapBean
All Implemented Interfaces:
JPAInterface, java.io.Serializable, java.lang.Comparable
Direct Known Subclasses:
BasemapRow

@Entity
public class BasemapBean
extends GenericBean

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ
 
Constructor Summary
BasemapBean()
           
 
Method Summary
 BasemapSetBean getBasemapSet()
           
 BasemapTypeBean getBasemapType()
           
 java.lang.Integer getBlockNumber()
           
 java.lang.String getCachedMapsName()
           
 java.util.Date getDateFlightEnd()
           
 java.util.Date getDateFlightStart()
           
 java.util.Date getDatePublished()
           
 java.lang.String getDescription()
           
 oracle.spatial.geometry.JGeometry getGeom()
           
 java.lang.String getGeorasterColumn()
           
 java.lang.Long getId()
           
 java.lang.String getName()
           
 java.lang.Double getOverlapRatio()
           
 java.lang.Long getPrimaryKeyValue()
          NOTE: If an implementing bean expects to be extended by a RowInterface in a often-used Table, you should override this method in order to avoid the overheads associated with the reflective code in JPAUtils.getPrimaryKeyValue(this)
 java.lang.String getRasterTable()
           
 java.lang.Double getResolution()
           
 java.lang.String getSchemaName()
           
 Polygon getSimplePolygon()
           
 BasemapStatusBean getStatus()
           
 java.lang.String getThemeType()
           
 void setBasemapSet(BasemapSetBean basemapSetBean)
           
 void setBasemapType(BasemapTypeBean basemapType)
           
 void setBlockNumber(java.lang.Integer blockNumber)
           
 void setCachedMapsName(java.lang.String cachedMapsName)
           
 void setDateFlightEnd(java.util.Date dateFlightEnd)
           
 void setDateFlightStart(java.util.Date dateFlightStart)
           
 void setDatePublished(java.util.Date datePublished)
           
 void setDescription(java.lang.String description)
           
 void setGeom(oracle.spatial.geometry.JGeometry geom)
           
 void setGeorasterColumn(java.lang.String georasterColumn)
           
 void setId(java.lang.Long id)
           
 void setName(java.lang.String name)
           
 void setOverlapRatio(java.lang.Double overlapRatio)
          This is a transient property nominally used to store the overlap of the basemap to a viewport.
 void setRasterTable(java.lang.String rasterTable)
           
 void setResolution(java.lang.Double resolution)
           
 void setSchemaName(java.lang.String schemaName)
           
 void setStatus(BasemapStatusBean status)
           
 void setThemeType(java.lang.String themeType)
           
 
Methods inherited from class com.mizar.persistence.jpa.beans.GenericBean
compareTo, equals, getDELETE, getEDIT, getEntityState, getEntityStateLabel, getLogger, getNEW, getREAD, hashCode, isEditable, isNew, setEditable, setEntityState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasemapBean

public BasemapBean()
Method Detail

getPrimaryKeyValue

public java.lang.Long getPrimaryKeyValue()
Description copied from class: GenericBean

NOTE: If an implementing bean expects to be extended by a RowInterface in a often-used Table, you should override this method in order to avoid the overheads associated with the reflective code in JPAUtils.getPrimaryKeyValue(this)

 public Object getPrimaryKeyValue(){
   return getProperty();
 }
 

In the absence of an overriding method, this method provides a generic method to get the value of the primary key. This is especially useful for calls to em.find(object) from within abstract classes

Overrides:
getPrimaryKeyValue in class GenericBean
Returns:
JPAUtils#getPrimaryKeyValue(this)
See Also:
RowInterface.getPrimaryKeyValue()

setId

public void setId(java.lang.Long id)

getId

public java.lang.Long getId()

setBasemapSet

public void setBasemapSet(BasemapSetBean basemapSetBean)

getBasemapSet

public BasemapSetBean getBasemapSet()

setBlockNumber

public void setBlockNumber(java.lang.Integer blockNumber)

getBlockNumber

public java.lang.Integer getBlockNumber()

setDateFlightStart

public void setDateFlightStart(java.util.Date dateFlightStart)

getDateFlightStart

public java.util.Date getDateFlightStart()

setDateFlightEnd

public void setDateFlightEnd(java.util.Date dateFlightEnd)

getDateFlightEnd

public java.util.Date getDateFlightEnd()

setDatePublished

public void setDatePublished(java.util.Date datePublished)

getDatePublished

public java.util.Date getDatePublished()

setResolution

public void setResolution(java.lang.Double resolution)

getResolution

public java.lang.Double getResolution()

setBasemapType

public void setBasemapType(BasemapTypeBean basemapType)

getBasemapType

public BasemapTypeBean getBasemapType()

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setSchemaName

public void setSchemaName(java.lang.String schemaName)

getSchemaName

public java.lang.String getSchemaName()

setCachedMapsName

public void setCachedMapsName(java.lang.String cachedMapsName)

getCachedMapsName

public java.lang.String getCachedMapsName()

setDescription

public void setDescription(java.lang.String description)

getDescription

public java.lang.String getDescription()

setThemeType

public void setThemeType(java.lang.String themeType)

getThemeType

public java.lang.String getThemeType()

setRasterTable

public void setRasterTable(java.lang.String rasterTable)

getRasterTable

public java.lang.String getRasterTable()

setGeorasterColumn

public void setGeorasterColumn(java.lang.String georasterColumn)

getGeorasterColumn

public java.lang.String getGeorasterColumn()

setStatus

public void setStatus(BasemapStatusBean status)

getStatus

public BasemapStatusBean getStatus()

setGeom

public void setGeom(oracle.spatial.geometry.JGeometry geom)

getGeom

public oracle.spatial.geometry.JGeometry getGeom()

getSimplePolygon

public Polygon getSimplePolygon()
Returns:
simplePolygon. If simplePolygon is not defined, it will try to create simplePolygon from geom and set it.

setOverlapRatio

public void setOverlapRatio(java.lang.Double overlapRatio)
This is a transient property nominally used to store the overlap of the basemap to a viewport.

Parameters:
overlapRatio -

getOverlapRatio

public java.lang.Double getOverlapRatio()
Returns:
null if @{link BasemapBean#setOverlapRatio(Double) BasemapBean.setOverlapRatio(Double)} has been called otherwise whatever was set