org.hibernate.envers.boot.model.Selection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-envers Show documentation
Show all versions of hibernate-envers Show documentation
Hibernate's entity version (audit/history) support
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.envers.boot.model;
/**
* A contract for a selection, can be a column or a formula.
*
* @author Chris Cranford
*/
public abstract class Selection implements Bindable {
public enum SelectionType {
COLUMN,
FORMULA
}
private final SelectionType selectionType;
public Selection(SelectionType selectionType) {
this.selectionType = selectionType;
}
public SelectionType getSelectionType() {
return selectionType;
}
}