models.entity.jreports
Class JDataBase

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

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

the information for connection to database to get jReport

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
 
Fields inherited from class play.db.ebean.Model
_ebean_identity, _ebean_intercept
 
Constructor Summary
JDataBase()
          default constructor
 
Method Summary
 java.lang.String getDbPwd()
           
 java.lang.String getDbUrl()
           
 java.lang.String getDbUser()
           
 java.lang.Long getId()
           
 java.lang.String getLabel()
           
 void setDbPwd(java.lang.String dbPwd)
           
 void setDbUrl(java.lang.String dbUrl)
          set jdbc url
 void setDbUser(java.lang.String dbUser)
           
 void setId(java.lang.Long id)
           
 void setLabel(java.lang.String label)
           
 
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
 

Constructor Detail

JDataBase

public JDataBase()
default constructor

Method Detail

getId

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

setId

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

getDbUrl

public java.lang.String getDbUrl()
Returns:
jdbc url, for example "jdbc:postgresql://178.213.247.72:5432/test"

setDbUrl

public void setDbUrl(java.lang.String dbUrl)
set jdbc url

Parameters:
dbUrl - the jdbc url

getDbUser

public java.lang.String getDbUser()
Returns:
the database user for authorization

setDbUser

public void setDbUser(java.lang.String dbUser)
Parameters:
dbUser - user name

getDbPwd

public java.lang.String getDbPwd()
Returns:
the password for authorization

setDbPwd

public void setDbPwd(java.lang.String dbPwd)
Parameters:
dbPwd - password string

getLabel

public java.lang.String getLabel()
Returns:
label of database

setLabel

public void setLabel(java.lang.String label)
Parameters:
label - label string