Name Class

public final class Name
extends ExpandableStringEnum<Name>

The name of the SKU, in standard format (such as S0).

Field Summary

Modifier and Type Field and Description
static final Name G2

Static value G2 for Name.

static final Name S0

Static value S0 for Name.

static final Name S1

Static value S1 for Name.

Constructor Summary

Constructor Description
Name()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Name value.

Method Summary

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

Creates or finds a Name from its string representation.

static Collection<Name> values()

Gets known Name values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

G2

public static final Name G2

Static value G2 for Name.

S0

public static final Name S0

Static value S0 for Name.

S1

public static final Name S1

Static value S1 for Name.

Constructor Details

Name

@Deprecated
public Name()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Name value.

Method Details

fromString

public static Name fromString(String name)

Creates or finds a Name from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Name.

values

public static Collection<Name> values()

Gets known Name values.

Returns:

known Name values.

Applies to