src/main/java/org/lightcouch/CouchDbDesign.java
public DesignDocument getFromDb(String id) {
		assertNotEmpty(id, "id");
		final URI uri = buildUri(dbc.getDBUri()).path(id).build();
		return dbc.get(uri, DesignDocument.class);
	}
public DesignDocument getFromDb(String id) {
		assertNotEmpty(id, "id");
		final URI uri = buildUri(dbc.getDBUri()).path(id).build();
		return dbc.get(uri, DesignDocument.class);
	}
public DesignDocument getFromDb ( String id ) { assertNotEmpty ( id , "id" ) ; final URI uri = buildUri ( dbc . getDBUri ( ) ) . path ( id ) . build ( ) ; return dbc . get ( uri , DesignDocument . class ) ; }
Gets a design document from the database.
@param id The document id
@return {@link DesignDocument}
Gets a design document from the database .