Class Constraint
java.lang.Object
org.javarosa.core.model.condition.Constraint
- All Implemented Interfaces:
Externalizable
public class Constraint extends Object implements Externalizable
-
Field Summary
Fields Modifier and Type Field Description IConditionExprconstraint -
Constructor Summary
Constructors Constructor Description Constraint()Constraint(IConditionExpr constraint, String constraintMsg) -
Method Summary
Modifier and Type Method Description StringgetConstraintMessage(EvaluationContext ec, FormInstance instance, String textForm)voidreadExternal(DataInputStream in, PrototypeFactory pf)voidwriteExternal(DataOutputStream out)
-
Field Details
-
Constructor Details
-
Constraint
public Constraint() -
Constraint
-
-
Method Details
-
getConstraintMessage
-
readExternal
public void readExternal(DataInputStream in, PrototypeFactory pf) throws IOException, DeserializationException- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionDeserializationException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-