public enum MetadataSourceType extends 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 | 
|---|---|
String | 
toString()  | 
static MetadataSourceType | 
valueOf(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(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 toString()
toString in class Enum<MetadataSourceType>Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.