| Package | Description |
|---|---|
| com.biomatters.geneious.publicapi.documents |
Provides interfaces and classes for defining documents in Geneious and related
interfaces and classes for dealing with XMLSerialization.
|
| Modifier and Type | Method and Description |
|---|---|
static Constraint |
Constraint.createConstraint(Class type,
Condition condition,
Object operand)
Construct a constraint with the given options
|
| Modifier and Type | Method and Description |
|---|---|
List<Constraint> |
DocumentNoteField.getConstraints()
These are enforced by
DocumentNote.setFieldValue(String, Object). |
| Modifier and Type | Method and Description |
|---|---|
static String |
Constraint.constraintsToString(Constraint[] constraints)
A convenient method to neatly list the Constraints.
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentNoteField |
DocumentNoteField.createDateNoteField(String name,
String description,
String code,
List<Constraint> constraints,
boolean allowUserModification)
Construct a DocumentNoteField that represents a date value
|
static DocumentNoteField |
DocumentNoteField.createDecimalNoteField(String name,
String description,
String code,
List<Constraint> constraints,
boolean allowUserModification)
Construct a DocumentNoteField that represents a decimal (real number) value
|
static DocumentNoteField |
DocumentNoteField.createIntegerNoteField(String name,
String description,
String code,
List<Constraint> constraints,
boolean allowUserModification)
Construct a DocumentNoteField that represents an integer (whole number) value
|
static DocumentNoteField |
DocumentNoteField.createTextNoteField(String name,
String description,
String code,
List<Constraint> constraints,
boolean allowUserModification)
Construct a DocumentNoteField that represents a String (text) value.
|
void |
DocumentNoteField.setConstraints(List<Constraint> constraints)
Set constraints on the value that can be given to this field.
|