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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_MANDANT
Deprecated.will be removed, usegetProjekt()
andAbstractMandantDependentEntity.getMandant()
static String
COL_UUID
-
Fields 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.fc.entities.interfaces.IFileProviding
ATTR_DATEI, ATTR_FILE
-
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, NULLABLE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description ProjektRessource()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getBeschreibung()
ProjektRessourceDatei
getFileEntity()
Long
getId()
Mandant
getMandant()
Deprecated.will be removed, usegetProjekt()
andAbstractMandantDependentEntity.getMandant()
String
getName()
Projekt
getProjekt()
String
getUUID()
Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.UUID
getUUIDObject()
Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.void
setBeschreibung(String beschreibung)
void
setFileEntity(ProjektRessourceDatei fileEntity)
void
setId(Long id)
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!void
setMandant(Mandant mandant)
Deprecated.will be removed, usegetProjekt()
andAbstractMandantDependentEntity.getMandant()
void
setName(String name)
void
setProjekt(Projekt projekt)
void
setUUID(String uuid)
Sets the UUID (universal unique identifier) that uniquely identifies this type of entity.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.fc.entities.interfaces.IFileProviding
getDatei, setDatei
-
-
-
-
Field Detail
-
COL_UUID
public static final String COL_UUID
- See Also:
- Constant Field Values
-
ATTR_MANDANT
@Deprecated public static final String ATTR_MANDANT
Deprecated.will be removed, usegetProjekt()
andAbstractMandantDependentEntity.getMandant()
- See Also:
- Constant Field Values
-
-
Method Detail
-
setId
public void setId(Long id)
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
public String getUUID()
Description copied from interface:IUUIDEntity
Gets 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 scopes
orproject scope
.- Specified by:
getUUID
in interfaceIUUIDEntity
- Returns:
- The UUID of the entity.
-
setUUID
public void setUUID(String uuid)
Description copied from interface:IUUIDEntity
Sets 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 scopes
orproject scope
.- Specified by:
setUUID
in interfaceIUUIDEntity
- Parameters:
uuid
- The UUID of the entity.
-
getUUIDObject
public UUID getUUIDObject()
Description copied from interface:IUUIDEntity
Gets 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 scopes
orproject scope
.- Specified by:
getUUIDObject
in interfaceIUUIDEntity
- Returns:
- The UUID of the entity.
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
getFileEntity
public ProjektRessourceDatei getFileEntity()
- Specified by:
getFileEntity
in interfaceIFileProviding<ProjektRessourceDatei,ProjektRessourceDateiData>
-
setFileEntity
public void setFileEntity(ProjektRessourceDatei fileEntity)
- Specified by:
setFileEntity
in interfaceIFileProviding<ProjektRessourceDatei,ProjektRessourceDateiData>
-
getProjekt
public Projekt getProjekt()
- Specified by:
getProjekt
in interfaceIProjektDependent
-
setProjekt
public void setProjekt(Projekt projekt)
- Specified by:
setProjekt
in interfaceIProjektDependent
-
setName
public void setName(String name)
-
getName
public String getName()
- Specified by:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
getBeschreibung
public String getBeschreibung()
- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
setBeschreibung
public void setBeschreibung(String beschreibung)
-
getMandant
@Deprecated public Mandant getMandant()
Deprecated.will be removed, usegetProjekt()
andAbstractMandantDependentEntity.getMandant()
- Specified by:
getMandant
in interfaceIMandantDependent
- Returns:
- returns the client or null if not set
-
setMandant
@Deprecated public void setMandant(Mandant mandant)
Deprecated.will be removed, usegetProjekt()
andAbstractMandantDependentEntity.getMandant()
- Specified by:
setMandant
in interfaceIMandantDependent
-
-