fr.paris.lutece.plugins.form.business
Class Field

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.Field

public class Field
extends java.lang.Object

class Field


Constructor Summary
Field()
           
 
Method Summary
 java.util.List<IEntry> getConditionalQuestions()
           
 int getHeight()
           
 int getIdField()
           
 int getMaxSizeEnter()
           
 IEntry getParentEntry()
           
 int getPosition()
           
 java.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> getRegularExpressionList()
           
 java.lang.String getTitle()
           
 java.lang.String getValue()
           
 java.util.Date getValueTypeDate()
           
 int getWidth()
           
 boolean isDefaultValue()
           
 boolean isNoDisplayTitle()
           
 void setConditionalQuestions(java.util.List<IEntry> conditionalQuestions)
          set a list of Entry which is associate to the field
 void setDefaultValue(boolean defaultValue)
          set true if the field is a default field of the entry
 void setHeight(int height)
          set the height of the field
 void setIdField(int idField)
          set the id of the field
 void setMaxSizeEnter(int maxSizeEnter)
          set the max size of enter user
 void setNoDisplayTitle(boolean bNoDisplayTitle)
          set true if the title of field is not display
 void setParentEntry(IEntry entry)
          set the entry of the field
 void setPosition(int position)
          set the position of the field in the list of the entry's fields
 void setRegularExpressionList(java.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> regularExpressionList)
          set a list of regular expression which is associate to the field
 void setTitle(java.lang.String title)
          set the title of the field
 void setValue(java.lang.String value)
          set the value of the field
 void setValueTypeDate(java.util.Date defaultValueTypeDate)
          set the value of type Date
 void setWidth(int width)
          set the width of the field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Field

public Field()
Method Detail

getIdField

public int getIdField()
Returns:
the id of the field

setIdField

public void setIdField(int idField)
set the id of the field

Parameters:
idField - the id of the field

getPosition

public int getPosition()
Returns:
the position of the field in the list of the entry's fields

setPosition

public void setPosition(int position)
set the position of the field in the list of the entry's fields

Parameters:
position - the position of the field in the list of fields

getParentEntry

public IEntry getParentEntry()
Returns:
the entry of the field

setParentEntry

public void setParentEntry(IEntry entry)
set the entry of the field

Parameters:
entry - the entry of the field

getRegularExpressionList

public java.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> getRegularExpressionList()
Returns:
a list of regular expression which is associate to the field

setRegularExpressionList

public void setRegularExpressionList(java.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> regularExpressionList)
set a list of regular expression which is associate to the field

Parameters:
regularExpressionList - a list of regular expression which is associate to the field

getTitle

public java.lang.String getTitle()
Returns:
the title of the field

setTitle

public void setTitle(java.lang.String title)
set the title of the field

Parameters:
title - the title of the field

getValue

public java.lang.String getValue()
Returns:
the value of the field

setValue

public void setValue(java.lang.String value)
set the value of the field

Parameters:
value - the value of the field

getWidth

public int getWidth()
Returns:
the width of the field

setWidth

public void setWidth(int width)
set the width of the field

Parameters:
width - the width of the field

getHeight

public int getHeight()
Returns:
the height of the field

setHeight

public void setHeight(int height)
set the height of the field

Parameters:
height - the height of the field

getConditionalQuestions

public java.util.List<IEntry> getConditionalQuestions()
Returns:
a list of Entry which is associate to the field

setConditionalQuestions

public void setConditionalQuestions(java.util.List<IEntry> conditionalQuestions)
set a list of Entry which is associate to the field

Parameters:
conditionalQuestions - a list of Entry which is associate to the field

isDefaultValue

public boolean isDefaultValue()
Returns:
true if the field is a default field of the entry

setDefaultValue

public void setDefaultValue(boolean defaultValue)
set true if the field is a default field of the entry

Parameters:
defaultValue - true if the field is a default field of the entry

getMaxSizeEnter

public int getMaxSizeEnter()
Returns:
the max size of enter user

setMaxSizeEnter

public void setMaxSizeEnter(int maxSizeEnter)
set the max size of enter user

Parameters:
maxSizeEnter - the max size of enter user

getValueTypeDate

public java.util.Date getValueTypeDate()
Returns:
the value of type Date

setValueTypeDate

public void setValueTypeDate(java.util.Date defaultValueTypeDate)
set the value of type Date

Parameters:
defaultValueTypeDate - the value of type Date

isNoDisplayTitle

public boolean isNoDisplayTitle()
Returns:
true if the title of field is not display

setNoDisplayTitle

public void setNoDisplayTitle(boolean bNoDisplayTitle)
set true if the title of field is not display

Parameters:
bNoDisplayTitle - true if the title of field is not display


Copyright © 2010 Mairie de Paris. All Rights Reserved.