java/core/src/main/java/se/lth/cs/docria/Document.java
/**
     * Construct layer from schema
     *
     * @param schema schema configured
     * @return constructed layer
     * @see Layer#create(String) how to builder a layer schema
     */
Construct layer from schema
@param schema schema configured
@return constructed layer
@see Layer#create(String) how to builder a layer schema
Construct layer from schema @param schema schema configured @return constructed layer @see Layer#create ( String ) how to builder a layer schema
public Layer add(Schema.Layer schema) {
        Layer layer = new Layer(this, schema);
        this.schema.add(schema);
        this.layers.put(schema.name(), layer);
        return layer;
    }
public Layer add ( Schema . Layer schema ) { Layer layer = new Layer ( this , schema ) ; this . schema . add ( schema ) ; this . layers . put ( schema . name ( ) , layer ) ; return layer ; }
Construct layer from schema
 @param schema schema configured
 @return constructed layer
 @see Layer#create(String) how to builder a layer schema
Construct layer from schema @param schema schema configured @return constructed layer @see Layer#create ( String ) how to builder a layer schema