public enum EValidationArtefactType extends Enum<EValidationArtefactType> implements com.helger.commons.id.IHasID<String>, com.helger.commons.name.IHasName
| Enum Constant and Description |
|---|
SCHEMATRON |
XSD |
| Modifier and Type | Method and Description |
|---|---|
static EValidationArtefactType |
getFromIDOrNull(String sID) |
String |
getID() |
String |
getName()
This locale independent name of the validation artefact.
|
static EValidationArtefactType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EValidationArtefactType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EValidationArtefactType XSD
public static final EValidationArtefactType SCHEMATRON
public static EValidationArtefactType[] values()
for (EValidationArtefactType c : EValidationArtefactType.values()) System.out.println(c);
public static EValidationArtefactType 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 null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nonnull @Nonempty public String getName()
getName in interface com.helger.commons.name.IHasName@Nullable public static EValidationArtefactType getFromIDOrNull(@Nullable String sID)
Copyright © 2016 Philip Helger. All rights reserved.