Enum ComparisonAssociationType

  • All Implemented Interfaces:
    Serializable, Comparable<ComparisonAssociationType>

    public enum ComparisonAssociationType
    extends Enum<ComparisonAssociationType>
    The type of the association between objects received during the model comparison process on the integration of a library to the destination project.
    This enum affects ISupplySettingsManager#getIntegrationSettings decision depending on the provided context.
    • Enum Constant Detail

      • MAIN_ONLY

        public static final ComparisonAssociationType MAIN_ONLY
        Only MAIN side object is present in the comparison association
      • OTHER_ONLY

        public static final ComparisonAssociationType OTHER_ONLY
        Only OTHER side object is present in the comparison association
      • MAIN_AND_OTHER

        public static final ComparisonAssociationType MAIN_AND_OTHER
        Both MAIN and OTHER sides are present in the comparison association
    • Method Detail

      • values

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

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