2.17.2: 2011-06-17

net.sf.basedb.core.data
Class AnnotationTypeCategoryData

java.lang.Object
  extended by net.sf.basedb.core.data.BasicData
      extended by net.sf.basedb.core.data.OwnedData
          extended by net.sf.basedb.core.data.SharedData
              extended by net.sf.basedb.core.data.CommonData
                  extended by 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"

Field Summary
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
AnnotationTypeCategoryData()
           
 
Method Summary
(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, isRemoved, setDescription, setName, setRemoved
 
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
 
Methods inherited from class net.sf.basedb.core.data.OwnedData
getOwner, setOwner
 
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

annotationTypes

private Set<AnnotationTypeData> annotationTypes
Constructor Detail

AnnotationTypeCategoryData

public AnnotationTypeCategoryData()
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 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)

2.17.2: 2011-06-17