public class StaticFieldBuilder extends AbstractFieldBuilder
Constructor and Description |
---|
StaticFieldBuilder(String name) |
Modifier and Type | Method and Description |
---|---|
StaticFieldBuilder |
defaultValue(String defaultValue) |
StaticFieldDefinition |
definition() |
StaticFieldBuilder |
description(String description) |
StaticFieldBuilder |
i18n() |
StaticFieldBuilder |
i18n(boolean i18n) |
StaticFieldBuilder |
i18nBasename(String i18nBasename) |
StaticFieldBuilder |
label(String label) |
StaticFieldBuilder |
readOnly() |
StaticFieldBuilder |
readOnly(boolean readOnly) |
StaticFieldBuilder |
required() |
StaticFieldBuilder |
required(boolean required) |
StaticFieldBuilder |
requiredErrorMessage(String requiredErrorMessage) |
StaticFieldBuilder |
styleName(String styleName) |
StaticFieldBuilder |
transformerClass(Class<? extends Transformer<?>> transformerClass) |
StaticFieldBuilder |
type(String type) |
StaticFieldBuilder |
validator(ConfiguredFieldValidatorDefinition validatorDefinition) |
StaticFieldBuilder |
validator(GenericValidatorBuilder validatorBuilder) |
StaticFieldBuilder |
value(String value) |
public StaticFieldBuilder(String name)
public StaticFieldDefinition definition()
definition
in class AbstractFieldBuilder
public StaticFieldBuilder value(String value)
public StaticFieldBuilder label(String label)
label
in class AbstractFieldBuilder
public StaticFieldBuilder i18nBasename(String i18nBasename)
i18nBasename
in class AbstractFieldBuilder
public StaticFieldBuilder i18n(boolean i18n)
i18n
in class AbstractFieldBuilder
public StaticFieldBuilder i18n()
i18n
in class AbstractFieldBuilder
public StaticFieldBuilder description(String description)
description
in class AbstractFieldBuilder
public StaticFieldBuilder type(String type)
type
in class AbstractFieldBuilder
public StaticFieldBuilder required(boolean required)
required
in class AbstractFieldBuilder
public StaticFieldBuilder required()
required
in class AbstractFieldBuilder
public StaticFieldBuilder requiredErrorMessage(String requiredErrorMessage)
requiredErrorMessage
in class AbstractFieldBuilder
public StaticFieldBuilder readOnly(boolean readOnly)
readOnly
in class AbstractFieldBuilder
public StaticFieldBuilder readOnly()
readOnly
in class AbstractFieldBuilder
public StaticFieldBuilder defaultValue(String defaultValue)
defaultValue
in class AbstractFieldBuilder
public StaticFieldBuilder styleName(String styleName)
styleName
in class AbstractFieldBuilder
public StaticFieldBuilder validator(ConfiguredFieldValidatorDefinition validatorDefinition)
validator
in class AbstractFieldBuilder
public StaticFieldBuilder validator(GenericValidatorBuilder validatorBuilder)
validator
in class AbstractFieldBuilder
public StaticFieldBuilder transformerClass(Class<? extends Transformer<?>> transformerClass)
transformerClass
in class AbstractFieldBuilder
Copyright © 2020 Magnolia International Ltd.. All rights reserved.