Enum CollisionMode

    • Enum Constant Detail

      • NO_OVERWRITE

        public static final CollisionMode NO_OVERWRITE
        Never overwrite an existing definition or diagram.
      • REPOPULATE

        public static final CollisionMode REPOPULATE
        If the definition exists, get all properties for it, delete it, recreate it, repopulate the properties.
      • UPDATE

        public static final CollisionMode UPDATE
        Update single fields when data supplied.
      • UPDATE_OR_CLEAR

        public static final CollisionMode UPDATE_OR_CLEAR
        Update single fields - clear field if no data.
      • REPLACE

        public static final CollisionMode REPLACE
        Always replace existing diagram.
    • Method Detail

      • values

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

        public static CollisionMode 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
      • valueOf

        public static CollisionMode valueOf​(int value)
        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:
        value - 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
      • getValue

        public int getValue()
        Returns the underlying value used by System Architect APIs.
        Returns:
        the underlying value used by System Architect APIs.