Object Oriented Subclassing Question
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.