Class FormFieldValueEntity


  • public class FormFieldValueEntity
    extends Object
    Author:
    Yohann Chastagnier
    • Constructor Detail

      • FormFieldValueEntity

        protected FormFieldValueEntity()
    • Method Detail

      • withLink

        public FormFieldValueEntity withLink​(String link)
        Sets a link to this entity.
        Parameters:
        link - the link.
        Returns:
        itself.
      • withAttachmentURI

        public FormFieldValueEntity withAttachmentURI​(URI attachmentUri)
        Sets an attachment URI to this entity.
        Parameters:
        attachmentUri - the web attachment entity URI.
        Returns:
        itself.
      • createFrom

        public static FormFieldValueEntity createFrom​(String id,
                                                      String displayedValue)
        Creates a new form field value entity from the specified form field value data
        Parameters:
        id -
        displayedValue -
        Returns:
        the entity representing the specified form field value data.
      • getId

        protected String getId()
      • getDisplayedValue

        protected String getDisplayedValue()