public interface IRecordFactory
Modifier and Type | Method and Description |
---|---|
Record |
createRecord(java.lang.String id,
java.lang.String type)
Create a record from the supplied ID and type.
|
java.lang.String[] |
getAllSupportedTypes()
Returns all supported record types.
|
Record |
parseRecord(com.ibm.json.java.JSONObject jsonObj)
Create the record from JSON.
|
Record createRecord(java.lang.String id, java.lang.String type)
id
- the ID.type
- the type.Record parseRecord(com.ibm.json.java.JSONObject jsonObj)
jsonObj
- The object in JSON to be parsed.java.lang.String[] getAllSupportedTypes()
<IBM Copyright © 2018 IBM Corp. All Rights Reserved.