Package | Description |
---|---|
com.pushtechnology.diffusion.datatype.recordv2.model |
RecordV2 Data Type : Data Model.
|
com.pushtechnology.diffusion.datatype.recordv2.schema |
RecordV2 Data Type : Schemas.
|
Modifier and Type | Method and Description |
---|---|
MutableRecordModel |
MutableRecordModel.add(String... values)
Adds new values to the end of a variable length field list.
|
MutableRecordModel |
MutableRecordModel.add(String recordName,
int recordIndex,
String... values)
Adds new values to the end of a variable length field list.
|
MutableRecordModel |
MutableRecordModel.addRecord()
Adds a new initialized record occurrence to the end of a variable
multiplicity record list.
|
MutableRecordModel |
MutableRecordModel.clearVariableFields(String recordName,
int recordIndex)
Remove all optional instances of a variable multiplicity field.
|
int |
RecordModel.fieldCount(String recordName,
int recordIndex,
String fieldName)
Returns the actual number of occurrences of a named field within a
specified record occurrences.
|
String |
RecordModel.get(String key)
Get a field value.
|
String |
RecordModel.get(String recordName,
int recordIndex,
String fieldName,
int fieldIndex)
Get a field value.
|
int |
RecordModel.recordCount(String recordName)
Returns the actual number of occurrences of a named record.
|
MutableRecordModel |
MutableRecordModel.removeField(String recordName,
int recordIndex,
int fieldIndex)
Removes the specified occurrence of a variable multiplicity field.
|
MutableRecordModel |
MutableRecordModel.removeRecord(int index)
Removes the specified occurrence of a variable multiplicity record.
|
MutableRecordModel |
MutableRecordModel.set(String recordName,
int recordIndex,
String fieldName,
int fieldIndex,
String value)
Sets a specified field value.
|
MutableRecordModel |
MutableRecordModel.set(String key,
String value)
Sets a specified field value.
|
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaBuilder.build()
Build an immutable Schema.
|
SchemaBuilder |
SchemaBuilder.decimal(String name,
int scale)
Add a single occurrence decimal field to the current record.
|
SchemaBuilder |
SchemaBuilder.decimal(String name,
int scale,
int occurs)
Add a fixed multiplicity decimal field to the current record.
|
SchemaBuilder |
SchemaBuilder.decimal(String name,
int scale,
int min,
int max)
Add a decimal field to the current record.
|
SchemaBuilder |
SchemaBuilder.integer(String name)
Add a single occurrence integer field to the current record.
|
SchemaBuilder |
SchemaBuilder.integer(String name,
int occurs)
Add a fixed multiplicity integer field to the current record.
|
SchemaBuilder |
SchemaBuilder.integer(String name,
int min,
int max)
Add an integer field to the current record.
|
SchemaBuilder |
SchemaBuilder.record(String name)
Add a new single occurrence record to the schema.
|
SchemaBuilder |
SchemaBuilder.record(String name,
int occurs)
Add a new fixed multiplicity record to the schema.
|
SchemaBuilder |
SchemaBuilder.record(String name,
int min,
int max)
Add a new record to the schema.
|
SchemaBuilder |
SchemaBuilder.string(String name)
Add a single occurrence string field to the current record.
|
SchemaBuilder |
SchemaBuilder.string(String name,
int occurs)
Add a fixed multiplicity string field to the current record.
|
SchemaBuilder |
SchemaBuilder.string(String name,
int min,
int max)
Add a string field to the current record.
|
Copyright © 2022 Push Technology Ltd. All Rights Reserved.