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

org.valkyriercp.binding.validation.ValidationMessage Maven / Gradle / Ivy

There is a newer version: 1.3
Show newest version
package org.valkyriercp.binding.validation;

import org.valkyriercp.core.Message;

/**
 * A specific type of message that relates to a property.
 * ValidationMessages often find their origin in validation
 * triggered by a constraint on a property. This information is additionally
 * kept available in this ValidationMessage.
 */
public interface ValidationMessage extends Message {

	/**
	 * The property name for messages that have a global scope i.e. do not apply
	 * to a specific property.
	 */
	public static final String GLOBAL_PROPERTY = null;

	/**
	 * The property that this validation message applies to; or
	 * GLOBAL_PROPERTY if this message does not apply to a
	 * specific property.
	 */
	String getProperty();

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy