models.entity.jreports
Class JReport

java.lang.Object
  extended by play.db.ebean.Model
      extended by models.entity.jreports.JReport
All Implemented Interfaces:
com.avaje.ebean.bean.EntityBean, java.io.Serializable

@Entity
public class JReport
extends play.db.ebean.Model

JReport class

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class play.db.ebean.Model
play.db.ebean.Model.Finder<I,T>
 
Field Summary
static play.db.ebean.Model.Finder<java.lang.Long,JReport> find
           
 
Fields inherited from class play.db.ebean.Model
_ebean_identity, _ebean_intercept
 
Constructor Summary
JReport()
          empty constructor
JReport(java.lang.String name, byte[] xmlFile, byte[] jasperFile)
          constructor
 
Method Summary
static java.util.List<JReport> all()
           
 java.lang.Long getId()
           
 byte[] getJasperFile()
           
 java.lang.String getName()
           
 java.util.List<JParameter> getParameters()
           
 byte[] getXmlFile()
           
 JDataBase reportDataBase()
           
 void setId(java.lang.Long id)
           
 void setJasperFile(byte[] jasperFile)
           
 void setName(java.lang.String name)
          set name of report
 void setParameters(java.util.List<JParameter> parameters)
           
 void setXmlFile(byte[] xmlFile)
           
 
Methods inherited from class play.db.ebean.Model
_ebean_createCopy, _ebean_get__idGetSet, _ebean_getField, _ebean_getFieldIntercept, _ebean_getFieldNames, _ebean_getIntercept, _ebean_getMarker, _ebean_getni__idGetSet, _ebean_intercept, _ebean_isEmbeddedNewOrDirty, _ebean_newInstance, _ebean_set__idGetSet, _ebean_setEmbeddedLoaded, _ebean_setField, _ebean_setFieldIntercept, _ebean_setni__idGetSet, addPropertyChangeListener, addPropertyChangeListener, delete, delete, deleteManyToManyAssociations, equals, hashCode, refresh, refresh, removePropertyChangeListener, removePropertyChangeListener, save, save, saveManyToManyAssociations, saveManyToManyAssociations, update, update, update, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

find

public static play.db.ebean.Model.Finder<java.lang.Long,JReport> find
See Also:
Finder
Constructor Detail

JReport

public JReport()
empty constructor


JReport

public JReport(java.lang.String name,
               byte[] xmlFile,
               byte[] jasperFile)
constructor

Parameters:
name - name ov report
xmlFile - byte array of xml file
jasperFile - byte array of jasper file
Method Detail

getId

public java.lang.Long getId()
Returns:
report id

setId

public void setId(java.lang.Long id)
Parameters:
id - eport id

getName

public java.lang.String getName()
Returns:
name of report

setName

public void setName(java.lang.String name)
set name of report

Parameters:
name - name string

getXmlFile

public byte[] getXmlFile()
Returns:
byte array of xml file

setXmlFile

public void setXmlFile(byte[] xmlFile)
Parameters:
xmlFile - byte array of xml

getJasperFile

public byte[] getJasperFile()
Returns:
byte array of jasper file

setJasperFile

public void setJasperFile(byte[] jasperFile)
Parameters:
jasperFile - byte array of jasper file

reportDataBase

public JDataBase reportDataBase()
Returns:
database of jReport
See Also:
JDataBase

getParameters

public java.util.List<JParameter> getParameters()
Returns:
list of parameters of jReports
See Also:
JParameter

setParameters

public void setParameters(java.util.List<JParameter> parameters)
Parameters:
parameters - list of parameters
See Also:
JParameter

all

public static java.util.List<JReport> all()
Returns:
return all reports