Coverage Summary for Class: AcquisitionStage (org.kitodo.dataeditor.ruleset.xml)
Class |
Class, %
|
Method, %
|
Line, %
|
AcquisitionStage |
100%
(1/1)
|
100%
(3/3)
|
100%
(4/4)
|
/*
* (c) Kitodo. Key to digital objects e. V. <contact@kitodo.org>
*
* This file is part of the Kitodo project.
*
* It is licensed under GNU General Public License version 3 or later.
*
* For the full copyright and license information, please read the
* GPL3-License.txt file that was distributed with this source code.
*/
package org.kitodo.dataeditor.ruleset.xml;
import java.util.LinkedList;
import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
/**
* Acquisition stages specify a time during the acquisition.
*/
public class AcquisitionStage {
/**
* The name of the acquisition stage.
*/
@XmlAttribute(required = true)
private String name;
/**
* The settings valid on this stage.
*/
@XmlElement(name = "setting", namespace = "http://names.kitodo.org/ruleset/v2", required = true)
private List<Setting> settings = new LinkedList<>();
/**
* Returns the name of the acquisition stage.
*
* @return the name of the acquisition stage
*/
public String getName() {
return name;
}
/**
* Returns the settings valid on that acquisition stage.
*
* @return the settings valid on this stage
*/
public List<Setting> getSettings() {
return settings;
}
}