Package cz.diribet.aqdef.catalog
Enum CatalogField.CatalogFieldType
- java.lang.Object
-
- java.lang.Enum<CatalogField.CatalogFieldType>
-
- cz.diribet.aqdef.catalog.CatalogField.CatalogFieldType
-
- All Implemented Interfaces:
Serializable,Comparable<CatalogField.CatalogFieldType>
- Enclosing class:
- CatalogField
public static enum CatalogField.CatalogFieldType extends Enum<CatalogField.CatalogFieldType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CatalogField.CatalogFieldTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CatalogField.CatalogFieldType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final CatalogField.CatalogFieldType ID
Identifier of catalog (surrogate key)
-
DATA
public static final CatalogField.CatalogFieldType DATA
Data fields contains actial data of the catalog record
-
STATE
public static final CatalogField.CatalogFieldType STATE
State fields tells if the catalog record is active or non-active (soft deleted)
-
-
Method Detail
-
values
public static CatalogField.CatalogFieldType[] 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 (CatalogField.CatalogFieldType c : CatalogField.CatalogFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CatalogField.CatalogFieldType 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
-
-