Package de.xima.fc.entities
Class AbstractEntity
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>,ITransferable,ITransferableEntity,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Direct Known Subclasses:
AbstractLockableEntity,FormRecordLock,ProjectTag,ProjektZaehler,ProjektZaehlerDaten,SystemChange
@MappedSuperclass public abstract class AbstractEntity extends de.xima.cmn.dao.model.AEntity<Long> implements ITransferableEntity
Diese Klasse ist die Elternklasse aller Entitäten und beinhaltet die Attribute, die in jeder Entität vorhanden sein müssen.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOL_IDprotected Longid-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
-
Constructor Summary
Constructors Constructor Description AbstractEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LongasIntValue(Long value)booleanisPersisted()voidsetId(Integer id)voidsetId(Long id)!!!-
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Field Detail
-
COL_ID
public static final String COL_ID
- See Also:
- Constant Field Values
-
id
protected Long id
-
-
Method Detail
-
setId
public void setId(Long id)
!!!WARNING: Currently values biggerInteger.MAX_VALUEor lower thenInteger.MIN_VALUEwill be altered to null!!!
-
isPersisted
public boolean isPersisted()
- Specified by:
isPersistedin interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
-