Package net.sf.basedb.core.data
Class ReporterCloneTemplateData
- java.lang.Object
-
- net.sf.basedb.core.data.BasicData
-
- net.sf.basedb.core.data.OwnedData
-
- net.sf.basedb.core.data.SharedData
-
- net.sf.basedb.core.data.CommonData
-
- net.sf.basedb.core.data.ReporterCloneTemplateData
-
- All Implemented Interfaces:
IdentifiableData
,LoggableData
,NameableData
,OwnableData
,RegisteredData
,RemovableData
,ShareableData
public class ReporterCloneTemplateData extends CommonData implements RegisteredData, LoggableData
A template for holding information about reporter properties that are/should be cloned in the dynamic database. Unlocked templates are created by a admin/power user and can be used in a cloning operation. The cloning operation creates a locked copy of the template that is attached to theVirtualDbData
item.- Since:
- 3.1
- Author:
- Nicklas
- See Also:
ReporterCloneTemplate
, Developer documentation: Reporters- Last modified
- $Date $
- Hibernate: class
- table="`ReporterCloneTemplates`" lazy="true"
-
-
Field Summary
Fields Modifier and Type Field Description private long
bytes
private Date
entryDate
private boolean
locked
private Map<String,ReporterClonePropertyData>
properties
-
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
-
Constructor Summary
Constructors Constructor Description ReporterCloneTemplateData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBytes()
The number of bytes the cloned reporter information uses in the dynamic database.Date
getEntryDate()
Get the date this item was added to the database.Map<String,ReporterClonePropertyData>
getProperties()
Get the map that manages cloned properties.boolean
isLocked()
The template is locked when it is used by aVirtualDbData
.void
setBytes(long bytes)
void
setEntryDate(Date entryDate)
void
setLocked(boolean locked)
(package private) void
setProperties(Map<String,ReporterClonePropertyData> properties)
-
Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, getRemovedBy, setDescription, setName, setRemovedBy
-
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
-
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
-
Methods inherited from interface net.sf.basedb.core.data.OwnableData
getOwner, setOwner
-
-
-
-
Field Detail
-
entryDate
private Date entryDate
-
locked
private boolean locked
-
bytes
private long bytes
-
properties
private Map<String,ReporterClonePropertyData> properties
-
-
Method Detail
-
getEntryDate
public Date getEntryDate()
Description copied from interface:RegisteredData
Get the date this item was added to the database. The value is generated at creation time and can't be modified later.- Specified by:
getEntryDate
in interfaceRegisteredData
-
setEntryDate
public void setEntryDate(Date entryDate)
-
isLocked
public boolean isLocked()
The template is locked when it is used by aVirtualDbData
. The locked status can never be changed.- Hibernate: property
- column="`locked`" type="boolean" not-null="true" update="false"
-
setLocked
public void setLocked(boolean locked)
-
getBytes
public long getBytes()
The number of bytes the cloned reporter information uses in the dynamic database.- Hibernate: property
- column="`bytes`" type="long" not-null="true"
-
setBytes
public void setBytes(long bytes)
-
getProperties
public Map<String,ReporterClonePropertyData> getProperties()
Get the map that manages cloned properties.- Hibernate: map
- table="`ReporterCloneProperties`" lazy="true"
- Hibernate: collection-key
- column="`template_id`"
- Hibernate: collection-index
- column="`property_name`" type="string" length="255"
- Hibernate: collection-composite-element
- class="net.sf.basedb.core.data.ReporterClonePropertyData" not-null="true"
-
setProperties
void setProperties(Map<String,ReporterClonePropertyData> properties)
-
-