class RepositoryConfiguration {

    public DocumentOptimization getDocumentOptimization() {
        Document storage = doc.getDocument(FieldName.STORAGE);
        if (storage == null) {
            storage = Schematic.newDocument();
        }
        return new DocumentOptimization(storage.getDocument(FieldName.DOCUMENT_OPTIMIZATION));
    }

    public  RepositoryConfiguration();
    public  RepositoryConfiguration( String name );
    public  RepositoryConfiguration( Document document,
                                    String documentName );
    public  RepositoryConfiguration( String name,
                                    Environment environment );
    public  RepositoryConfiguration( Document document,
                                    String documentName,
                                    Environment environment );

}