com.mizar.metadata.db.basemap
Class BasemapSetBean

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

@Entity
public class BasemapSetBean
extends GeometryBean

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mizar.persistence.jpa.beans.GeometryBean
searchTolerance, sridPrecision, wktLocation, wktMBR, wktShape
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
BasemapSetBean()
           
 
Method Summary
 void add(BasemapBean basemapBean)
           
 java.util.List<BasemapBean> getBasemaps()
           
 java.lang.String getCachedMapName()
           
 java.lang.String getCoordRefSysName()
           
 java.util.Date getDateFlight()
           
 java.util.Date getDateFlightEnd()
           
 java.util.Date getDateFlightStart()
           
 java.lang.Boolean getDem()
           
 java.util.List<BasemapBean> getDema1Basemaps()
           
 java.util.List<BasemapBean> getDema2Basemaps()
           
 java.util.List<BasemapBean> getDembrBasemaps()
           
 java.lang.Double getDemResolution()
           
 java.lang.String getDescription()
           
 java.lang.Long getEpsg()
           
 oracle.spatial.geometry.JGeometry getGeom()
          Entity classes implementing GeometryBean should have at least one SDO_GEOMETRY column in their associated table.
 java.lang.String getHemisphere()
           
 java.lang.Long getId()
           
 java.lang.String getName()
           
 java.lang.Boolean getOrtho()
           
 java.util.List<BasemapBean> getOrthoBasemaps()
           
 java.lang.Double getOrthoResolution()
           
 java.lang.Double getOverlapRatio()
           
 oracle.spatial.geometry.JGeometry getPoint()
           
 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 getRegion()
           
 Polygon getSimplePolygon()
           
 BasemapStatusBean getStatus()
           
 java.lang.String getTablespaceName()
           
 java.lang.String getUnits()
           
 java.lang.Long getUtmZone()
           
 void remove(BasemapBean basemapBean)
           
 void setBasemaps(java.util.List<BasemapBean> basemaps)
           
 void setCachedMapName(java.lang.String cachedMapName)
           
 void setCoordRefSysName(java.lang.String coordRefSysName)
           
 void setDateFlightEnd(java.util.Date dateFlightEnd)
           
 void setDateFlightStart(java.util.Date dateFlight)
           
 void setDemResolution(java.lang.Double demResolution)
           
 void setDescription(java.lang.String description)
           
 void setEpsg(java.lang.Long epsg)
           
 void setGeom(oracle.spatial.geometry.JGeometry geom)
           
 void setHemisphere(java.lang.String hemisphere)
           
 void setId(java.lang.Long id)
           
 void setName(java.lang.String name)
           
 void setOrthoResolution(java.lang.Double orthoResolution)
           
 void setOverlapRatio(java.lang.Double overlapRatio)
          This is a transient property nominally used to store the sum of overlap of the ortho basemaps to a viewport.
 void setPoint(oracle.spatial.geometry.JGeometry point)
           
 void setRegion(java.lang.String region)
           
 void setStatus(BasemapStatusBean status)
           
 void setTablespaceName(java.lang.String tablespaceName)
           
 void setUnits(java.lang.String units)
           
 void setUtmZone(java.lang.Long utmZone)
           
 
Methods inherited from class com.mizar.persistence.jpa.beans.GeometryBean
getArea, getBasicGeometryType, getGeomDimensions, getGeomNumPoints, getGeomType, getGType, getHeight, getLength, getRange, getSearchTolerance, getSrid, getSridPrecision, getWidth, getWktLocation, getWktMBR, getWktShape, isGeometryExtant, setArea, setSearchTolerance, setSridPrecision, setWktLocation, setWktShape
 
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

BasemapSetBean

public BasemapSetBean()
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()

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setDescription

public void setDescription(java.lang.String description)

getDescription

public java.lang.String getDescription()

setCachedMapName

public void setCachedMapName(java.lang.String cachedMapName)

getCachedMapName

public java.lang.String getCachedMapName()

setRegion

public void setRegion(java.lang.String region)

getRegion

public java.lang.String getRegion()

setDateFlightStart

public void setDateFlightStart(java.util.Date dateFlight)

getDateFlightStart

public java.util.Date getDateFlightStart()

getDateFlight

public java.util.Date getDateFlight()

setDateFlightEnd

public void setDateFlightEnd(java.util.Date dateFlightEnd)

getDateFlightEnd

public java.util.Date getDateFlightEnd()

setCoordRefSysName

public void setCoordRefSysName(java.lang.String coordRefSysName)

getCoordRefSysName

public java.lang.String getCoordRefSysName()

setTablespaceName

public void setTablespaceName(java.lang.String tablespaceName)

getTablespaceName

public java.lang.String getTablespaceName()

setEpsg

public void setEpsg(java.lang.Long epsg)

getEpsg

public java.lang.Long getEpsg()

setUtmZone

public void setUtmZone(java.lang.Long utmZone)

getUtmZone

public java.lang.Long getUtmZone()

setHemisphere

public void setHemisphere(java.lang.String hemisphere)

getHemisphere

public java.lang.String getHemisphere()

setOrthoResolution

public void setOrthoResolution(java.lang.Double orthoResolution)

getOrthoResolution

public java.lang.Double getOrthoResolution()

setDemResolution

public void setDemResolution(java.lang.Double demResolution)

getDemResolution

public java.lang.Double getDemResolution()

setUnits

public void setUnits(java.lang.String units)

getUnits

public java.lang.String getUnits()

setGeom

public void setGeom(oracle.spatial.geometry.JGeometry geom)
Specified by:
setGeom in class GeometryBean

getGeom

public oracle.spatial.geometry.JGeometry getGeom()
Description copied from class: GeometryBean
Entity classes implementing GeometryBean should have at least one SDO_GEOMETRY column in their associated table. It is entirely possible for an Entity to support more than one SDO_GEOMETRY column but one must be designated and the default or nominal object and a getter method called getGeom() must be mapped to it.

Specified by:
getGeom in class GeometryBean
Returns:
the principal SDO_GEOMETRY column

setPoint

public void setPoint(oracle.spatial.geometry.JGeometry point)

getPoint

public oracle.spatial.geometry.JGeometry getPoint()

setBasemaps

public void setBasemaps(java.util.List<BasemapBean> basemaps)

getBasemaps

public java.util.List<BasemapBean> getBasemaps()

add

public void add(BasemapBean basemapBean)

remove

public void remove(BasemapBean basemapBean)

setStatus

public void setStatus(BasemapStatusBean status)

getStatus

public BasemapStatusBean getStatus()

getOrtho

public java.lang.Boolean getOrtho()

getDem

public java.lang.Boolean getDem()

getOrthoBasemaps

public java.util.List<BasemapBean> getOrthoBasemaps()

getDembrBasemaps

public java.util.List<BasemapBean> getDembrBasemaps()

getDema1Basemaps

public java.util.List<BasemapBean> getDema1Basemaps()

getDema2Basemaps

public java.util.List<BasemapBean> getDema2Basemaps()

getSimplePolygon

public Polygon getSimplePolygon()

setOverlapRatio

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

Parameters:
overlapRatio -

getOverlapRatio

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