com.mizar.faces.beans
Class DownloadRequestBean

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.faces.beans.DownloadRequestBean
All Implemented Interfaces:
JPAInterface, java.io.Serializable, java.lang.Comparable
Direct Known Subclasses:
DownloadRequestRow

@Entity
public class DownloadRequestBean
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
DownloadRequestBean()
           
 
Method Summary
 java.lang.String getDefinition()
           
 DeliveryMethodBean getDeliveryMethod()
           
 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)
 java.util.Date getRequested()
           
 java.lang.String getRequestor()
           
 RequestTypeBean getRequestType()
           
 java.util.Date getShipped()
           
 java.util.Date getShred()
           
 RequestStatusBean getStatus()
           
 java.lang.String getUri()
           
 void setDefinition(java.lang.String definition)
           
 void setDeliveryMethod(DeliveryMethodBean deliveryMethod)
           
 void setDescription(java.lang.String description)
           
 void setId(java.lang.Long id)
           
 void setRequested(java.util.Date requested)
           
 void setRequestor(java.lang.String requestor)
           
 void setRequestType(RequestTypeBean requestType)
           
 void setShipped(java.util.Date shipped)
           
 void setShred(java.util.Date shred)
           
 void setStatus(RequestStatusBean status)
           
 void setUri(java.lang.String url)
           
 
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

DownloadRequestBean

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

setRequestor

public void setRequestor(java.lang.String requestor)

getRequestor

public java.lang.String getRequestor()

setRequestType

public void setRequestType(RequestTypeBean requestType)

getRequestType

public RequestTypeBean getRequestType()

setDeliveryMethod

public void setDeliveryMethod(DeliveryMethodBean deliveryMethod)

getDeliveryMethod

public DeliveryMethodBean getDeliveryMethod()

setDefinition

public void setDefinition(java.lang.String definition)

getDefinition

public java.lang.String getDefinition()

setStatus

public void setStatus(RequestStatusBean status)

getStatus

public RequestStatusBean getStatus()

setRequested

public void setRequested(java.util.Date requested)

getRequested

public java.util.Date getRequested()

setShipped

public void setShipped(java.util.Date shipped)

getShipped

public java.util.Date getShipped()

setUri

public void setUri(java.lang.String url)

getUri

public java.lang.String getUri()

setShred

public void setShred(java.util.Date shred)

getShred

public java.util.Date getShred()

setDescription

public void setDescription(java.lang.String description)

getDescription

public java.lang.String getDescription()