Partilhar via


SampleName Class

public final class SampleName
extends ExpandableStringEnum<SampleName>

The name of the sample schema to apply when creating this database.

Field Summary

Modifier and Type Field and Description
static final SampleName ADVENTURE_WORKS_LT

Static value AdventureWorksLT for SampleName.

static final SampleName WIDE_WORLD_IMPORTERS_FULL

Static value WideWorldImportersFull for SampleName.

static final SampleName WIDE_WORLD_IMPORTERS_STD

Static value WideWorldImportersStd for SampleName.

Constructor Summary

Constructor Description
SampleName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SampleName value.

Method Summary

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

Creates or finds a SampleName from its string representation.

static Collection<SampleName> values()

Gets known SampleName values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ADVENTURE_WORKS_LT

public static final SampleName ADVENTURE_WORKS_LT

Static value AdventureWorksLT for SampleName.

WIDE_WORLD_IMPORTERS_FULL

public static final SampleName WIDE_WORLD_IMPORTERS_FULL

Static value WideWorldImportersFull for SampleName.

WIDE_WORLD_IMPORTERS_STD

public static final SampleName WIDE_WORLD_IMPORTERS_STD

Static value WideWorldImportersStd for SampleName.

Constructor Details

SampleName

@Deprecated
public SampleName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SampleName value.

Method Details

fromString

public static SampleName fromString(String name)

Creates or finds a SampleName from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SampleName.

values

public static Collection values()

Gets known SampleName values.

Returns:

known SampleName values.

Applies to