46 lines
837 B
Java
46 lines
837 B
Java
package eu.dnetlib.data.mdstore.manager.utils.zeppelin;
|
|
|
|
import java.util.LinkedHashMap;
|
|
import java.util.Map;
|
|
|
|
public class Paragraph {
|
|
|
|
private String title;
|
|
private String text;
|
|
private Map<String, Object> config = new LinkedHashMap<>();
|
|
|
|
public Paragraph() {}
|
|
|
|
public Paragraph(final String title, final String text) {
|
|
this.title = title;
|
|
this.text = text;
|
|
this.config.put("enabled", true);
|
|
this.config.put("editorHide", true);
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(final String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public String getText() {
|
|
return text;
|
|
}
|
|
|
|
public void setText(final String text) {
|
|
this.text = text;
|
|
}
|
|
|
|
protected Map<String, Object> getConfig() {
|
|
return config;
|
|
}
|
|
|
|
protected void setConfig(final Map<String, Object> config) {
|
|
this.config = config;
|
|
}
|
|
|
|
}
|