com.mizar.uscensus.domains
Class GroupQuarters

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

@Entity
public class GroupQuarters
extends GenericBean

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
GroupQuarters()
           
 
Method Summary
 java.lang.String getCategory()
           
 java.lang.String getCode()
           
 java.lang.String getDescription()
           
 java.lang.String 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 getStaffCode()
           
 void setCategory(java.lang.String category)
           
 void setCode(java.lang.String code)
           
 void setDescription(java.lang.String description)
           
 void setStaffCode(java.lang.String staffCode)
           
 
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

GroupQuarters

public GroupQuarters()
Method Detail

getPrimaryKeyValue

public java.lang.String 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()

setStaffCode

public void setStaffCode(java.lang.String staffCode)

getStaffCode

public java.lang.String getStaffCode()

setCategory

public void setCategory(java.lang.String category)

getCategory

public java.lang.String getCategory()

setDescription

public void setDescription(java.lang.String description)

getDescription

public java.lang.String getDescription()