org.silverpeas.contribution.web
Class FormFieldEntity

java.lang.Object
  extended by org.silverpeas.contribution.web.FormFieldEntity

public class FormFieldEntity
extends Object

Author:
Yohann Chastagnier

Constructor Summary
protected FormFieldEntity()
           
 
Method Summary
static FormFieldEntity createFrom(String type, String name, String label, FormFieldValueEntity value)
          Creates a new form field entity from the specified field data.
protected  String getLabel()
           
protected  String getName()
           
protected  String getType()
           
protected  FormFieldValueEntity getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormFieldEntity

protected FormFieldEntity()
Method Detail

createFrom

public static FormFieldEntity createFrom(String type,
                                         String name,
                                         String label,
                                         FormFieldValueEntity value)
Creates a new form field entity from the specified field data.

Parameters:
type -
name -
label -
value -
Returns:
the entity representing the specified field data.

getType

protected String getType()

getName

protected String getName()

getLabel

protected String getLabel()

getValue

protected FormFieldValueEntity getValue()


Copyright © 2016 Silverpeas. All Rights Reserved.