com.mizar.faces.beans
Class RequestTypeBean

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.faces.beans.RequestTypeBean
All Implemented Interfaces:
JPAInterface, java.io.Serializable, java.lang.Comparable

@Entity
public class RequestTypeBean
extends GenericBean

See Also:
Serialized Form

Field Summary
static long ASPECT
           
static long BOX_FILES
           
static long FINISHED_PRODUCT
           
static long GDALDEM_SUITE
           
static long HILLSHADE
           
static long OTHER
           
static long PRINT
           
static long PRINT_ROUTE
           
static long PRINT_SET
           
static long ROUGHNESS
           
static long SLOPE
           
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
RequestTypeBean()
           
 
Method Summary
 java.lang.String getCode()
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 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)
 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

PRINT

public static final long PRINT
See Also:
Constant Field Values

PRINT_SET

public static final long PRINT_SET
See Also:
Constant Field Values

PRINT_ROUTE

public static final long PRINT_ROUTE
See Also:
Constant Field Values

HILLSHADE

public static final long HILLSHADE
See Also:
Constant Field Values

ROUGHNESS

public static final long ROUGHNESS
See Also:
Constant Field Values

SLOPE

public static final long SLOPE
See Also:
Constant Field Values

ASPECT

public static final long ASPECT
See Also:
Constant Field Values

GDALDEM_SUITE

public static final long GDALDEM_SUITE
See Also:
Constant Field Values

FINISHED_PRODUCT

public static final long FINISHED_PRODUCT
See Also:
Constant Field Values

BOX_FILES

public static final long BOX_FILES
See Also:
Constant Field Values

OTHER

public static final long OTHER
See Also:
Constant Field Values
Constructor Detail

RequestTypeBean

public RequestTypeBean()
Method Detail

setId

public void setId(java.lang.Long id)

getId

public java.lang.Long getId()

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

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