Design Blues

Hi,
I need your help in design my college assignment.
Requirement:
There is a single instance of 'Result' class.
There are multiple instances of 'TestHeader' class.
There are multiple instances of 'TestBody' class.
There are multiple instances of 'TestCase' class.
Every instance of 'Testxxxx' class uses the Result object. i.e. instances of 'TestHeader', 'TestBody' and 'TestCase' classes populate the 'Result' instance.
Problem:
Result class has to be accessible to all the Testxxxx instances. I do not want it to pass 'Result' instance as the argument to Testxxxx instances. My query is what is the best approach to make 'Result' instance available to all Testxxxx instances.
Please guide.
Warm Regards and Thanks in advance.
Jay

How about using a Singleton pattern:
http://java.sun.com/developer/JDCTechTips/2006/tt0113.html
public class Result {
    private static final Result INSTANCE = new Result();
    private Result(){
    public static final Result getInstance() {
        return INSTANCE;
   //  other methods
public class TestBody {
    public void testBodyMethod(){
        Result result = Result.getInstance();
}

Similar Messages

  • Docments on BUSINESS BLUE PRINT Phase related to BW

    Hi BW Guru's
    I need docments on <b>BUSINESS BLUE PRINT Phase</b> <b>related to BW</b>
    What are the prerequisites that we need to know before going for Business Blue Print Phase.
    If you have documents mail me at [email protected]
    Thanks in Advance
    Thanks
    Bhima Chandra Sekhar G
    Message was edited by: Bhima Chandra Sekhar Guntla

    To,
    All concern about business blue print.
    There are four phases in project
    Project preparation
    Presentation of Enterprise Structure
    Creation of Business Process
    Prototype Presentation.
    When it comes to project first step is
    Project preparation.
    Blue print
    Realization
    Final Preparation
    Going live
    SAP early watch services/ solution Manager.
    we, will discuss specific to blueprint, the preparation is done of AS it is, and To be scenario. and based on the scenario Gap analysis is made, which is a critical factor in mapping process. Blue print is nothing but how we are going to map a organizational business process in a SAP system, and the detail documentation is called as blue print.
    The following activities are required along with creativity while designing blue prints, along with the coordination with steering committee.
    They are as follows.
     Project Scope and Detailed Plan
    Manage Project Scope
    Organizational Change Management (Blueprint Phase)
    Create and Implement Communication Plan
    Training and Documentation Plan (Blueprint Phase)
    Project Team Training
    Attend Solution Manager Training
    End User Training and Documentation Strategy
    Finalize End User Training and Documentation Plan
    Setup Development Environment
    Install Hardware and Verify the Technical Environment
    Install the SAP System Software
    Install and Configure Output Devices
    Configure and Set Up Remote Network Connection to SAP
    System Administration Procedures
    Establish and Verify Backup and Recovery Strategy & Procedures
    Establish Client Copy Procedures
    Establish Transport Procedures
    Establish Database Administration Procedures
    Business Process Blueprint  AS-IS and TO-BE
    Business Organization Structure Discussions & Approval
    Business Requirements & Process Workshops
    Clarify Deficient Areas
    Determine Need for Extended Functions
    Gap Analysis
    Requirements Reports , Interface, Forms, Conversion , enhancement
    Verify that Business Blueprint is Complete
    Conduct Business Blueprint Review and Sign-Off
    Development Procedures and Requirements
    Development Procedures
    Define Documentation Required from Developers
    Approval Process Between Development and Functional Teams
    Define Change Procedures for Use After Functional Approval
    Define Naming Standards
    Requirements Review and Development Approval
    Review Interface Requirements
    Review Conversion Requirements
    Review Enhancement Requirements
    Review Reports Requirements
    Review Forms Requirements
    Development Work Effort Analysis
    Estimate Development Work Effort
    Estimate Data Migration Effort
    Estimate Legacy Data Extraction for Possible Conversion Effort
    Review Development Requirements with Technical Team
    Development Team Setup
    Assign Development Team Members
    Define Coordination and Communication Strategy
    Review Development Support Requirements with Technical Team
    User Roles, Authorizations Requirements and Design
    Authorization Team and Requirements
    Establish Authorization Team
    Determine Scale and Scope of Authorization Requirements
    User Roles and Authorization Design
    Determine User Roles
    Refine User Roles
    Strategy for Master Data Management
    Review Master Data Requirements & Sources
    Determine required data not available in existing system
    Prepare Plan to Cleanup Existing Master Data
    Data Conversion Strategy
    Define Data Conversion Requirements
    Define Data Conversion Strategy
    Business Blueprint Review and Approval
    Sign Off Business Blueprint

  • Blue Ray problems

    Laste year i purchased a Pavillion H8-1350ea and only now for the first time am trying to play a Blue Ray disc. When I load the disc it tells me I need to update Cyberlink Power DVD but when I accept the update option it tells me there is a problem and windows closes me down.
    As a silver surfer I simply dont understand what is going on. I purchased this machine pas a high spec machine that would perform simple tasks such as playing a blue ray without any issues.
    As cyberlink was a preinstalled programme I am assuming that this should be the designated Blue Ray player.
    Can anyone please point me down the right track
    Thanks in anticipation

    BH was responding just as I was preparing my response.  If the update he gave you works, then it would be a better choice than the link I gave because the retail version of Cyberlink will cost you money.  Assuming the HP version can get the updated data needed to run the newer BluRays, it will work for awhile.  I suspect it will eventually require a paid update too.
    As far as the sound, it sound play through speakers.  The DVI cable is necessary for BluRay playback as VGA does not support the HD specs.  However, if the HDMI cable is used, then sound should be delivered via that to a TV.
    If there are other questions, please feel free to ask.
    {---------- Please click the "Thumbs Up" to say thanks for helping.
    Please click "Accept As Solution" if my help has solved your problem. ----------}
    This is a user supported forum. I am a volunteer and I do not work for HP.

  • Bought Mac Pro in San Francisco and I'm now located in remote area in China. Need to know does a Mac Pro 15 play Blue Ray Disc from History Channel. My unit rejects them.

    Bought a Mac Pro 15 in San Francisco, but I'm now located in a remote area of China. I would like to know if the Mac Pro 15 can play a commercially produced Blue Ray disc from the History Channel. My unit rejects them. Other disc by Pixar, Disney which are not designated Blue Ray work. I was told when I bought the Mac Pro it play

    No they don't unless You buy an external BD-burner with Playback program (if they ever exist).
    As it looks like Apple is leaving the DVD disk format too so Blu-Ray is not on the list as I read Mac Worlds and alike.
    I use a PlayStation 3 - and it works very well.
    Yours Bengt W

  • FM9 - RH8 wrong format import

    Hello,
    I have a big document in FM9 with hyperlinks. The hyperlinks are visible through a special character design (blue with underline). After importing in RH8 the text after the hyperlink until the next linebreak is also blue and underlined. Are there any known isues about that problem?
    Please see the pictures below:
    Design in FM9:
    http://img532.imageshack.us/img532/6295/hypertextfm9.jpg
    Design-view in RH8:
    http://img189.imageshack.us/img189/6991/hypertextrh8design.jpg
    Html-view in RH8:
    http://img689.imageshack.us/img689/7769/hypertextrh8html.jpg
    Sorry, but image uploading was not possible, so I used imageshack..
    Unfortunately I'm not familiar with html coding. But I would be happy if someone could help me!

    As a quick fix, highlight the text that should not be hyperlinked, right click on it and select Remove Hyperlink. You should be left with just the required text hyperlinked.
    Read the RoboColum(n) for a tips, tricks and musings on the Technical Communication Suite products.
    Follow the RoboColum(n) on Twitter

  • Menubar is green! - no mods - Help!

    I would gladly settle for "transparent" at this point! Apparently some obscure conflict or bug is making one of my Dual G5's "go green" in the menubar.
    Only on this one Dual G5 (and not on any of the other Leopard installs that I've done!) the menubar is a sickly green with tinges of blue regardless of the desktop background/design (for example, it remains green with a standard Apple greyscale background chosen). The lettering is standard and black, no problem there!
    I'm not running any mods, tho I briefly tried "opaquemenubar" today just to see if it would help, and it didn't; all it did was make that bar a slightly more obnoxious -- and solid! -- green
    To restate: it doesn't make any difference what desktop background I choose; the menubar stays green, black lettering. On all my Leopard Macs I've chosen one of the standard Apple desktop designs, blue-with-white-streaks. The upgrade was from 10.4.10. Green bar shows on ANY display that's connected (I use VGA, and the usual one operating on this machine is a DLP projector) but I've tried LCD's and CRTS just out of curiosity; no difference.
    Any thoughts? I'll be happy to post a "Grab" shot for anyone to take a look at the color if there might be a clue there.
    This is just an aesthetic situation; otherwise the machine works fine and I am VERY pleased with Leopard; far, far fewer bugs than I had expected for a new release! Very few caveats or reservations on my end -- except for the big wide Cloret across the top of my screen.
    Message was edited by: Steve Jolly

    The problem ultimately disappeared after I applied a "point" (not full-level) system upgrade in Leopard -- using the "repair permissions -> use combo upgrade installer -> repair permissions again" upgrade protocol. I speculate that the problem stemmed from an obscure software or preferences conflict with something that I haven't yet identified, but it eventually resolved itself after the upgrade and a few restarts. Go figure!!......

  • Web page trouble

    My wed pages are acting funny, not page design is showing up just basic buttons.
    For example, Facebook shows the words Facebook, Messages, Inbox, and post. no page design blue and black letters in list form.

    First, do not enable Java. It has nothing to do with your problem and will only expose you to risk for no reason.
    What you do need to enable is JavaScript. Do that in the Security tab of the Safari preferences window. Reload the page. If there's no change, continue as below.
    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the errant extension by uninstalling and reinstalling it. Its settings will revert to their defaults. If the extension still causes a problem, remove it permanently or refer to its developer for support.

  • Stock Video Footage to include my logo - intro/outro

    Hi,
    I am looking for a source file (premiere or after effects) to purchase that I can insert my logo (realize some mods necessary) for the intro and outro of the movie I am making... have tried istockvideo and a couple of the other major sites, looking for recommendations, what do you guys use??
    Thanks,
    Stefan J.
    Long Island Website Design
    Blue Barn Graphics

    Never tried it myself, but this one's on my list just in case.
    http://www.stockfootageforfree.com/

  • TS1702 I purchased an app from iTunes home design by blue lotus. It doesn't work. This was the first app I actually purchased. Needless to say I am very disappointed and reluctant to purchase any further apps. Can you help?

    I purchased my first app from the iTunes Store. Needless to say it was not a good experience. I purchased home design by blue lotus and it does nothing. It blinks on for a moment then shuts down. The response I received from apple was all sales final but you can contact the vendor. Does anyone know how to do that?

    Go to itunes store where you bought it, find the app, look at the page, ti will have the link to the app maker

  • Flash Builder Design Mode: sea of grey w/ blue boxes...why?

    Gentlepersons,
    I added various controls to a tiny test application's MXML file in Flash Builder (Gumbo)'s design mode, ran the app, and all was well.  Then I opened the file in design mode again, and all I could see was a sea of grey, with no controls visible. When I clicked on a control, a blue border would appear around it, but no other sign of the control was visible. I could drag new controls onto the sea of grey, but they were invisible too.
    I have attached a screen shot of the "sea of grey," named "SeaOfGrey.tiff".
    What the heck is this?  Is there some "sea of grey" mode that I accidentally got into?  How do I get out of it?
    Thanks!  :-)
    Jim

  • DW CC14 blue highlighting in Design view

    I'm building a site with the responsive workflow, and for each DIV in my layout, while editing, I get a light blue overlay. It doesn't go away while I'm typing or editing, and it's REALLY annoying. I mouse over a div, it turns blue, the whole time I'm editing pretty much.
    I can't find how to shut it, hopefully, off. Any ideas?

    I most certainly can NOT be the only one who is having a blue transparent overlay of every div in CC 2014. I have the most basic fresh install.
    I made a short video showing what I'm talking about. It's literally making dreamweaver a complete joke to me. I already dislike the new workflow, I can never find which rule is the right one to edit with the new CSS designer windows, but that's another story.
    DW - YouTube

  • Macbook pro (Blu-Ray) (price) (HDMI Port) (re-design) (macbook3D)

    Well I have used a Mac for 3 years and I loved it and now i'm using theMacBook white 2009
    I made 3 people swich to Mac and they eather loved it but there is something
    I have to tell you........
    1-we all know that windows people saying that the Mac Is so so so pricy and for me Idont like the prices and ithink there Is many of people said that to you (APPLE) so Idont know about It and I dont think that I will change the prices
    2-MacBook Pro in my option Its the best Mac (laptop) so far and I wanted to buy the MacBook Pro 2012 and I think that you should put a
    Blu-Ray Ilike the Blu-Ray so much so iwanted to have it on my Mac I dont know about the blu-ray but it will really support your
    Mac NoteBooks
    3-and for the HDMI Port (There is Apple tv you will say you dont need HDMI ports There is Apple tv) but there is alot of people that dont have that mony to buy the Apple tv I know Its for (99.99) but for some people thats pricy they wanna HDMI Cable So its much cheeper then the Apple tv
    Ilike the that wire for the HDMI but still wanna HDMI Port there is (70%) of people who want HDMI on Their Mac's
    4-Re-Design I love the Macbook Pro Design but still some thing missing there is some people dont like the Aluminum But lets face it (Girls) so they go for
    theMacBook White So i perfer that It should Be in a Black Aluminum it would be better in my option Because There is like (85%) of people who likes black
    5-3D every Mac has his own feature's like Macbook pro (Preformance) Macbook Air (Good looking) and for the Macbook White.......nothing i dont think thats APPLE so you have deleted the Macbook White  So i ahve a better idea for the Macbook White it will be Macbook 3D its like everybody likes 3D
    Because its 3D GEN so there will be (Preformance) (Good looking) and (3D) and that will be a big move it will be good
                                                     My name is (M-J-D) and thank you
                                                      i hope somebody from APPLE is reading this
                                                                        THANK YOU <3

    >3-and for the HDMI Port (There is Apple tv you will say you dont need HDMI ports There is Apple tv) but there > is alot of people that dont have that mony to buy the Apple tv I know Its for (99.99) but for some people >thats pricy they wanna HDMI Cable So its much cheeper then the Apple tv
    You can convert the Displayport to HDMI very easily with this adapter.
    >5-3D every Mac has his own feature's like Macbook pro (Preformance) Macbook Air (Good looking) and for the
    >Macbook White.......nothing i dont think thats APPLE so you have deleted the Macbook White  So i ahve a
    >better idea for the Macbook White it will be Macbook 3D its like everybody likes 3D
    I would not want 3-D to be the default option.  For one thing depth perception when there is no actual depth makes little sense.  I can just see a kid trying to open a file cabinet on screen only to break the LCD because they reached the LCD.  Think how you design it so there is no risk of damaging equipment.  And remember all ideas you give Apple are their's to keep.  If you have an original idea, consider patenting it yourself once you make a working model of how it is done.

  • Where i can find hp design jet 800 blue lever in dubai

    design jet 800
    Blue Lever
    where i can find hp design jet 800 blue lever in dubai

    This seems to be a commercial product. For the best chance at finding a solution I would suggest posting in the forum for HP Business Support!
    You can find the Commercial Designjet board here:
    http://h30499.www3.hp.com/t5/Printers-Designjet-Large-Format/bd-p/bsc-414
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Will there EVER be a usable Blu-ray designing software on the Mac??????

    I am SOOOO frustrated right now. I have a brand new Mac with FCP 7. I also have Adobe Encore. I also have Toast. I have been trying to use all three to make one BRD for 6 days! I first used Encore. The disk it made was all messed up (nothing new). The menu loads up, but the buttons won't highlight for about 45 seconds. Click on a button, and instead of going to the video, it starts the menu again. I assume it's me, so I open Encore and test there, everything works fine. I burn again, same problem.
    I then decide it isn't worth fighting, so I try burning a Blu-ray from FCP7. I open the share menu, choose one of the awful built-in menus, and set it to go. I had it burn the BRD image to a harddrive, as my burner is on a different machine. After 12 hours!!!!! yes, 12 hours! I get an error saying the DSPPublishing didn't work (?????????). I hit try again, and a 10 minutes later, same issue! I hit cancel. I check the drive, and there is a .264 file and an ac3. I think, well, at least the video encoding is done. I try to make a blu-ray from FCP again, and it re-encodes the video!!!! 12 hours later, same error!!!!!!!!!
    I decide to bring the finished files into Toast. The menus SUCK. The chapter markers? GONE. I try burning the disk anyway and it tries re-encoding the video files!! I go back and make sure it's set to 264, and the re-encoding is set to never. I try again, and it tries to re-encode the video again anyway!!!!
    THIS *****!

    Let me clarify a bit. I have been making Blu-rays for quite a while using Encore. And while the process has often been very painful, the results are good. I normally Export first as mentioned. However when Encore failed (and I still can't figure out why), I tried FCPs Blu-ray feature. So essentially, I have exported this three different times, and have no disks to show for it.
    As for Encore, I like that you can make BRDs, that you can customize menus, etc. However, the fact that it locks up or crashes all the time is infuriating. The fact that you cant use multiple clips without causing the BRD to freeze at the end of each clip is maddening, and the fact that its interface has the speed of running a 3D rendering program on a Commodore 64 is nauseating.
    Encore COULD be a great product, but as it stands, it is a nightmare to use!

  • Help! Design loads blue and purple over every color in cs5 Photoshop

    Issue just started a couple of weeks ago.
    Step Done:
    1. Changed Profile Setting
    2. Deleted Preferences
    Design file works on test laptops.

    So it is just this file, or are other sRGB files displaying this color cast in this PC using CS5?
    I'd like to check two things:
    normfb has great advice about turning off (unchecking) the GPU under Photoshop's Performance > Preferences.
    We want to rule out the graphics card.  So let's see if it makes a difference.
    Also check your Graphics card maker website for driver updates for your particular model. Outdated drivers are a common problem.
    It could also be a corrupt Monitor Profile, so rule it out following these directions.:
    On a Windows computer, try going to Control Panels> Color Management and setting the monitor profile to sRGB IEC61966-2.1 (sRGB) — Windows 8, Windows XP, Windows Vista, Windows 7 will likely have similar control panels to set the default monitor profile here.
    Let me know what works.

Maybe you are looking for

  • Can't get Epson NX510 to work with new iMac

    I am new to Mac, and I apologize if this is the wrong forum to this question, but... Apple threw in an NX510 scanner/printer/copy/fax when I bought my new iMac a couple of months ago. Printer/copy functions works great. But I cannot get the scanner f

  • How to know if an Infobject is used in any query

    Hi!!! can somebody tell me how can i understand  ( by technical name ) if an infoobject is used in any query ...in every mode: as a basic infoobject or in a structure of query or to build a restrected keyfigure or to build a rcalculated keyfigure. ta

  • Problems with Parallels

    The upgrade is working ok... for the first day, Parallels was fine (ok, 1 crash). Now, I can't open it! What do I do? Lindsay

  • Repeating frame not appearing

    Hi, I have created a report. I placed some labels and fields on the repeating frame. For that repeating frame i have assigned one group. If the group (query ) results in records it is displaying fine. But when it results zero records the whole repeat

  • Migrating from MAC to PC

    How can I transfer my MAC itunes library to a PC?