메일링 리스트 webobjects-dev@wocommunity.org 메시지 #550
보낸 사람: Theodore Petrosky <tedpet5@yahoo.com>
제목: validateForSave() question
일자: Mon, 23 Feb 2026 17:50:08 -0500
받는 사람: <webobjects-dev@wocommunity.org>
I am trying to add a check in validateForSave. my entity has a toMany relation with my Person entity. I need to  check if a person has been added twice.

So basically, if Jon has been added twice throw the validation exception. so I guess, here is an array of persons, are they all unique?

Am I being clear?

public void validateForSave() throws NSValidation.ValidationException {

Ted

BTW, I tried to send this to webobjects-dev@lists.apple.com, but it looks like it has been down for a couple of days or longer.

가입 (FEED) 가입 (DIGEST) 가입 (INDEX) 탈퇴 Listmaster에게 메일 보내기