Interface IValidated

All Known Implementing Classes:
AArrayBlob, ABlob, ABlobMap, AccountKey, AccountStatus, ACell, AClosure, ACollection, ACountable, ADataFn, ADataStructure, Address, AFn, AHashMap, AHashSet, AList, ALongBlob, AMap, AMapEntry, AMultiOp, ANumericBlob, AOp, APrimitive, ARecord, ARecordGeneric, ASequence, ASet, ASignature, AString, ASymbolic, ATransaction, AVector, Belief, Blob, BlobMap, BlobTree, Block, BlockResult, Call, Cond, Constant, CoreFn, CorePred, CVMBool, CVMByte, CVMChar, CVMDouble, CVMLong, Def, Do, Ed25519Signature, Fn, Hash, Invoke, Invoke, Keyword, KeywordFn, Lambda, Let, List, Local, LongBlob, Lookup, MapEntry, MapFn, MapLeaf, MapTree, MultiFn, Order, PeerStatus, Query, Ref, RefDirect, RefSoft, Result, SeqFn, Set, SetFn, SetLeaf, SetTree, SignedData, Special, State, StringShort, StringSlice, StringTree, Symbol, Syntax, Transfer, VectorArray, VectorLeaf, VectorTree

public interface IValidated
Interface for classes that can be validated
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Validates the complete structure of this object.
  • Method Details

    • validate

      void validate() throws InvalidDataException
      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. Call validate() on any contained cells in this class
      Throws:
      InvalidDataException - If the data Valie is invalid in any way