Interface Field
- All Superinterfaces:
ComponentExporter
A base interface to be extended by all the different types of form fields.
- Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull StringReturns the type of the resource for which the export is performed.default StringReturns the message for the help block.default StringgetId()Returns an unique identifier for this field.default StringgetName()Returns the value of the HTMLnameattribute.default StringgetTitle()Returns the title of the field (text displayed on the field).default StringgetValue()Returns the value of the HTMLvalueattribute.
-
Field Details
-
PN_NAME
Name of the property which holds the name of the field.- Since:
- com.adobe.cq.wcm.core.components.models.form 14.5.0
- See Also:
-
-
Method Details
-
getId
Returns an unique identifier for this field.- Returns:
- an unique identifier for the field
- Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0; marked
defaultin 14.1.0
-
getName
Returns the value of the HTMLnameattribute.- Returns:
- the value of the HTML
nameattributeNote:
{'name':'value'}is sent as a request parameter when POST-ing the form - Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0; marked
defaultin 14.1.0
-
getValue
Returns the value of the HTMLvalueattribute.- Returns:
- the value of the HTML
valueattributeNote:
{'name':'value'}is sent as a request parameter when POST-ing the form - Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0; marked
defaultin 14.1.0
-
getTitle
Returns the title of the field (text displayed on the field).- Returns:
- the title of the field (text displayed on the field)
Implementations can return
nullif the title is not required. - Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0; marked
defaultin 14.1.0
-
getHelpMessage
Returns the message for the help block.- Returns:
- the message for the help block
Implementations can return
nullif the help message is not required. - Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0; marked
defaultin 14.1.0
-
getExportedType
Description copied from interface:ComponentExporterReturns the type of the resource for which the export is performed.
NOTE: methods whose JSON serialization would lead to the same JSON property name (":type") will not be serialized.
- Specified by:
getExportedTypein interfaceComponentExporter- Returns:
- the type of the component
- Since:
- com.adobe.cq.wcm.core.components.models.form 14.2.0
- See Also:
-