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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies that the validation of this content must take into account all the constraints defined by the underlying data model.Specifies that the validation of this content must be done according to the policy of the user interface. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.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
-
Enum Constant Details
-
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. 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 propertyosd:checkNullInput=true
is set on the associated node in the data model. -
Cardinality constraints on aggregated lists (using the property
xs:minOccurs > 1
andxs:maxOccurs > 1
) are not checked.
-
Mandatory fields (using the property
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-