IsValid (Document - Java™)
Read-only. Indicates whether a Document object represents an existing document (not a deletion stub) initially.
Defined in
Data type
boolean
Syntax
public boolean isValid()
throws NotesException
Legal values
- true if the document represents an existing document
- false if the document is a deletion stub
Usage
IsValid is set once and reflects the state of the document when the Document object is created. Use isDeleted to see if a valid document is deleted while you are working on it.