org.apache.jackrabbit.mk.model.tree
Enum NodeDelta.ConflictType

java.lang.Object
  extended by java.lang.Enum<NodeDelta.ConflictType>
      extended by org.apache.jackrabbit.mk.model.tree.NodeDelta.ConflictType
All Implemented Interfaces:
Serializable, Comparable<NodeDelta.ConflictType>
Enclosing class:
NodeDelta

public static enum NodeDelta.ConflictType
extends Enum<NodeDelta.ConflictType>


Enum Constant Summary
NODE_CONTENT_CONFLICT
          child nodes with identical name have been added or modified, but with differing id's; the corresponding node subtrees are hence differing and potentially conflicting.
PROPERTY_VALUE_CONFLICT
          same property has been added or set, but with differing values
REMOVED_DIRTY_NODE_CONFLICT
          a child node entry pointing to a modified subtree has been deleted
REMOVED_DIRTY_PROPERTY_CONFLICT
          a modified property has been deleted
 
Method Summary
static NodeDelta.ConflictType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NodeDelta.ConflictType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PROPERTY_VALUE_CONFLICT

public static final NodeDelta.ConflictType PROPERTY_VALUE_CONFLICT
same property has been added or set, but with differing values


NODE_CONTENT_CONFLICT

public static final NodeDelta.ConflictType NODE_CONTENT_CONFLICT
child nodes with identical name have been added or modified, but with differing id's; the corresponding node subtrees are hence differing and potentially conflicting.


REMOVED_DIRTY_PROPERTY_CONFLICT

public static final NodeDelta.ConflictType REMOVED_DIRTY_PROPERTY_CONFLICT
a modified property has been deleted


REMOVED_DIRTY_NODE_CONFLICT

public static final NodeDelta.ConflictType REMOVED_DIRTY_NODE_CONFLICT
a child node entry pointing to a modified subtree has been deleted

Method Detail

values

public static NodeDelta.ConflictType[] 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 (NodeDelta.ConflictType c : NodeDelta.ConflictType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NodeDelta.ConflictType 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 name
NullPointerException - if the argument is null


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.