Interface IDatabaseComponentCreator

All Known Implementing Classes:
DatabaseComponentCreator

public interface IDatabaseComponentCreator
Author:
Silvan Wyss
  • Method Details

    • createDatabasePropertiesNodeWithDatabaseNameAndInitialSchemaTimeStamp

      IMutableNode<?> createDatabasePropertiesNodeWithDatabaseNameAndInitialSchemaTimeStamp(String databaseName, ITime initialSchemaTimeStamp)
      Parameters:
      databaseName -
      initialSchemaTimeStamp -
      Returns:
      a new database properties node with the given name and initialSchemaTimeStamp.
      Throws:
      RuntimeException - if the given name is null or blank.
      RuntimeException - if the given initialSchemaTimeStamp is null.
    • createEntityIndexesNode

      IMutableNode<?> createEntityIndexesNode()
      Returns:
      a new entity indexes node.
    • createNameNodeWithName

      IMutableNode<?> createNameNodeWithName(String name)
      Parameters:
      name -
      Returns:
      a new name node with the given name.
      Throws:
      RuntimeException - if the given name is null or blank.
    • createSchemaTimestampNodeWithInitialSchemaTimeStamp

      IMutableNode<?> createSchemaTimestampNodeWithInitialSchemaTimeStamp(ITime initialSchemaTimeStamp)
      Parameters:
      initialSchemaTimeStamp -
      Returns:
      a new schema timestamp node with the given initialSchemaTimeStamp.
      Throws:
      RuntimeException - if the given initialSchemaTimeStamp is null.