• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to use datetime and boolean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use datetime and boolean?


  • Subject: Re: How to use datetime and boolean?
  • From: Ian Joyner <email@hidden>
  • Date: Fri, 20 Jan 2006 11:45:31 +1100

There isn't a boolean. Put in your EOPrototypes entity an attribute named boolean with external data type char, internal data type String and external width of 1 (why is external width in the internal data type box?). The only two values allowed in this field is 'T' or 'F' (ie., class invariant is value = 'T' or value = 'F')

Similar thing for date and time put in EOPrototypes:

date: external date, internal date
date_time: external datetime, internal date

You can define everything in EOPrototype including primary keys, foreign keys (although these are the same, it is handy to use these to document what an attribute is for). Define your own data types (eg., gender, again char (1)).

Ian

On 20/01/2006, at 2:34 AM, Jim Wong wrote:

In EOModeler, how do I define date n boolean?? how's the format handling done? is there even boolean?

Jim

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40sportstec.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How to use datetime and boolean? (From: Jim Wong <email@hidden>)

  • Prev by Date: Re: Managing EOF caching
  • Next by Date: Re: Rss feeds
  • Previous by thread: How to use datetime and boolean?
  • Next by thread: Re: How to use datetime and boolean?
  • Index(es):
    • Date
    • Thread