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

org.hibernate.tool.hbmlint.Issue Maven / Gradle / Ivy

There is a newer version: 5.6.15.Final
Show newest version
package org.hibernate.tool.hbmlint;

public class Issue {

	public static final int HIGH_PRIORITY = 100;
	public static final int NORMAL_PRIORITY = 50;
	public static final int LOW_PRIORITY = 0;

	private final String type;
	private final int priority;
	
	private final String description;

	public Issue(String type, int priority, String description) {
		this.description = description;
		this.priority = priority;
		this.type = type;
	}
	
	public String toString() {
		return type + ":" + description;
	}

	public String getDescription() {
		return description;
	}
	
	public int getPriority() {
		return priority;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy