Package convex.core.data
Interface IValidated
- All Known Implementing Classes:
AArrayBlob,ABlob,ABlobLike,AccountKey,AccountStatus,ACell,AClosure,ACollection,ACountable,ADataFn,ADataStructure,Address,ADerivedBlob,ADerivedSet,AFn,AHashMap,AHashSet,AIndex,AInteger,AList,ALongBlob,AMap,AMapEntry,AMultiOp,ANumeric,AOp,APrimitive,ARecord,ARecordGeneric,ASequence,ASet,ASignature,ASpecialVector,AString,ASymbolic,ATransaction,AVector,Belief,Blob,BlobTree,Block,BlockResult,Call,Cond,Constant,CoreFn,CorePred,CVMBigInteger,CVMBool,CVMChar,CVMDouble,CVMLong,Def,Do,Ed25519Signature,Fn,Hash,Index,Invoke,Invoke,KeySet,Keyword,KeywordFn,Lambda,Let,List,Local,LongBlob,Lookup,MapEntry,MapFn,MapLeaf,MapTree,Multi,MultiFn,Order,PeerStatus,Query,Receipt,Ref,RefDirect,RefSoft,Result,SeqFn,Set,SetFn,SetLeaf,SetTree,SignedData,Special,State,StringShort,StringSlice,StringTree,Symbol,Syntax,Transfer,VectorArray,VectorLeaf,VectorTree,ZeroBlob
public interface IValidated
Interface for classes that can be validated
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates the complete structure of this object.
-
Method Details
-
validate
Validates the complete structure of this object. It is necessary to ensure all child Refs are validated, so the general contract for validate is:- Call super.validate() - which will indirectly call validateCell()
- Call validate() on any contained cells in this class
- Throws:
InvalidDataException- If the data Value is invalid in any way
-