/*
* Copyright (C) 2013 Jan Pokorsky
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package cz.cas.lib.proarc.common.object;
import javax.xml.bind.annotation.XmlElement;
/**
* The description metadata of a digital object.
*
* @author Jan Pokorsky
*/
public class DescriptionMetadata<T> {
private String pid;
private Integer batchId;
private long timestamp;
private String editor;
private T data;
private boolean ignoreValidation = false;
public DescriptionMetadata() {
}
public Integer getBatchId() {
return batchId;
}
public void setBatchId(Integer batchId) {
this.batchId = batchId;
}
public T getData() {
return data;
}
public void setData(T data) {
this.data = data;
}
public String getEditor() {
return editor;
}
public void setEditor(String editor) {
this.editor = editor;
}
public boolean isIgnoreValidation() {
return ignoreValidation;
}
public void setIgnoreValidation(boolean ignoreValidation) {
this.ignoreValidation = ignoreValidation;
}
public String getPid() {
return pid;
}
public void setPid(String pid) {
this.pid = pid;
}
public long getTimestamp() {
return timestamp;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
}