Package de.xima.fc.entities
Class ProjektRessource
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.ALockableEntity
de.xima.fc.entities.ProjektRessource
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IDescriptionProviding
,IFileProviding<ProjektRessourceDatei,
,ProjektRessourceDateiData> ILockingVersionProviding
,IMandantDependent
,INameProviding
,IProjektDependent
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IUUIDEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class ProjektRessource
extends ALockableEntity
implements IFileProviding<ProjektRessourceDatei,ProjektRessourceDateiData>, IProjektDependent, INameProviding, IDescriptionProviding, IUUIDEntity, IMandantDependent
- See Also:
-
Field Summary
FieldsFields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
Fields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.fc.entities.interfaces.IFileProviding
ATTR_DATEI, ATTR_FILE
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
Fields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
COL_CLIENT_ID
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
Fields inherited from interface de.xima.fc.entities.interfaces.IProjektDependent
ATTR_PROJEKT
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Deprecated.will be removed, usegetProjekt()
andAbstractMandantDependentEntity.getMandant()
getName()
getUUID()
void
setBeschreibung
(String beschreibung) void
setFileEntity
(ProjektRessourceDatei fileEntity) void
!!!void
setMandant
(Mandant mandant) Deprecated.will be removed, usegetProjekt()
andAbstractMandantDependentEntity.getMandant()
void
void
setProjekt
(Projekt projekt) void
void
setUUIDObject
(UUID uuid) Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
getDescription
Methods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted
Methods inherited from interface de.xima.fc.entities.interfaces.IFileProviding
getDatei, setDatei
-
Field Details
-
COL_UUID
- See Also:
-
ATTR_MANDANT
Deprecated.will be removed, usegetProjekt()
andAbstractMandantDependentEntity.getMandant()
- See Also:
-
-
Constructor Details
-
ProjektRessource
public ProjektRessource()
-
-
Method Details
-
getId
- Specified by:
getId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
setId
Description copied from class:AbstractEntity
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!- Specified by:
setId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
- Overrides:
setId
in classAbstractEntity
- Parameters:
id
-Long
the database-id to set
-
getUUID
- Specified by:
getUUID
in interfaceIUUIDEntity
- Returns:
- UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a
context, e.g.
Mandant
,Projekt
, ...
-
setUUID
- Specified by:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
-
getFileEntity
- Specified by:
getFileEntity
in interfaceIFileProviding<ProjektRessourceDatei,
ProjektRessourceDateiData>
-
setFileEntity
- Specified by:
setFileEntity
in interfaceIFileProviding<ProjektRessourceDatei,
ProjektRessourceDateiData>
-
getProjekt
- Specified by:
getProjekt
in interfaceIProjektDependent
-
setProjekt
- Specified by:
setProjekt
in interfaceIProjektDependent
-
setName
-
getName
- Specified by:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
getBeschreibung
- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
setBeschreibung
-
getMandant
Deprecated.will be removed, usegetProjekt()
andAbstractMandantDependentEntity.getMandant()
- Specified by:
getMandant
in interfaceIMandantDependent
- Returns:
- returns the client or null if not set
-
setMandant
Deprecated.will be removed, usegetProjekt()
andAbstractMandantDependentEntity.getMandant()
- Specified by:
setMandant
in interfaceIMandantDependent
-
getProjekt()
andAbstractMandantDependentEntity.getMandant()