Class AttributeModificationValidator
java.lang.Object
cz.cvut.kbss.jopa.sessions.validator.AttributeModificationValidator
Validates modification operations on attributes.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
verifyCanModify
(FieldSpecification<?, ?> fieldSpec) Checks whether the specified field can be modified.
-
Method Details
-
verifyCanModify
Checks whether the specified field can be modified.Currently, only modification of lexical form attributes are rejected immediately.
- Parameters:
fieldSpec
- Specification of mapped field to verify- Throws:
AttributeModificationForbiddenException
- If the specified field cannot be modified
-