public static enum MandatoryFacetAbstract.Semantics extends Enum<MandatoryFacetAbstract.Semantics>
| Modifier and Type | Method and Description |
|---|---|
static MandatoryFacetAbstract.Semantics |
of(boolean required) |
static MandatoryFacetAbstract.Semantics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MandatoryFacetAbstract.Semantics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MandatoryFacetAbstract.Semantics REQUIRED
public static final MandatoryFacetAbstract.Semantics OPTIONAL
public static MandatoryFacetAbstract.Semantics[] values()
for (MandatoryFacetAbstract.Semantics c : MandatoryFacetAbstract.Semantics.values()) System.out.println(c);
public static MandatoryFacetAbstract.Semantics 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 MandatoryFacetAbstract.Semantics of(boolean required)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.