T
- Type of the data to populate the selection componentsDEF
- Type of the datasource definition used by this select field.public abstract class AbstractSelectFieldDefinition<T,DEF> extends ConfiguredFieldDefinition<T> implements WithDatasource<DEF>
Options are populated via the configured datasource enabling the connection to any available datasource (JCR, Rest, JPA, etc.)
Constructor and Description |
---|
AbstractSelectFieldDefinition() |
Modifier and Type | Method and Description |
---|---|
Class<T> |
getType()
By default returns either a String or a Set (of String) depending on whether the definition is for a single or a multi select field.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
from, getDatasource
getConversionErrorMessage, getConverterClass, getDefaultValue, getRequiredErrorMessage, getValidators, isI18n, isReadOnly, isRequired
getDescription, getLabel, getStyleName
public Class<T> getType()
getType
in interface FieldDefinition<T>
Copyright © 2018 Magnolia International Ltd.. All rights reserved.