Yes the document its inmutable, so Iwill put documentID as the PK and take out the id auto generated, I was wondering if after I need that documentID for any reason to show in a UI will I be able to get it easly? my mind map is that i will have to fetch a Person given a documentID ( which is unique) ..
EOUtilities.objectWithPrimaryKeyValue(...)

<unrelated-to-wo-comment>
I don't know if the names in this model were given to you as part of your assignment, but as an aside, naming is very important in software development. Like I said, I don't know the meaning of the attributes in your model, but "document" seems to me to be a misleading name for the primary key of an entity named Person. Common primary keys names would be "id" or "personid" (or "person_id" if that style floats your boat). "documentID" implies (to me) that this is the id of the document associated with this person ... That would be the name I would expect to see as the foreign key to a Document entity on a Person.
</unrelated-to-wo-comment>

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to