public enum EValidity extends Enum<EValidity> implements IValidityIndicator
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid() |
static EValidity |
valueOf(boolean bValidity) |
static EValidity |
valueOf(IValidityIndicator aValidityIndicator) |
static EValidity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EValidity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfand, isInvalid, orpublic static final EValidity VALID
public static final EValidity INVALID
public static EValidity[] values()
for (EValidity c : EValidity.values()) System.out.println(c);
public static EValidity valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isValid()
isValid in interface IValidityIndicatortrue if valid and false if invalid.@Nonnull public static EValidity valueOf(@Nonnull IValidityIndicator aValidityIndicator)
Copyright © 2014–2016 Philip Helger. All rights reserved.