public interface Record
Modifier and Type | Method and Description |
---|---|
String |
getObjectName()
Retrieves the name of the object this Record belongs to.
|
String |
getSourceRecordId()
Retrieves the
id of the source Record if the new Record is being copied from another Record. |
<T> T |
getValue(String fieldName,
ValueType<T> returnType)
Retrieves the value of the specified Record field.
|
void |
setValue(String fieldName,
Object value)
Sets the value for the specified Record field.
|
String getObjectName()
String getSourceRecordId()
id
of the source Record if the new Record is being copied from another Record.
If the new Record is not being copied from another Record, this will return null
.
<T> T getValue(String fieldName, ValueType<T> returnType)
T
- type of data requestedfieldName
- name of the field to get value fromreturnType
- type of data requestedvoid setValue(String fieldName, Object value)
fieldName
- name of the field to set value onvalue
- new value to set for the field. To remove an existing value, set to null.Copyright © Veeva Systems 2017–2020. All rights reserved.