Class Field
- java.lang.Object
-
- fr.paris.lutece.plugins.genericattributes.business.Field
-
- All Implemented Interfaces:
Serializable
public class Field extends Object implements Serializable
class Field- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Field()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()StringgetComment()Get the comment of the fieldList<Entry>getConditionalQuestions()fr.paris.lutece.portal.business.file.FilegetFileImage()Gets the file store key.intgetIdField()fr.paris.lutece.plugins.referencelist.business.ReferenceItemgetLinkedItem()EntrygetParentEntry()intgetPosition()List<fr.paris.lutece.portal.business.regularexpression.RegularExpression>getRegularExpressionList()StringgetTitle()StringgetValue()DategetValueTypeDate()booleanisDefaultValue()booleanisNoDisplayTitle()voidsetCode(String strCode)voidsetComment(String strComment)Set the comment of the fieldvoidsetConditionalQuestions(List<Entry> conditionalQuestions)set a list of Entry which is associate to the fieldvoidsetDefaultValue(boolean defaultValue)set true if the field is a default field of the entryvoidsetFileImage(fr.paris.lutece.portal.business.file.File strFileStoreKey)Sets the file store key.voidsetIdField(int idField)set the id of the fieldvoidsetLinkedItem(fr.paris.lutece.plugins.referencelist.business.ReferenceItem linkedItem)voidsetNoDisplayTitle(boolean bNoDisplayTitle)set true if the title of field is not displayvoidsetParentEntry(Entry entry)set the entry of the fieldvoidsetPosition(int position)set the position of the field in the list of the entry's fieldsvoidsetRegularExpressionList(List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> regularExpressionList)set a list of regular expression which is associate to the fieldvoidsetTitle(String title)set the title of the fieldvoidsetValue(String value)set the value of the fieldvoidsetValueTypeDate(Date defaultValueTypeDate)set the value of type Date
-
-
-
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 Entry getParentEntry()
- Returns:
- the entry of the field
-
setParentEntry
public void setParentEntry(Entry entry)
set the entry of the field- Parameters:
entry- the entry of the field
-
getRegularExpressionList
public 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(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 String getTitle()
- Returns:
- the title of the field
-
setTitle
public void setTitle(String title)
set the title of the field- Parameters:
title- the title of the field
-
getValue
public String getValue()
- Returns:
- the value of the field
-
setValue
public void setValue(String value)
set the value of the field- Parameters:
value- the value of the field
-
getComment
public String getComment()
Get the comment of the field- Returns:
- The comment of the field
-
setComment
public void setComment(String strComment)
Set the comment of the field- Parameters:
strComment- The comment of the field
-
getConditionalQuestions
public List<Entry> getConditionalQuestions()
- Returns:
- a list of Entry which is associate to the field
-
setConditionalQuestions
public void setConditionalQuestions(List<Entry> 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
-
getValueTypeDate
public Date getValueTypeDate()
- Returns:
- the value of type Date
-
setValueTypeDate
public void setValueTypeDate(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
-
getCode
public String getCode()
- Returns:
- the _strCode
-
setCode
public void setCode(String strCode)
- Parameters:
strCode- the code to set
-
getLinkedItem
public fr.paris.lutece.plugins.referencelist.business.ReferenceItem getLinkedItem()
- Returns:
- the linkedItem
-
setLinkedItem
public void setLinkedItem(fr.paris.lutece.plugins.referencelist.business.ReferenceItem linkedItem)
- Parameters:
linkedItem- the linkedItem to set
-
getFileImage
public fr.paris.lutece.portal.business.file.File getFileImage()
Gets the file store key.- Returns:
- the file store key
-
setFileImage
public void setFileImage(fr.paris.lutece.portal.business.file.File strFileStoreKey)
Sets the file store key.- Parameters:
strFileStoreKey- the new file store key
-
-