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

org.dspace.app.sherpa.v2.SHERPAEmbargo 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.app.sherpa.v2;

import java.io.Serializable;

/**
 * Model class for the Embargo of SHERPAv2 API (JSON)
 *
 * @author Mykhaylo Boychuk ([email protected])
 */
public class SHERPAEmbargo implements Serializable {

    private static final long serialVersionUID = 6140668058547523656L;

    private int amount;
    private String units;

    public SHERPAEmbargo(int amount, String units) {
        this.amount = amount;
        this.units = units;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getUnits() {
        return units;
    }

    public void setUnits(String units) {
        this.units = units;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy