Package com._1c.g5.v8.dt.supply
Enum ComparisonAssociationType
- java.lang.Object
-
- java.lang.Enum<ComparisonAssociationType>
-
- com._1c.g5.v8.dt.supply.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 affectsISupplySettingsManager#getIntegrationSettings
decision depending on the provided context.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAIN_AND_OTHER
Both MAIN and OTHER sides are present in the comparison associationMAIN_ONLY
Only MAIN side object is present in the comparison associationOTHER_ONLY
Only OTHER side object is present in the comparison association
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComparisonAssociationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ComparisonAssociationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException
- if the argument is null
-
-