public enum MetadataSourceType extends java.lang.Enum<MetadataSourceType>
Enum Constant and Description |
---|
CLASS
Indicates metadata coming from either annotations, orx.xml or a combination of the two.
|
HBM
Indicates metadata coming from hbm.xml files
|
Modifier and Type | Method and Description |
---|---|
static MetadataSourceType |
parsePrecedence(java.lang.String value) |
java.lang.String |
toString() |
static MetadataSourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetadataSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataSourceType HBM
public static final MetadataSourceType CLASS
public static MetadataSourceType[] values()
for (MetadataSourceType c : MetadataSourceType.values()) System.out.println(c);
public static MetadataSourceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<MetadataSourceType>
public static MetadataSourceType parsePrecedence(java.lang.String value)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.