public enum ForeignKeyAttributeName extends Enum<ForeignKeyAttributeName> implements SourceAttributeName
Enum Constant and Description |
---|
FOREIGN_KEY_GETTER
The name of the getter method for the foreign key object.
|
REFERENCES_PRIMARY_KEY
The name of the attribute containing the information whether
the foreign key references the primary key of the foreign table.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the referenced source element.
|
String |
toString() |
static ForeignKeyAttributeName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForeignKeyAttributeName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForeignKeyAttributeName FOREIGN_KEY_GETTER
public static final ForeignKeyAttributeName REFERENCES_PRIMARY_KEY
public static ForeignKeyAttributeName[] values()
for (ForeignKeyAttributeName c : ForeignKeyAttributeName.values()) System.out.println(c);
public static ForeignKeyAttributeName 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 SourceAttributeName
public String toString()
toString
in class Enum<ForeignKeyAttributeName>
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.