org.silverpeas.contribution.web
Class FormFieldValueEntity
java.lang.Object
org.silverpeas.contribution.web.FormFieldValueEntity
public class FormFieldValueEntity
- extends Object
- Author:
- Yohann Chastagnier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormFieldValueEntity
protected FormFieldValueEntity()
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()
Copyright © 2016 Silverpeas. All Rights Reserved.