Package de.xima.fc.entities
Class SystemProperty
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.SystemProperty
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,ILockingVersionProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class SystemProperty extends AbstractLockableEntity
Entity for system-wide properties- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_KEY
static String
ATTR_VALUE
static String
COL_KEY
static String
COL_VALUE
-
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.ITransferableEntity
IMPORT_ID, INVALID_ID
-
-
Constructor Summary
Constructors Constructor Description SystemProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getId()
@Size(max=250) String
getKey()
String
getValue()
void
setKey(String key)
void
setValue(String value)
-
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, 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
-
-
-
-
Field Detail
-
ATTR_KEY
public static final String ATTR_KEY
- See Also:
- Constant Field Values
-
ATTR_VALUE
public static final String ATTR_VALUE
- See Also:
- Constant Field Values
-
COL_KEY
public static final String COL_KEY
- See Also:
- Constant Field Values
-
COL_VALUE
public static final String COL_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public Long getId()
-
getKey
@Size(max=250) public @Size(max=250) String getKey()
- Returns:
- the key
-
setKey
public void setKey(String key)
- Parameters:
key
- the key to set
-
getValue
public String getValue()
- Returns:
- the value
-
setValue
public void setValue(String value)
- Parameters:
value
- the value to set
-
-