Enum LinkChangeSituationType

  • All Implemented Interfaces:
    Serializable, Comparable<LinkChangeSituationType>

    public enum LinkChangeSituationType
    extends Enum<LinkChangeSituationType>
    <p>Java class for LinkChangeSituationType. <p>The following schema fragment specifies the expected content contained within this class. <p> <pre> &lt;simpleType name="LinkChangeSituationType"&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt; &lt;enumeration value="always"/&gt; &lt;enumeration value="added"/&gt; &lt;enumeration value="removed"/&gt; &lt;enumeration value="inNew"/&gt; &lt;enumeration value="inOld"/&gt; &lt;enumeration value="changed"/&gt; &lt;enumeration value="unchanged"/&gt; &lt;/restriction&gt; &lt;/simpleType&gt; </pre>
    • Enum Constant Detail

      • ALWAYS

        public static final LinkChangeSituationType ALWAYS
        Link always matches (even if it existed but does not any more).
      • ADDED

        public static final LinkChangeSituationType ADDED
        Link matches only if it was just added (i.e. its existence went from false to true).
      • REMOVED

        public static final LinkChangeSituationType REMOVED
        Link matches only if it was just removed (i.e. existence went from true to false).
      • IN_NEW

        public static final LinkChangeSituationType IN_NEW
        Link matches if it exists in the "new" state (i.e. it existence went from any to true).
      • IN_OLD

        public static final LinkChangeSituationType IN_OLD
        Link matches if it exists in the "old" state (i.e. it existence went from true to any).
      • CHANGED

        public static final LinkChangeSituationType CHANGED
        Link matches if its existence was changed (false->true or true->false).
      • UNCHANGED

        public static final LinkChangeSituationType UNCHANGED
        Link matches if its existence was unchanged (false->false or true->true).
    • Method Detail

      • values

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

        public static LinkChangeSituationType 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
      • value

        public String value()