All Downloads are FREE. Search and download functionalities are using the official Maven repository.

convex.core.data.IValidated Maven / Gradle / Ivy

The newest version!
package convex.core.data;

import convex.core.exceptions.InvalidDataException;

/**
 * Interface for classes that can be validated
 */
public interface IValidated {

	/**
	 * Validates the complete structure of this object.
	 * 
	 * It is necessary to ensure all child Refs are validated, so the general contract for validate is:
	 * 
	 * 
    *
  1. Call super.validate() - which will indirectly call validateCell()
  2. *
  3. Call validate() on any contained cells in this class
  4. *
* * @throws InvalidDataException If the data Value is invalid in any way */ public void validate() throws InvalidDataException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy