Interface Input
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisplayerName()
Get name of displayer used to show the itemString
getLabel(String role, String language)
Get label in specific language for the given roleContextualDesignations
getLabels()
Get all the labelsString
getValue()
Get default valueboolean
isMandatory()
Get value of mandatory attributeboolean
isReadonly()
Get the read-only attribute of this inputvoid
setDisplayerName(String displayerName)
Set name of displayer used to show the itemvoid
setMandatory(boolean mandatory)
Set value of mandatory attributevoid
setReadonly(boolean readonly)
Set the readonly attributevoid
setValue(String value)
Set default value
-
-
-
Method Detail
-
isReadonly
boolean isReadonly()
Get the read-only attribute of this input- Returns:
- true if input is read-only
-
setReadonly
void setReadonly(boolean readonly)
Set the readonly attribute
-
isMandatory
boolean isMandatory()
Get value of mandatory attribute- Returns:
- true if item must be filled
-
setMandatory
void setMandatory(boolean mandatory)
Set value of mandatory attribute- Parameters:
mandatory
- true if item must be filled
-
getDisplayerName
String getDisplayerName()
Get name of displayer used to show the item- Returns:
- displayer name
-
setDisplayerName
void setDisplayerName(String displayerName)
Set name of displayer used to show the item- Parameters:
displayerName
- displayer name
-
getValue
String getValue()
Get default value- Returns:
- default value
-
setValue
void setValue(String value)
Set default value- Parameters:
value
- default value
-
getLabels
ContextualDesignations getLabels()
Get all the labels- Returns:
- an object containing the collection of the labels
-
getLabel
String getLabel(String role, String language)
Get label in specific language for the given role- Parameters:
language
- label's languagerole
- role for which the label is- Returns:
- wanted label as a String object. If label is not found, search label with given role and default language, if not found again, return the default label in given language, if not found again, return the default label in default language, if not found again, return empty string.
-
-