public enum CoverageType extends Enum<CoverageType>
Enum Constant and Description |
---|
BODILY_INJURY_LIABILITY
Bodily injury
|
COLLISION
Accidents
|
COMPREHENSIVE
Fire, theft, storm, flood, vandalism, ...
|
PROPERTY_DAMAGE_LIABILITY
Property damage
|
ROADSIDE_ASSISTANCE
towing, battery jump-start, flat tire change, ...
|
Modifier and Type | Method and Description |
---|---|
static CoverageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoverageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoverageType COLLISION
public static final CoverageType COMPREHENSIVE
public static final CoverageType BODILY_INJURY_LIABILITY
public static final CoverageType PROPERTY_DAMAGE_LIABILITY
public static final CoverageType ROADSIDE_ASSISTANCE
public static CoverageType[] values()
for (CoverageType c : CoverageType.values()) System.out.println(c);
public static CoverageType 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 nullCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.