Enum LinkConstraintMethod

    • Enum Constant Detail

      • A_TO_B_IF_EXISTS

        public static final LinkConstraintMethod A_TO_B_IF_EXISTS
        If a link is detected between A and B, ensure it is directed from A to B.
      • A_TO_B_IF_CHOICE

        public static final LinkConstraintMethod A_TO_B_IF_CHOICE
        If a link is detected between A and B, direct it from A to B if a choice of direction is available.
      • A_TO_B_OR_B_TO_A

        public static final LinkConstraintMethod A_TO_B_OR_B_TO_A
        Enforces a link between A and B, in either direction.
      • NOT_A_TO_B_OR_B_TO_A

        public static final LinkConstraintMethod NOT_A_TO_B_OR_B_TO_A
        Ensures that a link is not created between A and B.
    • Method Detail

      • values

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

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