public class Field extends Object implements Serializable
| Constructor and Description |
|---|
Field() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getComment()
Get the comment of the field
|
List<Entry> |
getConditionalQuestions() |
int |
getHeight() |
int |
getIdField() |
String |
getImageType()
Gets the field ImageType
|
int |
getMaxSizeEnter() |
Entry |
getParentEntry() |
int |
getPosition() |
List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> |
getRegularExpressionList() |
String |
getRoleKey()
Gets the field role
|
String |
getTitle() |
String |
getValue() |
Date |
getValueTypeDate() |
int |
getWidth() |
boolean |
isDefaultValue() |
boolean |
isNoDisplayTitle() |
void |
setCode(String strCode) |
void |
setComment(String strComment)
Set the comment of the field
|
void |
setConditionalQuestions(List<Entry> 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 |
setImageType(String strImageType)
Sets the field's ImageType
|
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(Entry 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(List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> regularExpressionList)
set a list of regular expression which is associate to the field
|
void |
setRoleKey(String strRole)
Sets the field's role
|
void |
setTitle(String title)
set the title of the field
|
void |
setValue(String value)
set the value of the field
|
void |
setValueTypeDate(Date defaultValueTypeDate)
set the value of type Date
|
void |
setWidth(int width)
set the width of the field
|
public int getIdField()
public void setIdField(int idField)
idField - the id of the fieldpublic int getPosition()
public void setPosition(int position)
position - the position of the field in the list of fieldspublic Entry getParentEntry()
public void setParentEntry(Entry entry)
entry - the entry of the fieldpublic List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> getRegularExpressionList()
public void setRegularExpressionList(List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> regularExpressionList)
regularExpressionList - a list of regular expression which is associate to the fieldpublic String getTitle()
public void setTitle(String title)
title - the title of the fieldpublic String getValue()
public void setValue(String value)
value - the value of the fieldpublic String getComment()
public void setComment(String strComment)
strComment - The comment of the fieldpublic int getWidth()
public void setWidth(int width)
width - the width of the fieldpublic int getHeight()
public void setHeight(int height)
height - the height of the fieldpublic List<Entry> getConditionalQuestions()
public void setConditionalQuestions(List<Entry> conditionalQuestions)
conditionalQuestions - a list of Entry which is associate to the fieldpublic boolean isDefaultValue()
public void setDefaultValue(boolean defaultValue)
defaultValue - true if the field is a default field of the entrypublic int getMaxSizeEnter()
public void setMaxSizeEnter(int maxSizeEnter)
maxSizeEnter - the max size of enter userpublic Date getValueTypeDate()
public void setValueTypeDate(Date defaultValueTypeDate)
defaultValueTypeDate - the value of type Datepublic boolean isNoDisplayTitle()
public void setNoDisplayTitle(boolean bNoDisplayTitle)
bNoDisplayTitle - true if the title of field is not displaypublic String getRoleKey()
public void setRoleKey(String strRole)
strRole - The rolepublic String getCode()
public void setCode(String strCode)
strCode - the code to setpublic String getImageType()
public void setImageType(String strImageType)
ImageType - The Image TypeCopyright © 2022 City of Paris. All rights reserved.