public enum ForeignKeyChildElementName extends Enum<ForeignKeyChildElementName> implements SourceElementName
Enum Constant and Description |
---|
FOREIGN_FIELD
The child element containing information about the field in the foreign
database object containing the referenced local database object.
|
FOREIGN_FIELD_IN_BEAN
The child element containing information about the field in the foreign
bean containing the referenced local beans.
|
LOCAL_FIELD
The child element containing information about the field in the local
database object containing the referenced foreign database object.
|
LOCAL_FIELD_IN_BEAN
The child element containing information about the field in the local
bean containing the referenced foreign bean.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the referenced source element.
|
String |
toString() |
static ForeignKeyChildElementName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForeignKeyChildElementName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForeignKeyChildElementName LOCAL_FIELD
public static final ForeignKeyChildElementName FOREIGN_FIELD
public static final ForeignKeyChildElementName LOCAL_FIELD_IN_BEAN
public static final ForeignKeyChildElementName FOREIGN_FIELD_IN_BEAN
public static ForeignKeyChildElementName[] values()
for (ForeignKeyChildElementName c : ForeignKeyChildElementName.values()) System.out.println(c);
public static ForeignKeyChildElementName 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<ForeignKeyChildElementName>
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.