Interface IDatabaseComponentCreator
- All Known Implementing Classes:
DatabaseComponentCreator
public interface IDatabaseComponentCreator
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionIMutableNode<?> createDatabasePropertiesNodeWithDatabaseNameAndInitialSchemaTimeStamp(String databaseName, ITime initialSchemaTimeStamp) IMutableNode<?> IMutableNode<?> createNameNodeWithName(String name) IMutableNode<?> createSchemaTimestampNodeWithInitialSchemaTimeStamp(ITime initialSchemaTimeStamp)
-
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 blankRuntimeException- if the given initialSchemaTimeStamp is null
-
createEntityIndexesNode
IMutableNode<?> createEntityIndexesNode()- Returns:
- a new entity indexes node.
-
createNameNodeWithName
- Parameters:
name-- Returns:
- a new name node with the given name
- Throws:
RuntimeException- if the given name is null or blank
-
createSchemaTimestampNodeWithInitialSchemaTimeStamp
- Parameters:
initialSchemaTimeStamp-- Returns:
- a new schema timestamp node with the given initialSchemaTimeStamp
- Throws:
RuntimeException- if the given initialSchemaTimeStamp is null
-