fr.cnes.sitools.common.validator
Class ConstraintViolation

java.lang.Object
  extended by fr.cnes.sitools.common.validator.ConstraintViolation

public final class ConstraintViolation
extends java.lang.Object

ConstraintViolation default implementation

Author:
m.gond

Constructor Summary
ConstraintViolation()
           
 
Method Summary
 java.lang.String getInvalidValue()
          Gets the invalid value of the violation
 ConstraintViolationLevel getLevel()
          Get the level of violation
 java.lang.String getMessage()
          Gets the message of the violation
 java.lang.String getValueName()
          Gets the valueName value
 void setInvalidValue(java.lang.String invalidValue)
          Sets the value of invalidValue
 void setLevel(ConstraintViolationLevel level)
          Sets the value of level
 void setMessage(java.lang.String message)
          Sets the value of message
 void setValueName(java.lang.String valueName)
          Sets the value of valueName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintViolation

public ConstraintViolation()
Method Detail

getMessage

public java.lang.String getMessage()
Gets the message of the violation

Returns:
the message of the violation

getInvalidValue

public java.lang.String getInvalidValue()
Gets the invalid value of the violation

Returns:
the invalid value of the violation

getLevel

public ConstraintViolationLevel getLevel()
Get the level of violation

Returns:
the level of violation

setMessage

public void setMessage(java.lang.String message)
Sets the value of message

Parameters:
message - the message to set

setInvalidValue

public void setInvalidValue(java.lang.String invalidValue)
Sets the value of invalidValue

Parameters:
invalidValue - the invalidValue to set

setLevel

public void setLevel(ConstraintViolationLevel level)
Sets the value of level

Parameters:
level - the level to set

setValueName

public void setValueName(java.lang.String valueName)
Sets the value of valueName

Parameters:
valueName - the valueName to set

getValueName

public java.lang.String getValueName()
Gets the valueName value

Returns:
the valueName


Copyright © 2010-2013 CNES. All Rights Reserved.