public class DefaultDocument extends java.lang.Object implements Document, java.io.Serializable
Document.| Constructor and Description |
|---|
DefaultDocument()
Creates an empty document.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.String> |
getFieldNames()
Returns the field names defined in this document.
|
java.util.Map<java.lang.String,java.lang.Object> |
getFields()
Returns the fields defined in this document.
|
java.lang.Object |
getFieldValue(java.lang.String fieldName)
Returns the value or collection of values for a given field.
|
public java.util.Collection<java.lang.String> getFieldNames()
DocumentgetFieldNames in interface Documentpublic java.lang.Object getFieldValue(java.lang.String fieldName)
DocumentgetFieldValue in interface DocumentCopyright © 2018 SAP SE. All Rights Reserved.