org.outerj.daisy.repository.schema
Interface LabelEnabled
- All Known Subinterfaces:
- DocumentType, FieldType, PartType, StaticListItem
public interface LabelEnabled
getLabel
String getLabel(Locale locale)
- Gets the label in the given locale, using the usual locale fallback
mechanisms if not found in the exactly specified locale, and finally
returning the fieldtype's name if no label is available.
getLabelExact
String getLabelExact(Locale locale)
setLabel
void setLabel(Locale locale,
String label)
- Parameters:
label - if null, the label for this locale will be removed.
clearLabels
void clearLabels()
getLabelLocales
Locale[] getLabelLocales()