Package org.alfresco.util.schemacomp
Enum Difference.Where
- java.lang.Object
-
- java.lang.Enum<Difference.Where>
-
- org.alfresco.util.schemacomp.Difference.Where
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Difference.Where>
- Enclosing class:
- Difference
public static enum Difference.Where extends java.lang.Enum<Difference.Where>
Specifies the type of differences
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IN_BOTH_BUT_DIFFERENCEIN_BOTH_NO_DIFFERENCEONLY_IN_REFERENCEONLY_IN_TARGET
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Difference.WherevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Difference.Where[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONLY_IN_REFERENCE
public static final Difference.Where ONLY_IN_REFERENCE
-
ONLY_IN_TARGET
public static final Difference.Where ONLY_IN_TARGET
-
IN_BOTH_NO_DIFFERENCE
public static final Difference.Where IN_BOTH_NO_DIFFERENCE
-
IN_BOTH_BUT_DIFFERENCE
public static final Difference.Where IN_BOTH_BUT_DIFFERENCE
-
-
Method Detail
-
values
public static Difference.Where[] 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 (Difference.Where c : Difference.Where.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Difference.Where valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-