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