Package com.orchestranetworks.service

# Enum Class ValueContextForUpdate.ValidationPolicy

java.lang.Object
java.lang.Enum<ValueContextForUpdate.ValidationPolicy>
com.orchestranetworks.service.ValueContextForUpdate.ValidationPolicy

All Implemented Interfaces:
  `Serializable`, `Comparable<ValueContextForUpdate.ValidationPolicy>`, `Constable`

Enclosing interface:
  ValueContextForUpdate

public static enum ValueContextForUpdate.ValidationPolicy extends Enum<ValueContextForUpdate.ValidationPolicy>
Defines the policy for validating this content.

Since:
  6.0.0
See Also:
  - `ValueContextForUpdate.getValidationReport(ValidationPolicy)`

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `FULL`
  Specifies that the validation of this content must take into account all the constraints defined by the underlying data model.
  `USER_INPUTS`
  Specifies that the validation of this content must be done according to the policy of the user interface.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static ValueContextForUpdate.ValidationPolicy`
  `valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ValueContextForUpdate.ValidationPolicy[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### FULL

    public static final ValueContextForUpdate.ValidationPolicy FULL
    Specifies that the validation of this content must take into account all the constraints defined by the underlying data model.

  - ### USER_INPUTS

    public static final ValueContextForUpdate.ValidationPolicy USER_INPUTS
    Specifies that the validation of this content must be done according to the policy of the user interface. That is, in addition to checking all constraints defined by the underlying data model, the following specificities are applied:
    - Mandatory fields (using the property `xs:minOccurs=1`) are checked only if the property `osd:checkNullInput=true` is set on the associated node in the data model.
    - Cardinality constraints on aggregated lists (using the property `xs:minOccurs > 1` and `xs:maxOccurs > 1` ) are not checked.

- ## Method Details

  - ### values

    public static ValueContextForUpdate.ValidationPolicy[] values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Returns:
      an array containing the constants of this enum class, in the order they are declared

  - ### valueOf

    public static ValueContextForUpdate.ValidationPolicy valueOf(String name)
    Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      `NullPointerException` - if the argument is null