public enum NamedObject extends Enum<NamedObject>
Enum Constant and Description |
---|
alias |
column
a name constisting of min 2 (the table-reference) and max. 4 identifiers,
i.e.
|
constraint |
database
a name constisting of max. 1 identifiers, i.e.
|
index |
procedure |
role |
schema
a name constisting of max. 2 identifiers, i.e.
|
sequence
a name constisting of max. 3 identifiers, i.e.
|
synonym |
table
a name constisting of max. 3 identifiers, i.e.
|
trigger |
uniqueConstraint |
user |
view
a name constisting of max. 3 identifiers, i.e.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equalsIgnoreCase(String name) |
static NamedObject |
forName(String name) |
static NamedObject |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NamedObject[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamedObject database
public static final NamedObject schema
public static final NamedObject table
public static final NamedObject view
public static final NamedObject column
public static final NamedObject index
public static final NamedObject constraint
public static final NamedObject uniqueConstraint
public static final NamedObject sequence
public static final NamedObject synonym
public static final NamedObject procedure
public static final NamedObject user
public static final NamedObject role
public static final NamedObject trigger
public static final NamedObject alias
public static NamedObject[] values()
for (NamedObject c : NamedObject.values()) System.out.println(c);
public static NamedObject valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean equalsIgnoreCase(String name)
public static NamedObject forName(String name)
name
- null
, if not found, otherwise the
NamedObject
Copyright © 2004–2022 JSQLParser. All rights reserved.