public static enum ContractMinutesViolation.Type extends Enum<ContractMinutesViolation.Type>
| Modifier and Type | Method and Description |
|---|---|
static ContractMinutesViolation.Type |
getTypeForViolation(String constraintName) |
String |
toString() |
static ContractMinutesViolation.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContractMinutesViolation.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContractMinutesViolation.Type DAY
public static final ContractMinutesViolation.Type WEEK
public static final ContractMinutesViolation.Type MONTH
public static final ContractMinutesViolation.Type YEAR
public static ContractMinutesViolation.Type[] values()
for (ContractMinutesViolation.Type c : ContractMinutesViolation.Type.values()) System.out.println(c);
public static ContractMinutesViolation.Type 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 static ContractMinutesViolation.Type getTypeForViolation(String constraintName)
public String toString()
toString in class Enum<ContractMinutesViolation.Type>Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.