Class SameNamedSiblingValidator

java.lang.Object
ch.tocco.nice2.dms.impl.validate.AbstractPathValidator
ch.tocco.nice2.dms.impl.validate.SameNamedSiblingValidator
All Implemented Interfaces:
PathValidator

@Component public class SameNamedSiblingValidator extends AbstractPathValidator
Checks if there already exists a sibling with the same name. This validator is triggered when the path part of a node has changed or when the parent relation is changed (→ when the node is moved to another parent).