Interface FieldTemplate

    • Method Detail

      • getFieldName

        String getFieldName()
        Returns the field name of the Field built on this template.
      • getTypeName

        String getTypeName()
        Returns the type name of the described field.
      • getDisplayerName

        String getDisplayerName()
        Returns the name of the FieldDisplayer to display the described field.
      • getLabel

        String getLabel()
        Returns the label of the described field (in the default locale).
      • getLabel

        String getLabel​(String lang)
        Returns the local label of the described field.
      • getLanguages

        String[] getLanguages()
        Returns the locals
      • isMandatory

        boolean isMandatory()
        Returns true when the described field must have a value.
      • isReadOnly

        boolean isReadOnly()
        Returns true when the described field can't be updated.
      • isDisabled

        boolean isDisabled()
        Returns true when the described field must be disabled.
      • isHidden

        boolean isHidden()
        Returns true when the described field must be hidden.
      • getParameters

        Map<String,​String> getParameters​(String language)
        Returns a Map (String -> String) of named parameters which can be used by the displayer (max-size, length ...).
      • isSearchable

        boolean isSearchable()
      • getTemplateName

        String getTemplateName()
      • isUsedAsFacet

        boolean isUsedAsFacet()
      • getMaximumNumberOfOccurrences

        int getMaximumNumberOfOccurrences()
      • isRepeatable

        boolean isRepeatable()