public interface Subdocument extends Document
Subdocuments are documents in their own right and can also have fields, failures, and subdocuments of their own.
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes this subdocument.
|
Document |
getParentDocument()
Returns the parent document of this subdocument.
|
boolean |
isDeleted()
Returns true if the subdocument has been deleted.
|
addFailure, getCustomData, getFailures, getField, getFields, getReference, getRootDocument, getSubdocuments, getTask, hasChanges, hasSubdocuments, reset, resetReference, setReferencegetApplication@Nonnull Document getParentDocument()
getParentDocument in interface Documentvoid delete()
After a subdocument has been deleted the Document.reset() method may still be used to restore it to its original state, but other
methods which would query or manipulate the deleted document should not be called. Calling these methods will result in undefined
behavior.
boolean isDeleted()
Copyright © 2016–2022 EntIT Software LLC, a Micro Focus company. All rights reserved.