CostType Class

public final class CostType
extends ExpandableStringEnum<CostType>

The type of the cost.

Field Summary

Modifier and Type Field and Description
static final CostType PROJECTED

Static value Projected for CostType.

static final CostType REPORTED

Static value Reported for CostType.

static final CostType UNAVAILABLE

Static value Unavailable for CostType.

Constructor Summary

Constructor Description
CostType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CostType value.

Method Summary

Modifier and Type Method and Description
static CostType fromString(String name)

Creates or finds a CostType from its string representation.

static Collection<CostType> values()

Gets known CostType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PROJECTED

public static final CostType PROJECTED

Static value Projected for CostType.

REPORTED

public static final CostType REPORTED

Static value Reported for CostType.

UNAVAILABLE

public static final CostType UNAVAILABLE

Static value Unavailable for CostType.

Constructor Details

CostType

@Deprecated
public CostType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CostType value.

Method Details

fromString

public static CostType fromString(String name)

Creates or finds a CostType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CostType.

values

public static Collection<CostType> values()

Gets known CostType values.

Returns:

known CostType values.

Applies to