jade.content.onto.annotations
Annotation Type Slot
@Retention(value=RUNTIME)
public @interface Slot
Allows to specify in the ontological schema the mandatory and name attributes of the slot.
The annotation is to be applied to the getter method.
- Author:
- Paolo Cancedda
name
public abstract java.lang.String name
- Default:
- "__USE_METHOD_NAME__"
documentation
public abstract java.lang.String documentation
- Default:
- "__NULL__"
position
public abstract int position
- Default:
- -1
mandatory
public abstract boolean mandatory
- Default:
- false
manageAsSerializable
public abstract boolean manageAsSerializable
- Default:
- false
defaultValue
public abstract java.lang.String defaultValue
- Default:
- "__NULL__"
regex
public abstract java.lang.String regex
- Default:
- "__NULL__"
permittedValues
public abstract java.lang.String[] permittedValues
- Default:
- {}
These are the official JADE API. For these API backward compatibility is guaranteed accross JADE versions