FieldDefinition

public interface FieldDefinition

Definition of a custom Field that is stored on the server.

Inheritors

Types

Link copied to clipboard
public interface Hierarchy implements FieldDefinition

Details of a hierarchical or tree field.

Link copied to clipboard
public interface Selector implements FieldDefinition

Details of a list field.

Link copied to clipboard
public interface Text implements FieldDefinition

Details of a text (or email) field.

Functions

Link copied to clipboard
public abstract String getFieldId()

Identifier for the field.

Link copied to clipboard
public abstract String getLabel()

Human-readable label for the field.

Link copied to clipboard
public abstract Boolean isRequired()

True iff the value is required. This is only valid for fields within a survey

Link copied to clipboard
public abstract Unit validate(String value)

Check if value is valid for this field definition.