Package com.iizix.editor
Interface IValidateValue
public interface IValidateValue
The validation interface used by connectors that wish to validate a VirtualSpace Field.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionboolean
Validates a VirtualSpace field with all connectors present.boolean
validateReferences
(Object connector, VSField field, boolean previousValidation) Validates the references of the VirtualSpace Field once it has been converted into a Raw Value followed by thevalidate
method.
Method Details
validate
Validates a VirtualSpace field with all connectors present. Validation of connectors are always done for all connectors. This method is called first to check each individual field. ThevalidateReferences
is then called.- Parameters:
connector
- The connector instance being called.field
- The VirtualSpace Field being validated.previousValidation
- The previous validation result from a connector, or true if this is the first connector.- Returns:
- true for successful validation, false otherwise.
validateReferences
Validates the references of the VirtualSpace Field once it has been converted into a Raw Value followed by thevalidate
method. Validation of connectors are always done for all connectors. This method is called first to check each individual field. ThevalidateReferences
is then called.- Parameters:
connector
- The connector instance being called.field
- The VirtualSpace Field being validated.previousValidation
- The previous validation result from a connector, or true if this is the first connector.- Returns:
- true for successful validation, false otherwise.