object ConstraintViolationHelper
Helper for jakarta.validation.ConstraintViolation
- Alphabetic
- By Inheritance
- ConstraintViolationHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
dynamicPayload[P <: Payload](violation: ConstraintViolation[_], clazz: Class[P]): Option[P]
Lookup the dynamic payload of the given class type
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
messageWithPath(violation: ConstraintViolation[_]): String
Returns a String created by concatenating the ConstraintViolation#getPropertyPath and the ConstraintViolation#getMessage separated by a colon (:).
Returns a String created by concatenating the ConstraintViolation#getPropertyPath and the ConstraintViolation#getMessage separated by a colon (:). E.g. if a given violation has a
getPropertyPath.toStringvalue of "foo" and agetMessagevalue of "does not exist", this would return "foo: does not exist". -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
sortViolations[T](violations: Set[ConstraintViolation[T]]): Seq[ConstraintViolation[T]]
Sorts the given Set by natural order of String created by concatenating the ConstraintViolation#getPropertyPath and ConstraintViolation#getMessage separated by a colon (:).
Sorts the given Set by natural order of String created by concatenating the ConstraintViolation#getPropertyPath and ConstraintViolation#getMessage separated by a colon (:).
- See also
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()