Package de.xima.fc.entities
Class APluginEntity<T extends IPluginFileEntity<?,?,?>,J extends IFileDataEntity<T>,C extends IFileDataEntity<T>>
- 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.APluginEntity<T,J,C>
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IDescriptionProviding
,INameProviding
,IPluginEntity<T,J,C>
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IUUIDEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Direct Known Subclasses:
ClientPlugin
,SystemPlugin
@MappedSuperclass public abstract class APluginEntity<T extends IPluginFileEntity<?,?,?>,J extends IFileDataEntity<T>,C extends IFileDataEntity<T>> extends ALockableEntity implements IPluginEntity<T,J,C>
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
active
static String
ATTR_ACTIVE
static String
ATTR_REMOTE_SYNC
static String
COL_UUID
protected String
description
protected String
name
protected boolean
remoteSync
protected UUID
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.INameProviding
ATTR_NAME, COL_NAME
-
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 Constructor Description APluginEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBeschreibung()
String
getName()
String
getRuntimeKey()
String
getUUID()
UUID
getUUIDObject()
boolean
isActive()
boolean
isRemoteSync()
void
setActive(boolean active)
void
setBeschreibung(String description)
void
setName(String name)
void
setRemoteSync(boolean sync)
void
setUUID(String uuid)
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, 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.IPluginEntity
getFileEntity, getScopeKey
-
-
-
-
Field Detail
-
ATTR_ACTIVE
public static final String ATTR_ACTIVE
- See Also:
- Constant Field Values
-
ATTR_REMOTE_SYNC
public static final String ATTR_REMOTE_SYNC
- See Also:
- Constant Field Values
-
COL_UUID
public static final String COL_UUID
- See Also:
- Constant Field Values
-
uuid
protected UUID uuid
-
name
protected String name
-
description
protected String description
-
remoteSync
protected boolean remoteSync
-
active
protected boolean active
-
-
Method Detail
-
getUUID
public String 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
public void setUUID(String uuid)
- Specified by:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
public UUID getUUIDObject()
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
getName
public String getName()
- Specified by:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceIPluginEntity<T extends IPluginFileEntity<?,?,?>,J extends IFileDataEntity<T>,C extends IFileDataEntity<T>>
-
getBeschreibung
public String getBeschreibung()
- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
setBeschreibung
public void setBeschreibung(String description)
- Specified by:
setBeschreibung
in interfaceIPluginEntity<T extends IPluginFileEntity<?,?,?>,J extends IFileDataEntity<T>,C extends IFileDataEntity<T>>
-
isRemoteSync
public boolean isRemoteSync()
- Specified by:
isRemoteSync
in interfaceIPluginEntity<T extends IPluginFileEntity<?,?,?>,J extends IFileDataEntity<T>,C extends IFileDataEntity<T>>
-
setRemoteSync
public void setRemoteSync(boolean sync)
- Specified by:
setRemoteSync
in interfaceIPluginEntity<T extends IPluginFileEntity<?,?,?>,J extends IFileDataEntity<T>,C extends IFileDataEntity<T>>
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfaceIPluginEntity<T extends IPluginFileEntity<?,?,?>,J extends IFileDataEntity<T>,C extends IFileDataEntity<T>>
- Returns:
- the active
-
setActive
public void setActive(boolean active)
- Specified by:
setActive
in interfaceIPluginEntity<T extends IPluginFileEntity<?,?,?>,J extends IFileDataEntity<T>,C extends IFileDataEntity<T>>
- Parameters:
active
- the active to set
-
getRuntimeKey
public String getRuntimeKey()
- Specified by:
getRuntimeKey
in interfaceIPluginEntity<T extends IPluginFileEntity<?,?,?>,J extends IFileDataEntity<T>,C extends IFileDataEntity<T>>
-
-