com.mizar.metadata.db.basemap
Class BasemapTypeBean

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

@Entity
public class BasemapTypeBean
extends GenericBean

See Also:
Serialized Form

Field Summary
static int BASEMAP_TYPE_DEM_A1
           
static int BASEMAP_TYPE_DEM_A2
           
static int BASEMAP_TYPE_DEM_BARE
           
static int BASEMAP_TYPE_HILLSHADE_COLOR
           
static int BASEMAP_TYPE_HILLSHADE_GRAY
           
static int BASEMAP_TYPE_HILLSHADE_ORTHO
           
static int BASEMAP_TYPE_INT_A1
           
static int BASEMAP_TYPE_INT_A2
           
static int BASEMAP_TYPE_INT_BARE
           
static int BASEMAP_TYPE_ORTHO
           
static int BASEMAP_TYPE_ORTHO_OBLIQUE_EAST
           
static int BASEMAP_TYPE_ORTHO_OBLIQUE_NORTH
           
static int BASEMAP_TYPE_ORTHO_OBLIQUE_SOUTH
           
static int BASEMAP_TYPE_ORTHO_OBLIQUE_WEST
           
static int BASEMAP_TYPE_POLITICAL
           
static int BASEMAP_TYPE_ROAD
           
static int BASEMAP_TYPE_UNDEFINED
           
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
BasemapTypeBean()
           
 
Method Summary
 java.lang.String getCode()
           
 java.lang.Boolean getDem()
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 java.lang.Boolean getOrtho()
           
 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.Boolean isDem()
           
 java.lang.Boolean isOrtho()
           
 void setCode(java.lang.String code)
           
 void setDescription(java.lang.String description)
           
 void setId(java.lang.Long id)
           
 
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
 

Field Detail

BASEMAP_TYPE_UNDEFINED

public static final int BASEMAP_TYPE_UNDEFINED
See Also:
Constant Field Values

BASEMAP_TYPE_ROAD

public static final int BASEMAP_TYPE_ROAD
See Also:
Constant Field Values

BASEMAP_TYPE_POLITICAL

public static final int BASEMAP_TYPE_POLITICAL
See Also:
Constant Field Values

BASEMAP_TYPE_ORTHO

public static final int BASEMAP_TYPE_ORTHO
See Also:
Constant Field Values

BASEMAP_TYPE_ORTHO_OBLIQUE_NORTH

public static final int BASEMAP_TYPE_ORTHO_OBLIQUE_NORTH
See Also:
Constant Field Values

BASEMAP_TYPE_ORTHO_OBLIQUE_SOUTH

public static final int BASEMAP_TYPE_ORTHO_OBLIQUE_SOUTH
See Also:
Constant Field Values

BASEMAP_TYPE_ORTHO_OBLIQUE_EAST

public static final int BASEMAP_TYPE_ORTHO_OBLIQUE_EAST
See Also:
Constant Field Values

BASEMAP_TYPE_ORTHO_OBLIQUE_WEST

public static final int BASEMAP_TYPE_ORTHO_OBLIQUE_WEST
See Also:
Constant Field Values

BASEMAP_TYPE_DEM_BARE

public static final int BASEMAP_TYPE_DEM_BARE
See Also:
Constant Field Values

BASEMAP_TYPE_DEM_A1

public static final int BASEMAP_TYPE_DEM_A1
See Also:
Constant Field Values

BASEMAP_TYPE_DEM_A2

public static final int BASEMAP_TYPE_DEM_A2
See Also:
Constant Field Values

BASEMAP_TYPE_INT_BARE

public static final int BASEMAP_TYPE_INT_BARE
See Also:
Constant Field Values

BASEMAP_TYPE_INT_A1

public static final int BASEMAP_TYPE_INT_A1
See Also:
Constant Field Values

BASEMAP_TYPE_INT_A2

public static final int BASEMAP_TYPE_INT_A2
See Also:
Constant Field Values

BASEMAP_TYPE_HILLSHADE_GRAY

public static final int BASEMAP_TYPE_HILLSHADE_GRAY
See Also:
Constant Field Values

BASEMAP_TYPE_HILLSHADE_COLOR

public static final int BASEMAP_TYPE_HILLSHADE_COLOR
See Also:
Constant Field Values

BASEMAP_TYPE_HILLSHADE_ORTHO

public static final int BASEMAP_TYPE_HILLSHADE_ORTHO
See Also:
Constant Field Values
Constructor Detail

BasemapTypeBean

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

setCode

public void setCode(java.lang.String code)

getCode

public java.lang.String getCode()

setDescription

public void setDescription(java.lang.String description)

getDescription

public java.lang.String getDescription()

getOrtho

public java.lang.Boolean getOrtho()

getDem

public java.lang.Boolean getDem()

isOrtho

public java.lang.Boolean isOrtho()

isDem

public java.lang.Boolean isDem()