StandardType Class

public final class StandardType
extends ExpandableStringEnum<StandardType>

Standard type (Custom or Default or Compliance only currently).

Field Summary

Modifier and Type Field and Description
static final StandardType COMPLIANCE

Compliance.

static final StandardType CUSTOM

Custom.

static final StandardType DEFAULT

Default.

Constructor Summary

Constructor Description
StandardType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StandardType value.

Method Summary

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

Creates or finds a StandardType from its string representation.

static Collection<StandardType> values()

Gets known StandardType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COMPLIANCE

public static final StandardType COMPLIANCE

Compliance.

CUSTOM

public static final StandardType CUSTOM

Custom.

DEFAULT

public static final StandardType DEFAULT

Default.

Constructor Details

StandardType

@Deprecated
public StandardType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StandardType value.

Method Details

fromString

public static StandardType fromString(String name)

Creates or finds a StandardType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding StandardType.

values

public static Collection<StandardType> values()

Gets known StandardType values.

Returns:

known StandardType values.

Applies to