Class DataFieldRow
java.lang.Object
edu.suffolk.litlab.efsp.ecfcodes.tyler.DataFieldRow
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanboolean -
Constructor Summary
ConstructorsConstructorDescriptionDataFieldRow(String code, String name, boolean isvisible, boolean isrequired, String helptext, String ghosttext, String contextualhelpdata, String validationmessage, String regularexpression, String defaultvalueexpression, boolean isreadonly, String location) Constructor directly from Database. -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic Stringstatic StringGets all columns from datafieldconfig table Need to provide the location (1) and the code (2) of the field.booleanmatchRegex(String value) static DataFieldRowMissingDataField(String name) According to the Tyler docs, if some data field is not defined, it defaults to isVisible=False, and isRequired=False.
-
Field Details
-
code
-
name
-
isvisible
public boolean isvisible -
isrequired
public boolean isrequired -
helptext
-
ghosttext
-
contextualhelpdata
-
validationmessage
-
regularexpression
-
defaultvalueexpression
-
isreadonly
public boolean isreadonly -
location
-
-
Constructor Details
-
DataFieldRow
public DataFieldRow(String code, String name, boolean isvisible, boolean isrequired, String helptext, String ghosttext, String contextualhelpdata, String validationmessage, String regularexpression, String defaultvalueexpression, boolean isreadonly, String location) Constructor directly from Database.
-
-
Method Details
-
MissingDataField
According to the Tyler docs, if some data field is not defined, it defaults to isVisible=False, and isRequired=False. Everything else will be empty- Returns:
-
matchRegex
-
getAllFromDataFieldConfigForLoc
Gets all columns from datafieldconfig table Need to provide the location (1) and the code (2) of the field. For example, 'adams' and 'FilingEventCaseParties'- Returns:
- the String to make a SQL PreparedStatement from
-
getAllDataFieldConfigsForLoc
-
getAllDataFieldNames
-