/**
* Copyright 2011 Oliver Buchtala
*
* This file is part of ndogen.
*
* ndogen is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ndogen is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with ndogen. If not, see <http://www.gnu.org/licenses/>.
*/
package org.ndogen.substance;
import com.google.gson.annotations.Expose;
public class Section extends NestedNode {
/*
*
"_id": "/section/76ca736376570718c56b4108542811b5",
"_rev": "5-836849376cc1ad26a65a0126094013c4",
"document": "/document/oliver/2dfa279e1ff47d6afb8015ca06142393",
"children": [
"/text/7cf6caa00d55424f2c1ffa9811171ada",
"/section/009b842829a76536332862329e220afb"
],
"name": "First",
"type": [
"/type/section"
]
*
*/
@Expose
String document;
@Expose
String name;
public Section() {
type = new String[]{"/type/section"};
}
public void setName(String name) {
this.name = name;
}
public void setDocument(String document) {
this.document = document;
}
}