Package net.sf.basedb.core.data
Class ReporterClonePropertyData
java.lang.Object
net.sf.basedb.core.data.ReporterClonePropertyData
This class holds information about cloned reporter properties.
- Since:
- 3.1
- Author:
- Nicklas
- See Also:
- Last modified
- $Date $
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
The code for the averate method to use when calculating averages.Get the name of database column.Get a description of the property.int
The maximum length of string value types.getTitle()
Get the title of the property.int
The code for the value type.boolean
If the column is an extended or "static" property.boolean
If the column is a mandatory that must be in all clone templates.boolean
If the column is nullable or not.void
setAverageMethod
(int averageMethod) void
void
setDescription
(String description) void
setExtendedProperty
(boolean extendedProperty) void
setLength
(int length) void
setMandatory
(boolean mandatory) void
setNullable
(boolean nullable) void
void
setValueType
(int valueType)
-
Field Details
-
title
-
description
-
valueType
private int valueType -
MAX_COLUMN_LENGTH
public static final int MAX_COLUMN_LENGTHThe maximum length of the column that can be stored in the database.- See Also:
-
column
-
length
private int length -
nullable
private boolean nullable -
averageMethod
private int averageMethod -
extendedProperty
private boolean extendedProperty -
mandatory
private boolean mandatory
-
-
Constructor Details
-
ReporterClonePropertyData
public ReporterClonePropertyData()
-
-
Method Details
-
getTitle
Get the title of the property.- Hibernate: property
- column="`title`" type="string" length="255" not-null="true" update="false"
-
setTitle
-
getDescription
Get a description of the property.- Hibernate: property
- column="`description`" type="text" not-null="false" update="false"
-
setDescription
-
getValueType
public int getValueType()The code for the value type.- Hibernate: property
- column="`value_type`" type="int" not-null="true" update="false"
-
setValueType
public void setValueType(int valueType) -
getColumn
Get the name of database column.- Hibernate: property
- column="`column`" type="string" length="255" not-null="true" update="false"
-
setColumn
-
getLength
public int getLength()The maximum length of string value types.- Hibernate: property
- column="`length`" type="int" not-null="true"
-
setLength
public void setLength(int length) -
isNullable
public boolean isNullable()If the column is nullable or not.- Hibernate: property
- column="`nullable`" type="boolean" not-null="true" update="false"
-
setNullable
public void setNullable(boolean nullable) -
getAverageMethod
public int getAverageMethod()The code for the averate method to use when calculating averages.- Hibernate: property
- column="`average_method`" type="int" not-null="true" update="false"
-
setAverageMethod
public void setAverageMethod(int averageMethod) -
isExtendedProperty
public boolean isExtendedProperty()If the column is an extended or "static" property.- Hibernate: property
- column="`extended_property`" type="boolean" not-null="true" update="false"
-
setExtendedProperty
public void setExtendedProperty(boolean extendedProperty) -
isMandatory
public boolean isMandatory()If the column is a mandatory that must be in all clone templates.- Hibernate: property
- column="`mandatory`" type="boolean" not-null="true" update="false"
-
setMandatory
public void setMandatory(boolean mandatory)
-