
net.vectorpublish.desktop.vp.io.VPDocumentROHSDB Maven / Gradle / Ivy
/*
* Copyright (c) 2016, Peter Rader. All rights reserved.
* ___ ___ __ ______ __ __ __ __
* | | |.-----..----.| |_ .-----..----.| __ \.--.--.| |--.| ||__|.-----.| |--.
* | | || -__|| __|| _|| _ || _|| __/| | || _ || || ||__ --|| |
* \_____/ |_____||____||____||_____||__| |___| |_____||_____||__||__||_____||__|__|
*
* http://www.gnu.org/licenses/gpl-3.0.html
*/
package net.vectorpublish.desktop.vp.io;
import java.awt.Dimension;
import net.vectorpublish.desktop.vp.api.history.ReadOnlyHistoryStepDataBean;
import net.vectorpublish.desktop.vp.api.vpd.DocumentNode;
/**
* The persistable {@link ReadOnlyHistoryStepDataBean} for a {@link VPDocumentNode}
*/
public class VPDocumentROHSDB implements ReadOnlyHistoryStepDataBean {
/**
* The serial version UID.
*/
private static final long serialVersionUID = -4974082945740262467L;
private final Dimension dimension;
/**
* Creates informations about a {@link DocumentNode} with a specific
* {@link Dimension}.
*
* @param dimension
* The {@link Dimension} of the {@link DocumentNode}.
*/
public VPDocumentROHSDB(Dimension dimension) {
this.dimension = dimension;
}
/**
* Returns the {@link Dimension} of the {@link DocumentNode}.
*
* @return The {@link Dimension} of the {@link DocumentNode}.
*/
public Dimension getDimension() {
return dimension;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy