• 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
Object Oriented Subclassing Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Object Oriented Subclassing Question


  • Subject: Object Oriented Subclassing Question
  • From: James Cicenia <email@hidden>
  • Date: Sat, 6 Mar 2004 13:18:48 -0600

Hello -

I have a component called EditLists and I want to subclass it
for each of my lists.  i.e. EditRoles, EditSystems, etc.

at the top of my EditLists class I have:

	/** @TypeInfo eo.PortfolioRole */
	public PortfolioRole newItem;
	public PortfolioRole theItem;
	public String QUERY_DELETE_VALUE = "rosterMembers.role.value";
	public String QUERY_OBJECT = "PortfolioRole";


Can I override those public variables? It seems I can't. My component
thinks the subclass is actually the superclass. Newbie OO question I
am sure, but would like to understand this pattern a bit more.
I just need to change those and everything should work great.

-James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Object Oriented Subclassing Question
      • From: Jonathan Rochkind <email@hidden>
    • Re: Object Oriented Subclassing Question
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: WOComponent Template
  • Next by Date: Re: Object Oriented Subclassing Question
  • Previous by thread: xcode won't let me add files/web services demo does not work
  • Next by thread: Re: Object Oriented Subclassing Question
  • Index(es):
    • Date
    • Thread