Class FormFieldValueEntity
- java.lang.Object
-
- org.silverpeas.core.webapi.contribution.FormFieldValueEntity
-
public class FormFieldValueEntity extends Object
- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FormFieldValueEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormFieldValueEntity
createFrom(String id, String displayedValue)
Creates a new form field value entity from the specified form field value dataprotected String
getDisplayedValue()
protected String
getId()
FormFieldValueEntity
withAttachmentURI(URI attachmentUri)
Sets an attachment URI to this entity.FormFieldValueEntity
withLink(String link)
Sets a link to this entity.
-
-
-
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()
-
-