Class 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:
Last modified
$Date: 2006-04-18 10:48:02 +0100 (Tue, 18 Apr 2006) $
Hibernate: class
table="`AnnotationTypeCategories`" lazy="false"
  • Field Details

  • Constructor Details

    • AnnotationTypeCategoryData

      public AnnotationTypeCategoryData()
  • Method Details

    • 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)
    • getShortName

      public String getShortName()
      A short name can be used in some places instead of the normal name.
      Since:
      3.20
      Hibernate: property
      column="`short_name`" type="string" length="255" not-null="false"
    • setShortName

      public void setShortName(String shortName)
    • getItemSubtype

      public ItemSubtypeData getItemSubtype()
      The subtype that is linked to this category of annotations.
      Since:
      3.20
      Hibernate: many-to-one
      column="`subtype_id`" not-null="false" outer-join="false"
    • setItemSubtype

      public void setItemSubtype(ItemSubtypeData subtype)
    • getSubCategoryValues

      public ParameterValueData<?> getSubCategoryValues()
      The values to match for subcategories. The values should be selected from the annotation type on the item subtype.
      Since:
      3.20
      Hibernate: many-to-one
      column="`subcategoryvalues_id`" not-null="false" cascade="all" unique="true"
    • setSubCategoryValues

      public void setSubCategoryValues(ParameterValueData<?> subCategoryValues)
    • getAnnotationTypes

      public Set<AnnotationTypeData> getAnnotationTypes()
      This is the inverse end.
      See Also:
      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)