Package org.hibernate.testing.orm.domain
Enum StandardDomainModel
- java.lang.Object
-
- java.lang.Enum<StandardDomainModel>
-
- org.hibernate.testing.orm.domain.StandardDomainModel
-
- All Implemented Interfaces:
Serializable
,Comparable<StandardDomainModel>
public enum StandardDomainModel extends Enum<StandardDomainModel>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainModelDescriptor
getDescriptor()
static StandardDomainModel
valueOf(String name)
Returns the enum constant of this type with the specified name.static StandardDomainModel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTACTS
public static final StandardDomainModel CONTACTS
-
ANIMAL
public static final StandardDomainModel ANIMAL
-
GAMBIT
public static final StandardDomainModel GAMBIT
-
HELPDESK
public static final StandardDomainModel HELPDESK
-
RETAIL
public static final StandardDomainModel RETAIL
-
USERGUIDE
public static final StandardDomainModel USERGUIDE
-
-
Method Detail
-
values
public static StandardDomainModel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StandardDomainModel c : StandardDomainModel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StandardDomainModel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDescriptor
public DomainModelDescriptor getDescriptor()
-
-