com.atlassian.validation
Class Validated<T>

java.lang.Object
  extended by com.atlassian.validation.Validated<T>

public class Validated<T>
extends Object

Convenience composite for holding the validation results and a domain object. Typical use is to do validation for the purpose of updating an instance of a T and then returning the results of that request in the form of an instance of this class.

Since:
v4.4

Constructor Summary
Validated(Validator.Result result, T operand)
           
 
Method Summary
 Validator.Result getResult()
           
 T getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validated

public Validated(Validator.Result result,
                 T operand)
Method Detail

getResult

public Validator.Result getResult()

getValue

public T getValue()


Copyright © 2002-2014 Atlassian. All Rights Reserved.