Class GenericDocumentKt
-
- All Implemented Interfaces:
public final class GenericDocumentKt
-
-
Method Summary
Modifier and Type Method Description final static Field
fieldByTypeName(GenericDocument $self, String name)
Returns a field given its local or common type name. final static List<Field>
fieldsByTypeName(GenericDocument $self, String name)
Returns all fields given a local or common field type name. final static GenericDocument
childByDocumentType(GenericDocument $self, String name)
Returns a sub-document given its document type name. final static List<GenericDocument>
childrenByDocumentType(GenericDocument $self, String name)
Returns all children given their document type name.
-
-
-
Method Detail
-
fieldByTypeName
final static Field fieldByTypeName(GenericDocument $self, String name)
Returns a field given its local or common type name. Returns null if not found.
-
fieldsByTypeName
final static List<Field> fieldsByTypeName(GenericDocument $self, String name)
Returns all fields given a local or common field type name.
-
childByDocumentType
final static GenericDocument childByDocumentType(GenericDocument $self, String name)
Returns a sub-document given its document type name. Returns null if not found.
-
childrenByDocumentType
final static List<GenericDocument> childrenByDocumentType(GenericDocument $self, String name)
Returns all children given their document type name.
-
-