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
,
Annotations overview- Last modified
- $Date: 2006-04-18 10:48:02 +0100 (Tue, 18 Apr 2006) $
- Hibernate: class
- table="`AnnotationTypeCategories`" lazy="false"
entryDate
private Date entryDate
annotationTypes
private Set<AnnotationTypeData> annotationTypes
AnnotationTypeCategoryData
public AnnotationTypeCategoryData()
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 interface RegisteredData
setEntryDate
public void setEntryDate(Date entryDate)
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
void setAnnotationTypes(Set<AnnotationTypeData> annotationTypes)