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:
  • 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