• 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: Entity name from class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entity name from class


  • Subject: Re: Entity name from class
  • From: Ken Anderson <email@hidden>
  • Date: Mon, 08 Aug 2005 17:15:52 -0400


personInstance.entityName();


On Aug 8, 2005, at 5:05 PM, Daniel Eggert wrote:

Is there any way to programatically get the entity name from a class?

Let's say I have the class Person, and I want to construct a
EODatabaseDataSource dataSource = new EODatabaseDataSource(ec, entityName);


How would I go about getting entityName from the Java class Person? Do I really need to hard code entity names into my code?

/Daniel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40anderhome.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
  • Follow-Ups:
    • Re: Entity name from class
      • From: email@hidden
    • Re: Entity name from class
      • From: "Jerry W. Walker" <email@hidden>
References: 
 >Entity name from class (From: Daniel Eggert <email@hidden>)

  • Prev by Date: Entity name from class
  • Next by Date: Re: Entity name from class
  • Previous by thread: Entity name from class
  • Next by thread: Re: Entity name from class
  • Index(es):
    • Date
    • Thread