Package com._1c.g5.v8.dt.supply
Enum ObjectIntegrationSettings
- java.lang.Object
-
- java.lang.Enum<ObjectIntegrationSettings>
-
- com._1c.g5.v8.dt.supply.ObjectIntegrationSettings
-
- All Implemented Interfaces:
Serializable
,Comparable<ObjectIntegrationSettings>
public enum ObjectIntegrationSettings extends Enum<ObjectIntegrationSettings>
Values being returned by theISupplySettingsManager
during the object integration policies check.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
Leave the default merge policy as-isDELETE
Delete MAIN side object as a result of the mergeDO_NOT_MERGE
Leave MAIN side object unchangedGET_FROM_OTHER
Get the requested object from the OTHER side of the merge
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectIntegrationSettings
valueOf(String name)
Returns the enum constant of this type with the specified name.static ObjectIntegrationSettings[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET_FROM_OTHER
public static final ObjectIntegrationSettings GET_FROM_OTHER
Get the requested object from the OTHER side of the merge
-
DO_NOT_MERGE
public static final ObjectIntegrationSettings DO_NOT_MERGE
Leave MAIN side object unchanged
-
DELETE
public static final ObjectIntegrationSettings DELETE
Delete MAIN side object as a result of the merge
-
DEFAULT
public static final ObjectIntegrationSettings DEFAULT
Leave the default merge policy as-is
-
-
Method Detail
-
values
public static ObjectIntegrationSettings[] 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 (ObjectIntegrationSettings c : ObjectIntegrationSettings.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectIntegrationSettings 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
-
-