Enum ContributionType

    • Enum Constant Detail

      • CREATION

        public static final ContributionType CREATION
        a new object has been created.
      • DELETION

        public static final ContributionType DELETION
        one object has been deleted.
      • TAG_CHANGE

        public static final ContributionType TAG_CHANGE
        at least one tag of this object has been modified.
      • GEOMETRY_CHANGE

        public static final ContributionType GEOMETRY_CHANGE
        the geometry of the object has been altered.
    • Method Detail

      • values

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

        public static ContributionType 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