public enum ColumnChildElementName extends Enum<ColumnChildElementName> implements SourceElementName
Enum Constant and Description |
---|
REFERENCED_COLUMN
The element containing the column which is referenced by the parent
column element in a foreign-key relation.
|
REFERENCING_COLUMN
The element containing the column which references the parent
column element in a foreign-key relation.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the referenced source element.
|
String |
toString() |
static ColumnChildElementName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnChildElementName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnChildElementName REFERENCED_COLUMN
public static final ColumnChildElementName REFERENCING_COLUMN
public static ColumnChildElementName[] values()
for (ColumnChildElementName c : ColumnChildElementName.values()) System.out.println(c);
public static ColumnChildElementName 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 String getName()
getName
in interface SourceElementName
public String toString()
toString
in class Enum<ColumnChildElementName>
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.