Enum MappingRules.ChangeRule

  • All Implemented Interfaces:
    Serializable, Comparable<MappingRules.ChangeRule>
    Enclosing class:
    MappingRules

    public static enum MappingRules.ChangeRule
    extends Enum<MappingRules.ChangeRule>
    the change policy values - skip: for packages - skip one aspect (e.g. the ACLs) - extend: add new values only, don't change existing values even if different in th external object - merge: change all values using the external form and let the values not present external unchanged - update: change all values and remove all values and nodes which are not present in the external object
    • Method Detail

      • values

        public static MappingRules.ChangeRule[] 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 (MappingRules.ChangeRule c : MappingRules.ChangeRule.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MappingRules.ChangeRule 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