All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tblsoft.solr.crawl.Meta Maven / Gradle / Ivy

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