com.mizar.metadata.db.basemap
Class BasemapStatusBean
java.lang.Object
com.mizar.persistence.jpa.beans.GenericBean
com.mizar.metadata.db.basemap.BasemapStatusBean
- All Implemented Interfaces:
- JPAInterface, java.io.Serializable, java.lang.Comparable
@Entity
public class BasemapStatusBean
- extends GenericBean
- See Also:
- Serialized Form
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 |
STATUS_NONE
public static final int STATUS_NONE
- See Also:
- Constant Field Values
STATUS_PREGEORASTER
public static final int STATUS_PREGEORASTER
- See Also:
- Constant Field Values
STATUS_INGEORASTER
public static final int STATUS_INGEORASTER
- See Also:
- Constant Field Values
STATUS_DONEGEORASTER
public static final int STATUS_DONEGEORASTER
- See Also:
- Constant Field Values
STATUS_PARTDONEGEORASTER
public static final int STATUS_PARTDONEGEORASTER
- See Also:
- Constant Field Values
STATUS_PROBLEMS
public static final int STATUS_PROBLEMS
- See Also:
- Constant Field Values
STATUS_RELOAD
public static final int STATUS_RELOAD
- See Also:
- Constant Field Values
BasemapStatusBean
public BasemapStatusBean()
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()