net.sf.basedb.info
Class AnnotationInfo
java.lang.Object
net.sf.basedb.info.AnnotationInfo
- All Implemented Interfaces:
- Serializable, Transferable
public class AnnotationInfo
- extends Object
- implements Serializable, Transferable
An information class that holds information about annotation values
for a given annotation type.
- Version:
- 2.5
- Author:
- Nicklas
- See Also:
- Serialized Form
Constructor Summary |
AnnotationInfo()
Creates information object with
no properties set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
annotationTypeId
private int annotationTypeId
valueType
private String valueType
values
private String[] values
AnnotationInfo
public AnnotationInfo()
- Creates information object with
no properties set.
getValues
public String[] getValues()
- Returns:
- Returns the annotation values as strings
setValues
public void setValues(String[] values)
- Parameters:
values
- Change the annotation values
getAnnotationTypeId
public int getAnnotationTypeId()
- Returns:
- The external ID of the annotation type or null
setAnnotationTypeId
public void setAnnotationTypeId(int annotationTypeId)
- Parameters:
annotationTypeId
- The annotationTypeId to set
getValueType
public String getValueType()
- Returns:
- The class of values that can be used for annotations. The value
is the string representation of one of the options in
Type
,
ie. STRING, INT, LONG
setValueType
public void setValueType(String valueType)
- Parameters:
valueType
- The class of values that can be used for annotations.- See Also:
getValueType()