Interface SchemaUtil

  • All Known Subinterfaces:
    SchemaApi
    All Known Implementing Classes:
    MockSchemaApi

    public interface SchemaUtil
    Utilities for working with Attivio Schema.
    • Method Detail

      • getDefaultSchema

        default Schema getDefaultSchema()
        If there is a configuration available, returns the default configuration from it.
        Returns:
        the default schema to use
      • getSchema

        Schema getSchema​(java.lang.String schemaName)
        Gets a schema by name.

        The algorithm is as follows:

         If schema does not exist, lookup default schema name.
         If schema matching default schema name does not exist, return default schema object.
         
        Parameters:
        schemaName - the schema name
        Returns:
        the schema