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

org.dspace.coarnotify.NotifySubmissionConfiguration Maven / Gradle / Ivy

The newest version!
/**
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 * http://www.dspace.org/license/
 */
package org.dspace.coarnotify;

import java.util.List;

/**
 * this class represents the Configuration of Submission COAR Notify
 *
 * @author Mohamed Eskander (mohamed.eskander at 4science.com)
 */
public class NotifySubmissionConfiguration {

    /**
     * the map key of configured bean of COARNotifyConfigurationService
     * in coar-notify.xml
     */
    private String id;

    /**
     * the map values of configured bean of COARNotifyConfigurationService
     * in coar-notify.xml
     */
    private List patterns;

    public NotifySubmissionConfiguration() {

    }

    public NotifySubmissionConfiguration(String id, List patterns) {
        super();
        this.id = id;
        this.patterns = patterns;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    /**
     * Gets the list of configured COAR Notify Patterns
     *
     * @return the list of configured COAR Notify Patterns
     */
    public List getPatterns() {
        return patterns;
    }

    /**
     * Sets the list of configured COAR Notify Patterns
     * @param patterns
     */
    public void setPatterns(final List patterns) {
        this.patterns = patterns;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy