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
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 the
VirtualDbData
item.- Since:
- 3.1
- Author:
- Nicklas
- See Also:
- Last modified
- $Date $
- Hibernate: class
- table="`ReporterCloneTemplates`" lazy="true"
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private Date
private boolean
private Map<String,
ReporterClonePropertyData> Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getBytes()
The number of bytes the cloned reporter information uses in the dynamic database.Get the date this item was added to the database.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 Details
-
entryDate
-
locked
private boolean locked -
bytes
private long bytes -
properties
-
-
Constructor Details
-
ReporterCloneTemplateData
public ReporterCloneTemplateData()
-
-
Method Details
-
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
-
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
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
-