Class DataFieldRow
java.lang.Object
edu.suffolk.litlab.efspserver.tyler.codes.DataFieldRow
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
boolean
boolean
-
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 String
static String
static String
Gets all columns from datafieldconfig table Need to provide the location (1) and the code (2) of the field.boolean
matchRegex
(String value) static DataFieldRow
MissingDataField
(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
-