public static class Field.Builder
extends java.lang.Object
Field
objects. Fields
s are
immutable objects. This means that you can't directly change their values
once they are built (there is no setter).Constructor and Description |
---|
Builder()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
Field |
build()
Builds the
Field object |
Field.Builder |
withDataDictionary(com.thomsonreuters.ema.rdm.DataDictionary dataDictionary)
Sets the dictionary used to describe the
Field to build. |
Field.Builder |
withId(int id)
Sets the Id of the
Field to build. |
Field.Builder |
withValue(com.thomsonreuters.ema.access.Data value)
Sets the value of the
Field to build. |
public Field.Builder withId(int id)
Field
to build.id
- the field Id.public Field.Builder withValue(com.thomsonreuters.ema.access.Data value)
Field
to build.value
- the field value. See the Data
class in the
EMA reference guide for more details about this type.public Field.Builder withDataDictionary(com.thomsonreuters.ema.rdm.DataDictionary dataDictionary)
Field
to build.dataDictionary
- the field dictionary. See the DataDictionary
class in the EMA reference guide for more details about this type.public Field build()
Field
object