This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: tx:All of URLy Bird 1.1.3 public method in Data class