Last update: 2011-06-23

org.proteios.core.data
Class AnnotationData

java.lang.Object
  extended by org.proteios.core.data.BasicData
      extended by org.proteios.core.data.AnnotationData
All Implemented Interfaces:
IdentifiableData

public class AnnotationData
extends BasicData

This class holds information about an annotation

Version:
2.0
Author:
Nicklas
See Also:
Annotation, Annotations overview
Hibernate: class
table="`Annotations`" lazy="false"

Constructor Summary
AnnotationData()
           
 
Method Summary
 AnnotationSetData getAnnotationSet()
          Get the annotation set this annotation primarily belongs to.
 AnnotationTypeData getAnnotationType()
          Get the type of this annotation.
 ParameterValueData<?> getValues()
          The values of this annotation.
 void setAnnotationSet(AnnotationSetData annotationSet)
           
 void setAnnotationType(AnnotationTypeData annotationType)
           
 void setValues(ParameterValueData<?> values)
           
 
Methods inherited from class org.proteios.core.data.BasicData
equals, getId, getVersion, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationData

public AnnotationData()
Method Detail

getAnnotationSet

public AnnotationSetData getAnnotationSet()
Get the annotation set this annotation primarily belongs to.

Hibernate: column
name="`annotationset_id`" not-null="true" unique-key="uniquetype"
Hibernate: many-to-one
outer-join="false" update="false"

setAnnotationSet

public void setAnnotationSet(AnnotationSetData annotationSet)

getAnnotationType

public AnnotationTypeData getAnnotationType()
Get the type of this annotation.

Hibernate: column
name="`annotationtype_id`" not-null="true" unique-key="uniquetype"
Hibernate: many-to-one
outer-join="false" update="false"

setAnnotationType

public void setAnnotationType(AnnotationTypeData annotationType)

getValues

public ParameterValueData<?> getValues()
The values of this annotation.

Hibernate: many-to-one
column="`value_id`" not-null="true" update="false" cascade="all" unique="true"

setValues

public void setValues(ParameterValueData<?> values)

Last update: 2011-06-23