ObjectType Class

public final class ObjectType
extends ExpandableStringEnum<ObjectType>

An enumeration of type of objects.

Field Summary

Modifier and Type Field and Description
static final ObjectType FUNCTION

Static value Function for ObjectType.

static final ObjectType STORED_PROCEDURES

Static value StoredProcedures for ObjectType.

static final ObjectType TABLE

Static value Table for ObjectType.

static final ObjectType USER

Static value User for ObjectType.

static final ObjectType VIEW

Static value View for ObjectType.

Constructor Summary

Constructor Description
ObjectType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ObjectType value.

Method Summary

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

Creates or finds a ObjectType from its string representation.

static Collection<ObjectType> values()

Gets known ObjectType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FUNCTION

public static final ObjectType FUNCTION

Static value Function for ObjectType.

STORED_PROCEDURES

public static final ObjectType STORED_PROCEDURES

Static value StoredProcedures for ObjectType.

TABLE

public static final ObjectType TABLE

Static value Table for ObjectType.

USER

public static final ObjectType USER

Static value User for ObjectType.

VIEW

public static final ObjectType VIEW

Static value View for ObjectType.

Constructor Details

ObjectType

@Deprecated
public ObjectType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ObjectType value.

Method Details

fromString

public static ObjectType fromString(String name)

Creates or finds a ObjectType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ObjectType.

values

public static Collection<ObjectType> values()

Gets known ObjectType values.

Returns:

known ObjectType values.

Applies to