public enum PbmCapabilityTimeUnitType extends Enum<PbmCapabilityTimeUnitType>
Java class for PbmCapabilityTimeUnitType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PbmCapabilityTimeUnitType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="SECONDS"/>
<enumeration value="MINUTES"/>
<enumeration value="HOURS"/>
<enumeration value="DAYS"/>
<enumeration value="WEEKS"/>
<enumeration value="MONTHS"/>
<enumeration value="YEARS"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DAYS |
HOURS |
MINUTES |
MONTHS |
SECONDS |
WEEKS |
YEARS |
| Modifier and Type | Method and Description |
|---|---|
static PbmCapabilityTimeUnitType |
fromValue(String v) |
String |
value() |
static PbmCapabilityTimeUnitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PbmCapabilityTimeUnitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PbmCapabilityTimeUnitType SECONDS
public static final PbmCapabilityTimeUnitType MINUTES
public static final PbmCapabilityTimeUnitType HOURS
public static final PbmCapabilityTimeUnitType DAYS
public static final PbmCapabilityTimeUnitType WEEKS
public static final PbmCapabilityTimeUnitType MONTHS
public static final PbmCapabilityTimeUnitType YEARS
public static PbmCapabilityTimeUnitType[] values()
for (PbmCapabilityTimeUnitType c : PbmCapabilityTimeUnitType.values()) System.out.println(c);
public static PbmCapabilityTimeUnitType 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 String value()
public static PbmCapabilityTimeUnitType fromValue(String v)
Copyright © 2018. All rights reserved.