Enum ValueContextForUpdate.ValidationPolicy

    • Enum Constant Detail

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

      • values

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

        public static ValueContextForUpdate.ValidationPolicy 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