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

org.dspace.app.bulkaccesscontrol.model.AccessConditionItem 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.bulkaccesscontrol.model;

import java.util.ArrayList;
import java.util.List;

import org.dspace.app.bulkaccesscontrol.BulkAccessControl;

/**
 * Class that model the value of item node
 * from json file of the {@link BulkAccessControl}
 *
 * @author Mohamed Eskander (mohamed.eskander at 4science.it)
 */
public class AccessConditionItem {

    String mode;

    List accessConditions;

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public List getAccessConditions() {
        if (accessConditions == null) {
            return new ArrayList<>();
        }
        return accessConditions;
    }

    public void setAccessConditions(List accessConditions) {
        this.accessConditions = accessConditions;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy