public class DataBinding extends Object implements Externalizable
It contains a reference to where the data should be retreived and stored, as well as the preload parameters, and the conditional logic for the question.
The class relies on any Data References that are used in a form to be registered with the FormDefRMSUtility's prototype factory in order to properly deserialize.
| Modifier and Type | Field and Description |
|---|---|
Triggerable |
calculate |
IConditionExpr |
constraint |
String |
constraintMessage |
boolean |
readonlyAbsolute |
Triggerable |
readonlyCondition |
Triggerable |
relevancyCondition |
boolean |
relevantAbsolute |
boolean |
requiredAbsolute |
Triggerable |
requiredCondition |
| Constructor and Description |
|---|
DataBinding() |
| Modifier and Type | Method and Description |
|---|---|
List<TreeElement> |
getAdditionalAttributes() |
int |
getDataType() |
String |
getId() |
String |
getPreload() |
String |
getPreloadParams() |
IDataReference |
getReference() |
void |
readExternal(DataInputStream in,
PrototypeFactory pf) |
void |
setAdditionalAttribute(String namespace,
String name,
String value) |
void |
setDataType(int dataType) |
void |
setId(String id) |
void |
setPreload(String preload) |
void |
setPreloadParams(String preloadParams) |
void |
setReference(IDataReference ref) |
void |
writeExternal(DataOutputStream out) |
public Triggerable relevancyCondition
public boolean relevantAbsolute
public Triggerable requiredCondition
public boolean requiredAbsolute
public Triggerable readonlyCondition
public boolean readonlyAbsolute
public IConditionExpr constraint
public Triggerable calculate
public String constraintMessage
public IDataReference getReference()
public void setReference(IDataReference ref)
ref - the reference to setpublic String getId()
public void setId(String id)
id - the id to setpublic int getDataType()
public void setDataType(int dataType)
dataType - the dataType to setpublic String getPreload()
public void setPreload(String preload)
preload - the preload to setpublic String getPreloadParams()
public void setPreloadParams(String preloadParams)
preloadParams - the preloadParams to setpublic void setAdditionalAttribute(String namespace, String name, String value)
public List<TreeElement> getAdditionalAttributes()
public void readExternal(DataInputStream in, PrototypeFactory pf) throws IOException, DeserializationException
readExternal in interface ExternalizableIOExceptionDeserializationExceptionpublic void writeExternal(DataOutputStream out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2021. All rights reserved.