Package jade.content.onto.annotations
Annotation Type Slot
-
@Retention(RUNTIME) public @interface Slot
Allows to specify in the ontological schema themandatoryandnameattributes of the slot.
The annotation is to be applied to the getter method.- Author:
- Paolo Cancedda
-
-
Field Summary
Fields Modifier and Type Fields Description static StringNULLstatic StringUSE_METHOD_NAME
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdefaultValueStringdocumentationbooleanmanageAsSerializableTell the BeanOntologyBuilder to treat this slot as a Serializable object.booleanmandatoryStringnameString[]permittedValuesintpositionStringregex
-
-
-
Field Detail
-
USE_METHOD_NAME
static final String USE_METHOD_NAME
-
-
-
NULL
static final String NULL
-
-
Element Detail
-
name
String name
- Default:
- "__USE_METHOD_NAME__"
-
-
-
documentation
String documentation
- Default:
- "__NULL__"
-
-
-
defaultValue
String defaultValue
- Default:
- "__NULL__"
-
-
-
regex
String regex
- Default:
- "__NULL__"
-
-
-
permittedValues
String[] permittedValues
- Default:
- {}
-
-