|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.data.BasicData
org.proteios.core.data.OwnedData
org.proteios.core.data.SharedData
org.proteios.core.data.CommonData
org.proteios.core.data.AnnotationTypeData
public class AnnotationTypeData
This class holds information about an annotation type.
AnnotationType,
Annotations overview| Field Summary | |
|---|---|
static int |
MAX_ADDEDPARAMETERNAME_LENGTH
|
static int |
MAX_ADDEDPARAMETERTYPE_LENGTH
|
static int |
MAX_ADDEDPARAMETERVALUE_LENGTH
|
static int |
MAX_DEFAULT_VALUE_LENGTH
|
static int |
MAX_OPTION_LENGTH
|
| Fields inherited from interface org.proteios.core.data.NameableData |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Constructor Summary | |
|---|---|
AnnotationTypeData()
|
|
| Method Summary | |
|---|---|
String |
getAddedParameterName()
Get the addedParameterName value. |
String |
getAddedParameterType()
Get the addedParameterType value. |
String |
getAddedParameterValue()
Get the addedParameterValue value. |
String |
getDefaultValue()
The default value of new annotations. |
ParameterValueData<?> |
getEnumerationValues()
The allowed values if this is an enumeration. |
int |
getHeight()
The recommended height (lines) to display input fields for this annotation in client applications. |
Set<Integer> |
getItemTypes()
The item code for all items this annotation type can be applied to. |
int |
getMultiplicity()
How many values are allowed for this annotations of this type. 0 = no limit |
Map<String,String> |
getOptions()
Additional options depending on the value type. |
int |
getValueType()
The code for the value type. |
int |
getWidth()
The recommended width (characters) to display input fields for this annotation in client applications. |
boolean |
isEnumeration()
If this annotation type defines a list of allowed values or not. |
boolean |
isRequiredForMiame()
If an annotation of this type must be present for an annotatable item to be compliant with MIAME. |
void |
setAddedParameterName(String addedParameterName)
Set the addedParameterName value. |
void |
setAddedParameterType(String addedParameterType)
Set the addedParameterType value. |
void |
setAddedParameterValue(String addedParameterValue)
Set the addedParameterValue value. |
void |
setDefaultValue(String defaultValue)
|
void |
setEnumeration(boolean isEnumeration)
|
void |
setEnumerationValues(ParameterValueData<?> enumerationValues)
|
void |
setHeight(int height)
|
void |
setMultiplicity(int multiplicity)
|
void |
setRequiredForMiame(boolean requiredForMiame)
|
void |
setValueType(int valueType)
|
void |
setWidth(int width)
|
| Methods inherited from class org.proteios.core.data.CommonData |
|---|
getDescription, getName, isRemoved, setDescription, setName, setRemoved |
| Methods inherited from class org.proteios.core.data.SharedData |
|---|
getItemKey, getProjectKey, setItemKey, setProjectKey |
| Methods inherited from class org.proteios.core.data.OwnedData |
|---|
getOwner, setOwner |
| 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 |
| Methods inherited from interface org.proteios.core.data.IdentifiableData |
|---|
getId, getVersion |
| Methods inherited from interface org.proteios.core.data.OwnableData |
|---|
getOwner, setOwner |
| Field Detail |
|---|
public static final int MAX_DEFAULT_VALUE_LENGTH
public static final int MAX_OPTION_LENGTH
public static final int MAX_ADDEDPARAMETERTYPE_LENGTH
public static final int MAX_ADDEDPARAMETERNAME_LENGTH
public static final int MAX_ADDEDPARAMETERVALUE_LENGTH
| Constructor Detail |
|---|
public AnnotationTypeData()
| Method Detail |
|---|
public int getMultiplicity()
public void setMultiplicity(int multiplicity)
public boolean isRequiredForMiame()
public void setRequiredForMiame(boolean requiredForMiame)
public boolean isEnumeration()
public void setEnumeration(boolean isEnumeration)
public int getHeight()
public void setHeight(int height)
public int getWidth()
public void setWidth(int width)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public int getValueType()
public void setValueType(int valueType)
public Set<Integer> getItemTypes()
public Map<String,String> getOptions()
public ParameterValueData<?> getEnumerationValues()
public void setEnumerationValues(ParameterValueData<?> enumerationValues)
public String getAddedParameterType()
public void setAddedParameterType(String addedParameterType)
addedParameterType - String the addedParameterType value to set.public String getAddedParameterName()
public void setAddedParameterName(String addedParameterName)
addedParameterName - String the addedParameterName value to set.public String getAddedParameterValue()
public void setAddedParameterValue(String addedParameterValue)
addedParameterValue - String the addedParameterValue value to set.
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||