Package convex.core.data
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 TypeMethodDescriptionvoid
validate()
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 Valie is invalid in any way
-