This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes tx:All of URLy Bird 1.1.3 public method in Data class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "tx:All of URLy Bird 1.1.3 public method in Data class" Watch "tx:All of URLy Bird 1.1.3 public method in Data class" New topic
Author

tx:All of URLy Bird 1.1.3 public method in Data class

liqun chang
Ranch Hand

Joined: Nov 20, 2003
Posts: 90
Hi:George and Andrew
I have finished my Data class and test it run better.
my question is :
I create DataSchema class and get the metadata of the database.and i put this in Data class.I also create ServicesImpl class for booking and searching.
whether i can create public method in Data class(public DataSchema getDataSchema())and used in ServicesImpl? also in Data class,whether i can create myself public method but the methods that sun provides?
please give me some suggestions.
Philippe Maquet
Bartender

Joined: Jun 02, 2003
Posts: 1872
Hi liqun,
whether i can create public method in Data class(public DataSchema getDataSchema())and used in ServicesImpl? also in Data class,whether i can create myself public method but the methods that sun provides?

You can do both. Data must implement the provided interface, but nothing prevent you to implement other public methods in Data.
Regards,
Phil.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: tx:All of URLy Bird 1.1.3 public method in Data class
 
It's not a secret anymore!