Package com.healthmarketscience.jackcess
Enum NameMap.MismatchType
- java.lang.Object
-
- java.lang.Enum<NameMap.MismatchType>
-
- com.healthmarketscience.jackcess.NameMap.MismatchType
-
- All Implemented Interfaces:
Serializable,Comparable<NameMap.MismatchType>
- Enclosing interface:
- NameMap
public static enum NameMap.MismatchType extends Enum<NameMap.MismatchType>
The kinds of difference between a name map and the database.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GUID_DIFFERSthe object with the name of a record has a different guidMISSING_OBJECTa record names no table or column, by guid or by nameMISSING_RECORDa column of the table which holds the name map has no recordNAME_DIFFERSthe object with the guid of a record has a different name
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NameMap.MismatchTypevalueOf(String name)Returns the enum constant of this type with the specified name.static NameMap.MismatchType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MISSING_RECORD
public static final NameMap.MismatchType MISSING_RECORD
a column of the table which holds the name map has no record
-
MISSING_OBJECT
public static final NameMap.MismatchType MISSING_OBJECT
a record names no table or column, by guid or by name
-
NAME_DIFFERS
public static final NameMap.MismatchType NAME_DIFFERS
the object with the guid of a record has a different name
-
GUID_DIFFERS
public static final NameMap.MismatchType GUID_DIFFERS
the object with the name of a record has a different guid
-
-
Method Detail
-
values
public static NameMap.MismatchType[] 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 (NameMap.MismatchType c : NameMap.MismatchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NameMap.MismatchType 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
-
-