Package net.sf.basedb.core.data
Class AnnotationTypeCategoryData
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.AnnotationTypeCategoryData
- All Implemented Interfaces:
IdentifiableData
,NameableData
,OwnableData
,RegisteredData
,RemovableData
,ShareableData
public class AnnotationTypeCategoryData extends CommonData implements RegisteredData
This data layer class holds information about annotation type categories.
- Version:
- 2.0
- Author:
- Dominic Oyeniran
- See Also:
AnnotationTypeCategory
, Developer documentation: Annotations- Last modified
- $Date: 2006-04-18 10:48:02 +0100 (Tue, 18 Apr 2006) $
- Hibernate: class
- table="`AnnotationTypeCategories`" lazy="false"
-
Field Summary
Fields Modifier and Type Field Description private Set<AnnotationTypeData>
annotationTypes
private Date
entryDate
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
Constructor Summary
Constructors Constructor Description AnnotationTypeCategoryData()
-
Method Summary
Modifier and Type Method Description (package private) Set<AnnotationTypeData>
getAnnotationTypes()
This is the inverse end.Date
getEntryDate()
Get the date this item was added to the database.(package private) void
setAnnotationTypes(Set<AnnotationTypeData> annotationTypes)
void
setEntryDate(Date entryDate)
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
-
annotationTypes
-
-
Constructor Details
-
AnnotationTypeCategoryData
public AnnotationTypeCategoryData()
-
-
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
-
getAnnotationTypes
Set<AnnotationTypeData> getAnnotationTypes()This is the inverse end.- See Also:
AnnotationTypeData.getCategories()
- Hibernate: set
- table="`CategorisedAnnotationTypes`" lazy="true"
- Hibernate: collection-key
- column="`category_id`"
- Hibernate: collection-many-to-many
- column="`annotationtype_id`" class="net.sf.basedb.core.data.AnnotationTypeData"
-
setAnnotationTypes
-