public class Entry extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Entry() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates and returns a copy of this object.
|
List<Entry> |
getChildren()
Get the list of children of this entry
|
String |
getCode() |
String |
getComment()
Get the comment of this entry
|
String |
getConfirmFieldTitle()
Get the title of the confirmation field
|
String |
getCSSClass()
Get the CSS class of the generated fields
|
String |
getEditMode() |
EntryType |
getEntryType()
Get the type of the entry
|
GenericAttributeError |
getError()
Get the error associated to the entry
|
String |
getErrorMessage()
Get the error message associated with this entry.
|
Field |
getFieldByCode(String strCode)
Get the field by its code.
|
Field |
getFieldDepend()
Get the field depend of this entry
|
List<Field> |
getFields()
Get the list of fields of this entry
|
String |
getHelpMessage()
Get the help message of this entry
|
int |
getIdEntry()
Get the id of this entry
|
int |
getIdResource()
Get the id of the resource associated with this entry
|
IMapProvider |
getMapProvider()
Get the selected map provider
|
int |
getNumberColumn() |
int |
getNumberConditionalQuestion()
Get the number of conditional questions associated with the entry
|
int |
getNumberRow() |
Entry |
getParent() |
int |
getPosition()
Get the position of the entry
|
String |
getResourceType()
Get the type of the resource associated with this entry
|
String |
getTitle()
Get the title of this entry
|
boolean |
isConfirmField()
Check if this entry must be confirmed by a duplicated field
|
boolean |
isEditableBack() |
boolean |
isFieldInLine()
Check if generated fields must be displayed in line
|
boolean |
isFirstInTheList()
Check if the entry is the first entry of a group
|
boolean |
isIndexed() |
boolean |
isLastInTheList()
Check if the entry is the last entry of a group
|
boolean |
isMandatory()
Check if this entry is mandatory or not
|
boolean |
isOnlyDisplayInBack() |
boolean |
isRoleAssociated()
Check if this entry can has an associated roles
|
boolean |
isUnique()
Check if the value of the response must be unique
|
boolean |
isUsedInCompleteFormResponse() |
boolean |
isUsedInCorrectFormResponse() |
void |
setChildren(List<Entry> children)
Set the list of entry who are insert in the group
|
void |
setCode(String strCode) |
void |
setComment(String strComment)
Set entry comment
|
void |
setConfirmField(boolean bConfirmField)
Set true if the question must be confirmed by a duplicated field
|
void |
setConfirmFieldTitle(String strConfirmFieldTitle)
Set the title of the confirmation field
|
void |
setCSSClass(String strCSSClass)
Set the CSS class of the generated fields
|
void |
setEditableBack(boolean editableBack) |
void |
setEditMode(String strEditMode) |
void |
setEntryType(EntryType entryType)
Set the type of the entry
|
void |
setError(GenericAttributeError error)
Set the error associated to the entry
|
void |
setErrorMessage(String strErrorMessage)
Set the error message associated with this entry.
|
void |
setFieldDepend(Field depend)
Set the field if the entry is a conditional question
|
void |
setFieldInLine(boolean bFieldInLine)
Set true if the field associate must be display in line
|
void |
setFields(List<Field> fields)
Set the list of field who are associate to the entry
|
void |
setFirstInTheList(boolean firstInTheList)
Set true if the entry is the first entry of a group or the list of entry
|
void |
setHelpMessage(String strHelpMessage)
Set the entry help message
|
void |
setIdEntry(int nIdEntry)
Set the id of the entry
|
void |
setIdResource(int nIdResource)
Set the id of the resource associated with this entry
|
void |
setIndexed(boolean bIndexed) |
void |
setLastInTheList(boolean lastInTheList)
Set true if the entry is the last entry of a group or the list of entry
|
void |
setMandatory(boolean bMandatory)
Set true if the question is mandatory
|
void |
setMapProvider(IMapProvider mapProvider)
Sets the map provider
|
void |
setNumberColumn(int nNumberColumn) |
void |
setNumberConditionalQuestion(int numberConditionalQuestion)
Set the number of conditional questions who are associated with the entry
|
void |
setNumberRow(int nNumberRow) |
void |
setOnlyDisplayInBack(boolean onlyDisplayInBack) |
void |
setParent(Entry parent)
Set parent entry if the entry is insert in a group
|
void |
setPosition(int position)
Set position entry
|
void |
setResourceType(String strResourceType)
Set the type of the resource associated with this entry
|
void |
setRoleAssociated(boolean _bRoleAssociated)
Set true if the entry accept roles
|
void |
setTitle(String strTitle)
Set title entry
|
void |
setUnique(boolean bUnique)
Set to true if the value of the response to this question must be unique
|
public List<Entry> getChildren()
public String getComment()
public EntryType getEntryType()
public List<Field> getFields()
public String getHelpMessage()
public int getIdEntry()
public Entry getParent()
public int getPosition()
public String getTitle()
public boolean isFieldInLine()
public boolean isMandatory()
public void setChildren(List<Entry> children)
children
- the list of entrypublic void setComment(String strComment)
strComment
- entry commentpublic void setEntryType(EntryType entryType)
entryType
- the type of the entrypublic void setFieldInLine(boolean bFieldInLine)
bFieldInLine
- true if the field associate must be display in linepublic void setFields(List<Field> fields)
fields
- the list of fieldpublic void setHelpMessage(String strHelpMessage)
strHelpMessage
- the entry help messagepublic void setIdEntry(int nIdEntry)
nIdEntry
- the id of the entrypublic void setMandatory(boolean bMandatory)
bMandatory
- true if the question is mandatorypublic void setParent(Entry parent)
parent
- parent entrypublic void setPosition(int position)
position
- position entrypublic void setTitle(String strTitle)
strTitle
- titlepublic int getIdResource()
public void setIdResource(int nIdResource)
nIdResource
- The id of the resource associated with this entrypublic String getResourceType()
public void setResourceType(String strResourceType)
strResourceType
- The type of the resource associated with this entrypublic Field getFieldDepend()
public void setFieldDepend(Field depend)
depend
- depend the field if the entry is a conditional questionpublic int getNumberConditionalQuestion()
public void setNumberConditionalQuestion(int numberConditionalQuestion)
numberConditionalQuestion
- the number of conditional questions which are associated with the entrypublic boolean isLastInTheList()
public void setLastInTheList(boolean lastInTheList)
lastInTheList
- true if the entry is the last entry of a group or the list of entrypublic boolean isFirstInTheList()
public void setFirstInTheList(boolean firstInTheList)
firstInTheList
- true if the entry is the last entry of a group or the list of entrypublic void setConfirmField(boolean bConfirmField)
bConfirmField
- mandatory true if the question must be confirmed by a duplicated fieldpublic boolean isConfirmField()
public void setConfirmFieldTitle(String strConfirmFieldTitle)
strConfirmFieldTitle
- The title of the confirmation fieldpublic String getConfirmFieldTitle()
public void setUnique(boolean bUnique)
bUnique
- true if the value of the response to this question must be unique, false otherwisepublic boolean isUnique()
public IMapProvider getMapProvider()
IMapProvider
public void setMapProvider(IMapProvider mapProvider)
mapProvider
- the map providerpublic GenericAttributeError getError()
public void setError(GenericAttributeError error)
error
- the errorpublic void setCSSClass(String strCSSClass)
strCSSClass
- The CSS class to setpublic String getCSSClass()
public String getErrorMessage()
public void setErrorMessage(String strErrorMessage)
strErrorMessage
- The error message of this entrypublic int getNumberRow()
public void setNumberRow(int nNumberRow)
nNumberRow
- the _nNumberRow to setpublic int getNumberColumn()
public void setNumberColumn(int nNumberColumn)
nNumberColumn
- the _nNumberColumn to setpublic boolean isRoleAssociated()
public void setRoleAssociated(boolean _bRoleAssociated)
_bRoleAssociated
- true if the entry accept rolespublic String getCode()
public void setCode(String strCode)
strCode
- the code to setpublic Object clone()
clone
in class Object
Object.clone()
public String getEditMode()
public void setEditMode(String strEditMode)
_strEditMode
- the _strEditMode to setpublic boolean isOnlyDisplayInBack()
public void setOnlyDisplayInBack(boolean onlyDisplayInBack)
public boolean isEditableBack()
public void setEditableBack(boolean editableBack)
editableBack
- the editableBack to set, true if editable in BOpublic boolean isIndexed()
public void setIndexed(boolean bIndexed)
public boolean isUsedInCorrectFormResponse()
public boolean isUsedInCompleteFormResponse()
Copyright © 2021 City of Paris. All rights reserved.