de.tblsoft.solr.crawl.Meta Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of solr-cmd-utils Show documentation
Show all versions of solr-cmd-utils Show documentation
A command line util for solr.
The newest version!
package de.tblsoft.solr.crawl;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.HashMap;
import java.util.Map;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Meta {
private Map name;
private Map property;
private Map itemprop;
public Map getName() {
return name;
}
public void addName(String name, String value) {
if(this.name == null) {
this.name = new HashMap<>();
}
this.name.put(name, value);
}
public void setName(Map name) {
this.name = name;
}
public Map getProperty() {
return property;
}
public void addProperty(String property, String value) {
if(this.property == null) {
this.property = new HashMap<>();
}
this.property.put(property, value);
}
public void setProperty(Map property) {
this.property = property;
}
public Map getItemprop() {
return itemprop;
}
public void addItemprop(String itemprop, String value) {
if(this.itemprop == null) {
this.itemprop = new HashMap<>();
}
this.itemprop.put(itemprop, value);
}
public void setItemprop(Map itemprop) {
this.itemprop = itemprop;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy