|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.openexchange.admin.rmi.dataobjects.EnforceableDataObject com.openexchange.admin.rmi.dataobjects.Database
public class Database
This class represents a database.
Constructor Summary | |
---|---|
Database()
|
|
Database(int id)
|
|
Database(int id,
String schema)
|
|
Database(String login,
String password,
String driver,
String url,
int id,
String displayname)
|
|
Database(String login,
String password,
String driver,
String url,
String scheme)
|
Methods inherited from class com.openexchange.admin.rmi.dataobjects.EnforceableDataObject |
---|
getUnsetMembers, mandatoryChangeMembersSet, mandatoryCreateMembersSet, mandatoryDeleteMembersSet, mandatoryRegisterMembersSet, testMandatoryCreateFieldsNull |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Database(int id)
id
- public Database(int id, String schema)
id
- schema
- public Database(String login, String password, String driver, String url, int id, String displayname)
login
- password
- driver
- url
- id
- displayname
- public Database()
public Database(String login, String password, String driver, String url, String scheme)
login
- password
- driver
- url
- scheme
- Method Detail |
---|
public Integer getId()
NameAndIdObject
getId
in interface NameAndIdObject
Integer
object containing the idpublic void setId(Integer val)
NameAndIdObject
setId
in interface NameAndIdObject
val
- An Integer
object containing the idpublic String getUrl()
public void setUrl(String val)
public String getLogin()
public void setLogin(String val)
public String getPassword()
public void setPassword(String val)
public String getName()
NameAndIdObject
getName
in interface NameAndIdObject
String
containing the namepublic void setName(String val)
NameAndIdObject
setName
in interface NameAndIdObject
val
- A String
containing the namepublic String getDriver()
public void setDriver(String val)
public String getScheme()
public void setScheme(String scheme)
public Integer getClusterWeight()
public void setClusterWeight(Integer clusterWeight)
public Integer getMaxUnits()
public void setMaxUnits(Integer maxunits)
public Integer getPoolInitial()
public void setPoolInitial(Integer poolInitial)
public Integer getPoolMax()
public void setPoolMax(Integer poolMax)
public Integer getMasterId()
public void setMasterId(Integer masterId)
public Boolean isMaster()
public void setMaster(Boolean master)
public Integer getRead_id()
public void setRead_id(Integer read_id)
public Integer getCurrentUnits()
public void setCurrentUnits(Integer units)
public Integer getPoolHardLimit()
public void setPoolHardLimit(Integer poolHardLimit)
public String toString()
EnforceableDataObject
toString
in class EnforceableDataObject
public String[] getMandatoryMembersChange()
getMandatoryMembersChange
in class EnforceableDataObject
public String[] getMandatoryMembersCreate()
setId(java.lang.Integer)
, setDriver(java.lang.String)
, setUrl(java.lang.String)
and setScheme(java.lang.String)
are defined here
getMandatoryMembersCreate
in class EnforceableDataObject
public String[] getMandatoryMembersDelete()
setDriver(java.lang.String)
, setUrl(java.lang.String)
, setScheme(java.lang.String)
, setPassword(java.lang.String)
and setLogin(java.lang.String)
are defined here
getMandatoryMembersDelete
in class EnforceableDataObject
public String[] getMandatoryMembersRegister()
setPassword(java.lang.String)
, setName(java.lang.String)
and setMaster(java.lang.Boolean)
are defined here
getMandatoryMembersRegister
in class EnforceableDataObject
public boolean isClusterWeightset()
public boolean isCurrentUnitsset()
public boolean isDriverset()
public boolean isIdset()
public boolean isLoginset()
public boolean isMasterIdset()
public boolean isMasterset()
public boolean isMaxUnitsset()
public boolean isNameset()
public boolean isPasswordset()
public boolean isPoolHardLimitset()
public boolean isPoolInitialset()
public boolean isPoolMaxset()
public boolean isRead_idset()
public boolean isSchemeset()
public boolean isUrlset()
public int hashCode()
hashCode
in class EnforceableDataObject
public boolean equals(Object obj)
equals
in class EnforceableDataObject
public Boolean getMaster()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |