private boolean checkValueConstraints ( int requiredType , String [ ] constraints , Value value ) { ValueConstraintsMatcher constrMatcher = new ValueConstraintsMatcher ( constraints , locationFactory , dataManager , nodeTypeDataManager ) ; try { return constrMatcher . match ( ( ( BaseValue ) value ) . getInternalData ( ) , requiredType ) ; } catch ( RepositoryException e1 ) { return false ; } }
Check value constrains .