ch.bind.philib.validation
Class Validation
java.lang.Object
ch.bind.philib.validation.Validation
public abstract class Validation
- extends Object
- Author:
- Philipp Meinen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Validation
protected Validation()
notNegative
public static void notNegative(int value)
notNegative
public static void notNegative(int value,
String message)
notNegative
public static void notNegative(long value)
notNegative
public static void notNegative(long value,
String message)
notNull
public static void notNull(Object obj)
notNull
public static void notNull(Object obj,
String message)
isTrue
public static void isTrue(boolean value)
isTrue
public static void isTrue(boolean value,
String message)
isFalse
public static void isFalse(boolean value)
isFalse
public static void isFalse(boolean value,
String message)
notNullOrEmpty
public static void notNullOrEmpty(CharSequence value)
notNullOrEmpty
public static void notNullOrEmpty(CharSequence value,
String message)
notNullOrEmpty
public static void notNullOrEmpty(Collection<?> value)
notNullOrEmpty
public static void notNullOrEmpty(Collection<?> value,
String message)
notNullOrEmpty
public static <T> void notNullOrEmpty(T[] value)
notNullOrEmpty
public static <T> void notNullOrEmpty(T[] value,
String message)
Copyright © 2013. All Rights Reserved.