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 |
getCSSClass()
Get the CSS class of the generated fields
|
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 |
getNumberConditionalQuestion()
Get the number of conditional questions associated with the entry
|
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 |
isExportable() |
boolean |
isExportablePdf() |
boolean |
isFieldInLine()
Check if generated fields must be displayed in line
|
boolean |
isIndexed() |
boolean |
isMandatory()
Check if this entry is mandatory or not
|
boolean |
isOnlyDisplayInBack() |
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 |
setCSSClass(String strCSSClass)
Set the CSS class of the generated fields
|
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 |
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 |
setMandatory(boolean bMandatory)
Set true if the question is mandatory
|
void |
setNumberConditionalQuestion(int numberConditionalQuestion)
Set the number of conditional questions who are associated with the entry
|
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 |
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 void setUnique(boolean bUnique)
bUnique - true if the value of the response to this question must be unique, false otherwisepublic boolean isUnique()
public 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 String getCode()
public void setCode(String strCode)
strCode - the code to setpublic Object clone()
clone in class ObjectObject.clone()public boolean isOnlyDisplayInBack()
public void setOnlyDisplayInBack(boolean onlyDisplayInBack)
public boolean isIndexed()
public void setIndexed(boolean bIndexed)
public boolean isUsedInCorrectFormResponse()
public boolean isUsedInCompleteFormResponse()
public boolean isExportable()
public boolean isExportablePdf()
public IMapProvider getMapProvider()
IMapProviderCopyright © 2021 City of Paris. All rights reserved.