Interface IRecordFactory

    • Method Detail

      • createRecord

        Record createRecord​(java.lang.String id,
                            java.lang.String type)
        Create a record from the supplied ID and type.
        Parameters:
        id - the ID.
        type - the type.
        Returns:
        a record of a specified type with the supplied ID.
      • parseRecord

        Record parseRecord​(com.google.gson.JsonObject jsonObj)
        Create the record from JSON.
        Parameters:
        jsonObj - The object in JSON to be parsed.
        Returns:
        the record representing by the supplied JSON contents.
      • getAllSupportedTypes

        java.lang.String[] getAllSupportedTypes()
        Returns all supported record types.
        Returns:
        all supported record types.