public enum TableChildElementName extends Enum<TableChildElementName> implements SourceElementName
Enum Constant and Description |
---|
FOREIGN
The foreign elements of the JOIN_GETTER.
|
INHERITANCE_COLUMN
The element containing the inheritance column.
|
JOIN_GETTER
A getter to join a table remote by two foreign key relations.
|
LOCAL
The local elements of the JOIN_GETTER.
|
PRIMARY_KEYS
Contains all primary key columns of the table.
|
REFERENCING_FOREIGN_KEYS
Contains all foreign keys referencing this table.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the referenced source element.
|
String |
toString() |
static TableChildElementName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableChildElementName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableChildElementName INHERITANCE_COLUMN
public static final TableChildElementName REFERENCING_FOREIGN_KEYS
public static final TableChildElementName PRIMARY_KEYS
public static final TableChildElementName JOIN_GETTER
public static final TableChildElementName LOCAL
public static final TableChildElementName FOREIGN
public static TableChildElementName[] values()
for (TableChildElementName c : TableChildElementName.values()) System.out.println(c);
public static TableChildElementName 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<TableChildElementName>
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.