Class DatenbankZugriff
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.AbstractMandantDependentEntity
de.xima.fc.entities.DatenbankZugriff
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, IDescriptionProviding, ILockingVersionProviding, IMandantDependent, INameProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class DatenbankZugriff
extends AbstractMandantDependentEntity
implements INameProviding, IDescriptionProviding, IUUIDEntity
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Integerstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class AbstractMandantDependentEntity
mandantFields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface IMandantDependent
ATTR_CLIENT, ATTR_MANDANT, COL_CLIENT_IDFields inherited from interface INameProviding
ATTR_NAME, COL_NAMEFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The database type is now determined automatically from the JDBC URL.Deprecated.The driver class is now determined automatically from the JDBC URL.getId()intgetName()intgetUUID()Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetBeschreibung(String beschreibung) voidsetDatenbankTyp(EDatenbankTyp datenbanktyp) Deprecated.The database type is now determined automatically from the JDBC URL.voidsetDbNutzerName(String dbNutzerName) voidsetDbNutzerPasswort(String dbNutzerPasswort) voidsetDriverClass(String driverClass) Deprecated.The driver class is now determined automatically from the JDBC URL.voidsetJdbcUrl(String jdbcUrl) voidsetMaxVerbindungen(int maxVerbindungen) voidvoidsetTimeout(int timeout) voidSets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetUUIDObject(UUID uuid) Methods inherited from class AbstractMandantDependentEntity
getMandant, setMandantMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface IDescriptionProviding
getDescriptionMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setId
-
Field Details
-
ATTR_MAX_VERBINDUNGEN
- See Also:
-
ATTR_DB_TYP
- See Also:
-
ATTR_VERBINDUNGS_URL
- See Also:
-
ATTR_JDBC_URL
- See Also:
-
ATTR_TIMEOUT
- See Also:
-
ATTR_CHECKOUT_TIMEOUT
-
COL_UUID
- See Also:
-
-
Constructor Details
-
DatenbankZugriff
public DatenbankZugriff()
-
-
Method Details
-
getId
-
getUUID
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUID
Description copied from interface:IUUIDEntitySets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
setUUIDin interfaceIUUIDEntity- Parameters:
uuid- The UUID of the entity.
-
getUUIDObject
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDObjectin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUIDObject
-
getName
- Specified by:
getNamein interfaceINameProviding- Returns:
- The name of this object.
-
setName
-
getBeschreibung
- Specified by:
getBeschreibungin interfaceIDescriptionProviding
-
setBeschreibung
-
getMaxVerbindungen
public int getMaxVerbindungen() -
setMaxVerbindungen
public void setMaxVerbindungen(int maxVerbindungen) -
getDatenbankTyp
Deprecated.The database type is now determined automatically from the JDBC URL.- Returns:
- the datenbankTyp
-
setDatenbankTyp
Deprecated.The database type is now determined automatically from the JDBC URL.- Parameters:
datenbanktyp- the datenbankTyp to set
-
getDbNutzerName
-
setDbNutzerName
-
getDbNutzerPasswort
-
setDbNutzerPasswort
-
getJdbcUrl
-
setJdbcUrl
-
getDriverClass
Deprecated.The driver class is now determined automatically from the JDBC URL.- Returns:
- the driverClass
-
setDriverClass
Deprecated.The driver class is now determined automatically from the JDBC URL.- Parameters:
driverClass- the driverClass to set
-
getTimeout
public int getTimeout() -
setTimeout
public void setTimeout(int timeout)
-