jaxx.runtime.validator
Class BeanValidatorMessage<E extends BeanValidatorMessage<?>>

java.lang.Object
  extended by jaxx.runtime.validator.BeanValidatorMessage<E>
Type Parameters:
E - type of message (use for override Comparable.compareTo(Object) method.
All Implemented Interfaces:
Comparable<E>
Direct Known Subclasses:
SwingValidatorMessage

Deprecated. since 2.2.4, the code is moved into the org.nuiton:nuiton-validator project, will be removed in version 2.3

@Deprecated
public class BeanValidatorMessage<E extends BeanValidatorMessage<?>>
extends Object
implements Comparable<E>

The object to box a validation message.

Since:
1.3
Author:
tchemit

Field Summary
protected  BeanValidatorField<?> field
          Deprecated. the field that produce the message
protected  String message
          Deprecated. the label of the message (to be displayed somewhere)
protected  BeanValidatorScope scope
          Deprecated. the scope of the message
protected  BeanValidator<?> validator
          Deprecated. the validator that produce the message
 
Constructor Summary
BeanValidatorMessage(BeanValidator<?> validator, BeanValidatorField<?> field, String message, BeanValidatorScope scope)
          Deprecated.  
 
Method Summary
 int compareTo(E o)
          Deprecated.  
 boolean equals(Object o)
          Deprecated.  
 BeanValidatorField<?> getField()
          Deprecated.  
 String getMessage()
          Deprecated.  
 BeanValidatorScope getScope()
          Deprecated.  
 BeanValidator<?> getValidator()
          Deprecated.  
 int hashCode()
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

validator

protected BeanValidator<?> validator
Deprecated. 
the validator that produce the message


field

protected BeanValidatorField<?> field
Deprecated. 
the field that produce the message


message

protected String message
Deprecated. 
the label of the message (to be displayed somewhere)


scope

protected BeanValidatorScope scope
Deprecated. 
the scope of the message

Constructor Detail

BeanValidatorMessage

public BeanValidatorMessage(BeanValidator<?> validator,
                            BeanValidatorField<?> field,
                            String message,
                            BeanValidatorScope scope)
Deprecated. 
Method Detail

getValidator

public BeanValidator<?> getValidator()
Deprecated. 

getField

public BeanValidatorField<?> getField()
Deprecated. 

getScope

public BeanValidatorScope getScope()
Deprecated. 

getMessage

public String getMessage()
Deprecated. 

compareTo

public int compareTo(E o)
Deprecated. 
Specified by:
compareTo in interface Comparable<E extends BeanValidatorMessage<?>>

equals

public boolean equals(Object o)
Deprecated. 
Overrides:
equals in class Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object


Copyright © 2008-2011 CodeLutin. All Rights Reserved.