Create a standard set of options and answers

Hi
I have two classes, I call Class 2 from Class 1 and then I can get some data which has been set in Class 2.
I need to set a standard of answers that can be returned, that can be used in all my classes.
For example
public String getStatus(){return dialogStatus;}I call getStatus from Class 1. It returns something like READY or NULL
To make it easier to maintain, I require a way to create these answers that can be used in all my classes to set a standard.
I am not sure what to even call this type of programming, let alone know where to start.

Sound to me that you could create an answer class all of its own.
This class can then act as a broker for calls to various answering objects. This would give you a single point of access to achieve the standards you want to maintain. However, if the scale of your system is very large, then the responses (or even object instances) may be best held in a database.
However, as the other answerer says.
We are a bit short of information here.

Similar Messages

  • Create a new set of skin and style for OC4J

    hi, I have created a new set of skin and style
    for example,
    just duplicated folders s_oracle10 , sk_oracle10 and rename them as s_oracle10b , sk_oracle10b (in \OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res)
    however, I found that there is no new choice - oracle10b in the dropdownlist for selecting style.
    how to create a new set of skin and style ??

    I have read Oracle® Business Intelligence Suite Enterprise Edition Release Notes Version 10.1.3.4.1 E10404-25
    =====================================================================
    In Chapter 10, the section "About Skins and Styles" contains incomplete
    information. The following information should appear after the section's first
    paragraph:
    Respective Web servers require resource files like styles to be deployed
    appropriately for those applications. For example, when using OC4J as is common
    in Oracle BI deployments, skins, styles and images need to be duplicated in the
    following directories:
    – {OracleBI}\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    – {OracleBI}\web\app\res
    As a rule, customer-specific files like custom styles should live in the
    {OracleBIData} folders so these are not lost during upgrades. In this case, the
    custom style would then be deployed to OC4J as described above and to the
    following directory: {OracleBIData}\web\res
    ===================================================================== copied from the pdf
    we need to copy the new set to two directories.
    however, I found that resources of the new set are from {OracleBI}\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    not from {OracleBI}\web\app\res
    if there is a upgrade or redeployment, will the new set be removed or replaced.
    why isn't load from {OracleBI}\web\app\res?
    how to configure to make it load from {OracleBI}\web\app\res?
    thanks

  • Set up options and Exporting Z1 footage

    Hi
    I've been asked to help my friend out with a project that he's filming on a Z1.
    I haven't used FC for a while so I'm a bit rusty! What set up options should I use to start the project, and which options are best to export the finished project?
    Thanks

    Thanks for the advice.
    I finally got my footage today. I tried to log and capture the footage from a tape reader with the HDV 1080i50 Easy Setup preset, but the screen was blank. I could see the footage on the tape reader screen but not in Final Cut.
    I tried using different fire wires and different MACS but still no joy. As a final resort I tried a different MAC without changing the Easy Setup and leaving the project on the DV Pal preset, and it worked.
    Any suggestions as to what I'm doing wrong? If I captured the project using the DV Pal preset, wouldn't the footage be overly-compressed? Or Am I thinking about this all wrong? The footage is definitely HDV!
    And while I'm here does anyone know of any material that I could 'study' to help me understand the setups/compressions etc. I find it really confusing!
    Thanks again
    Ian

  • How do I import my folders of bookmarks created on a Dell laptop to an Apple iMac and clean up the mess I've created trying to create a new set of folders and bookmarks on the iMac?

    I have been unable to find and import from the version of Firefox on my Dell laptop to an Apple iMac the folders containing bookmarked website addresses. In the process, I've created a mishmash of unwanted bookmarks. Please provide me a step by step process to import the folders to the version of Firefox on the iMac. The process to accomplish this seems very awkward and counter-intuitive. The same goes for creating new folders and bookmarking website addresses to those folders on the version of Firefox installed on the iMac.

    Chris,
    Thanks for the tip about the Firefox Sync feature. A friend and I managed to use the Sync feature to "transfer" the folders of Bookmarked website addresses from the Dell to the iMac. We found that shutting off and rebooting the receiving iMac computer was necessary for all the folders to transfer over. Also, the entire process would have gone more smoothly had we had separate internet connections for the two computers, but we managed to shift our single internet connection between the computers as the Sync process progressed through its steps. Definitely a learning process.
    Thanks,
    Charlie

  • Creating a Standard Build

    Hi
    I'm trying to set up what we call a "standard build source" for Mac OS X and I'm not sure entirely how to go about it (specifically, the best/easiest way to do it...).
    What I currently have, is an area on a server which we use to store our configuration files. Any changes to config files throughout our systems are made to these files, not on the hosts themselves (this all uses revision control as well). We then rsync the file(s) out to the destination host where they take effect. This is particularly useful for files like /etc/group, /etc/smb.conf and so forth...
    When a new server is installed, we can usually rsync out a standard set of files, and the server is up and running in no time. It also has the advantage that if something goes wrong on a particular machines config file, we can always sync out a known good copy from our "source area".
    This currently exists for a series of RedHat and Solaris machines.
    I now need to make this happen for a series of Mac OS X Server hosts.
    Since much of the Mac OS doesn't use the standard unix config files, this isn't a straightforward as I'd hoped. Does anyone have any experience with this kind of a setup, or a better solution?

    You can use Server Admin to drag known, working good configurations beween servers.
    Within Server Admin, the 'settings' pane for each service has a small icon on the lower right which can be dragged between servers to quickly copy the settigns. You can also drag to the desktop to make a backup of the plist for the settings.
    hth,
    b.

  • To restrict the user to create only Standard quotation in PCUI

    Dear All,
    Please help me in this issue.
    We have requirement like below:
    In SAP GUI user is authorized to create 3 kinds of quotation:
    1. Standard quotation
    2. Estimate Quotation
    3. Quotation OCM.
    It is maintained properly in authorization profile for his role.
    Now requirement is that user should able to create only Standard Quotation in PCUI and others should not be visible.
    Regards
    Pankaj Vispute

    Hi,
              check this MBCF0005.
    EXIT_SAPM07DR_001.
    BADI being <b>MB_MIGO_BADI.</b>
    <b>Reward points</b>
    Regads

  • HT5624 Sir, I have my id and pass but I can't change or edit my secret question and answer B'coz when I creat my id I didn't entered 2nd mail option that's why I forget my info about secret question . Naw I want to reset my secret question and answer,plz

    Sir, I have my id and pass but I can't change or edit my secret question and answer B'coz when I creat my id I didn't entered 2nd mail option that's why I forget my info about secret question . Naw I want to reset my secret question and answer,plz help me out

    You need to contact Apple to fix this. Pick your country here:
    http://support.apple.com/kb/HT5699?viewlocale=en_US

  • Can´t be created the Standard out and Standard error on weblogic 6.1 SP3

    Hello there,
    I have installed weblogic 6.1 SP3 like admin console and the servers are 6.1 SP7 on windows2000 and I want create the standard out and standard error with the next options:
    -Dweblogic.Stdout=log_name.txt
    -Dweblogic.Stderr=log_name.txt
    I set these options on the register windows server(in command line)but when I restart the service the logs can´t be generated.
    I need help, thank you.
    Maria

    Hello there,
    I have installed weblogic 6.1 SP3 like admin console and the servers are 6.1 SP7 on windows2000 and I want create the standard out and standard error with the next options:
    -Dweblogic.Stdout=log_name.txt
    -Dweblogic.Stderr=log_name.txt
    I set these options on the register windows server(in command line)but when I restart the service the logs can´t be generated.
    I need help, thank you.
    Maria

  • My problem is very simple......firefox wont allow me save my downloads to any other location than my c drive....for example i have gone into options and set sav

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/986549 /questions/986549]''
    my problem is very simple......firefox wont allow me save my downloads to any other location than my c drive....for example i have gone into options and set save downloads to my e drive....but still firefox keeps saving them to my c drive....i have 4 internal hard drives in my rig....and have tried saving downloads to them all.......why this is happening i cant understand....i have tried lots of suggestions....and have re-installed firefox multiple times

    hello, there's a general regression in firefox 27 that won't allow files to download directly into a root drive. please try to create a subfolder (like ''E:\Downloads'') and set this as default location for downloads...
    also see [https://bugzilla.mozilla.org/show_bug.cgi?id=958899 bug #958899].

  • Recording a DVD with LG DVD Recorder and FIOS Standard Set Top Box

    I have FIOS Standard Set Top Box, a Sony TV, and an LG DVD Recorder. I cannot figure out how to record a TV program on my LG DVD Recorder. I have 3 remotes: a FIOS Remote, an LG DVD Recorder Remote and a Sony TV Remote. What remote/s should I use, and in what order?  Thanks.

    1) Connect coax (cable) wire from the wall to the RF input on the back of the STB.
    2) Connect coax (cable) from the cable out (might say "to TV/VCR") on the back to the STB to the cable in on the back of the TV.
    3) Connect composite (red, yellow, white) wires from the back of the STB to the input of the DVD player.
    4) Connect composite (red, yellow, white) wires from the back of the DVD player to the back of the TV.
    Let me know if any of those aren't possible based on your equipment. The SD STB (QIP 2500) has very few outputs so there are not a lot of options for a setup like this).
    In order to record a program, you will have to do the following:
    -Set the STB to whatever channel you want to record and keep it on. You will not be able to change the channel, because the DVD player will be recording whatever the STB outputs (the same feed the TV gets). With FiOS, it is not possible to have a DVD do the tuning for you, because it is an all-digital signal and most DVD players can only tune to analog chs 1-99.
    -Set the DVD player channel to "input" or something of the like. This will get your DVD player to show the signal from the STB.
    -Set your TV channel to composite input. This will show you whatever the DVD player is getting from the STB.
    -If you want to watch normal TV without the DVD player, you can turn your TV to Ch. 3 or 4 and get the feed from the STB without having to turn on your DVD player.

  • Help Incomplete Time Machine Backup and I can't set ownership options

    Two days ago my iMac HD stopped working and I decided it was time to upgrade my machine so I purchased a new iMac with Mavericks installed. I seem to only have a partial Time Machine Backup located on my NAS drive, so I read various threads about how to manually retrieve files from the .inprogress file. I was able to browse the package contents and when I navigated to Macintosh HD the folder was greyed out and when I attempt to open the folder it looks empty. When I select get info the Macintosh HD folder shows almost 80GB and over 160,000 files inside. I tried copying the folder onto the desktop which failed and also onto an external drive formatted the same way as the NAS - Mac OS Extended (Journaled, Case Sensitive). Everytime I try it says something along the lines of me not having the ownership rights to copy the file over.
    I tried going to the NAS drive and the mounted sparsefile and couldn't figure out how to get the ignore ownership on this volume option. When I go to Disk Utility it says Owners Enabled Yes, I can't figure out how to turn that off to let me copy the file over. I tried some recommendations about creating an Alias to Macintosh HD and also setting up Automator actions Get Selected Finder Items > Get Folder Contents > Open Finder Items > Copy Finder Items (to desktop or external drive) both of these failed.
    I also don't understand why I can't view the files inside the greyed out Macintosh HD as get info shows many files inside. The sharing and permissions already says everyone can read. Is there anyway I can recover some of the files? It would be so great!
    Thanks for helping me.

    I solved the problem and I hope this solution can help others with incomplete Time Machine Backups.
    1. I made sure hidden files were shown by pasting the following line into Terminal:
    defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
    2. On NAS drive I have a folder called Time Machine Backup and inside that folder it lists the different users with Time Machine Backups. I double clicked the user with the incomplete time machine backup to mount it.
    3. Once mounted there should be a folder called backups.backupdb > machine name > dateandtime.inprogress. I right click that .inprogress file and selected show package contents. This lead to another folder randomly named with numbers and text. Inside that folder you should see a greyed out Macintosh HD folder. The date of the greyed out Macintosh HD folder might read something like January 24th, 1984. This appears to be the date that the Macintosh 128k was first introduced. I read on another thread that the creation date of the folder is incorrectly set after a crash resulting in the greyed out folder.
    4. Due to the NAS having ownership issues I was not able to drag either the greyed out Macintosh HD or the folder above it to an external drive or the desktop of my new computer. Automator didn't work either. Here is what did work: I trashed the folder with the greyed out Macintosh HD inside from the NAS and dragged it from the trash onto my desktop. The move took a few hours to complete and the files were now all successfully on the new computer.
    5. Once on the desktop the Macintosh HD folder was still greyed out. The solution was to select in the finder: View > Show Path Bar, then search for any file you remember inside your backup. For example I searched the word download and files inside the greyed out Macintosh HD folder showed up. Left clicking the file confirmed the path, that it was from the greyed out Macintosh HD folder. Now you can simply right click one of the folders in the Path Bar and open in new tab if you have Mavericks. I still couldn't directly open the Macintosh HD folder in a new tab, but I could open any of the subfolders inside in a new tab, including the users which lets you access all the backup files. I tested in Mountain Lion that you can also choose Open in Enclosing Folder by right clicking the file that you searched for or right clicking the folder in the bottom of the Path Bar.
    6. Once I was done organizing backup files, I turned off hidden files by pasting this line into Terminal:
    defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder
    This took me days to figure out how to make use of an .inprogress file and greyed out Macintosh HD folder.
    Hope this helps!!!

  • I noticed when I restart Firefox 4, it opens my previous tabs even I set the option "Open a blank page" and it opens blank page when I have "Show my windows and tabs from last time". Please ignore my question if you're already aware of this issue. Thanks.

    I noticed when I restart Firefox 4, it opens my previous tabs even I set the option "Open a blank page" and it opens blank page when I have "Show my windows and tabs from last time". Please ignore my question if you're already aware of this issue. Thanks.

    Your previous tabs will not re-open or be available to re-open when starting Firefox if:
    *your previous session was in Private Browsing mode; see --> http://support.mozilla.org/en-US/kb/Private+Browsing
    *you use Clear Recent History (''Firefox button > History > Clear Recent History'' or ''Tools > Clear Recent History''); see --> https://support.mozilla.org/en-US/kb/Clear%20Recent%20History#w_how-do-i-clear-my-history
    *you clear History automatically when closing Firefox; see --> https://support.mozilla.org/en-US/kb/Clear%20Recent%20History#w_how-do-i-make-firefox-clear-my-history-automatically
    NOTE: Your third-party Plugins (Add-ons > Plugins) are not in the "Application Basics" (Troubleshooting Information) in the "More system details" of your original post. Third-party Plugins are categorized separately in "Installed Plugins" under "More system details". You should review but not change the Plugins as detected automatically by the software on this forum when posting a question.
    If you problem still exists after checking the above, the problem could be caused by one or more of your Extensions or Plugins:
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    *See --> [http://support.mozilla.org/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Somebody has created an apple id using my gmail id. So I gave forgot password option and reset the password of the id. But for resetting the security questions, link is going to some other email id which is created by the other guy.How can I resolve this?

    When I tried to create and apple id using my gmail account i found that somebody has already created an apple id using my gmail id. So I gave forgot password option and reset the password of the id. But for resetting the security questions, link is going to some other email id which is created by the other guy. Now the problem is that the other guy also can reset my password and access my account.
    I contacted apple customer care and they are not ready to help me saying that I need to give information about the last device I logged in using this id. How can I give it when I did not create it?:) Also they are saying this account has been verified and that could happen only if someone has hacked my gmail account and verified the id using the link sent by apple.
    Later I did some experiments and found that this is a security flaw from apple. Somebody has created the id and never used it(I tried to loggin to icloud and it was saying this account was not used it any apple device). The account became verified when I reset the password.(This is a bug, account should be verified only when we click on the verification link sent by apple).
    The other mistake apple did is that they allotted my gmail account to someone before it's verified eventhough it cannot be used unless verified. Actually apple should allot the account id only after verifying the email address.
    Apple customer care is not ready to help and I am tired of fighting with them. Can any of you guys suggest any means of getting back my gmail id to use it as apple id?

    I don't think you're going to be able to. I would guess the other person used your address by accident, and when he found he couldn't access the account (because you'd changed the password) he abandoned it. Your GMail address is now locked to that account and even if it was changed you can't use it to create another.
    You already have an Apple ID, which you use to log in here; you can use that to create an iCloud account if that's what you are trying to do. If you want to create a different Apple ID just get another free address such as a Yahoo one.

  • HT4623 I have an ipad 2 on ops 4.3 and have just updated to 7.1 via itunes. I backed up first and have synced repeatedly but keep getting a message on my ipdad screen that the ipad is not set up - I chose the set up option restore from itunes back up

    I have an ipad 2 on ops 4.3 and have just updated to 7.1 via itunes. I backed up first and have synced repeatedly but keep getting a message on my ipdad screen that the ipad is not set up - I chose the set up option restore from itunes back up

    To free up hard drive space the best bet is to move data files that you don't need access to all the time. Likely candidates are music, video, and photos. Things like word processing and spreadsheet files can also be moved but they tend not to be very large and so don't free up much space. The problem with moving the above mentioned files is that iTunes and iPhoto need to know where the files are stored.
    Here's an article explaining how to move the iTunes folder. You can move the iPhoto library using the Finder but there is a slight complication. Start iPhoto, open the Preferences and click on the Advanced tab. The first option is "Copy items to the iPhoto Library". If this option is checked, copy the iPhoto library to your external folder (drag it from the Pictures folder to your external drive) and then delete it from your Picture folder. If this option is not checked, it is a bit more complicated and we'll need to talk a bit.

  • I've had this iPad computer thing for a few months now. I used to just put in my password when I downloaded an app or such like. Now it wants me to set up 4 further questions and answers "for added security". How can I return to the old system?

    I've had this iPad thing for a few months. It used to just ask me for my password, but now it is demanding I set up four questions and answers for
    "added security". I don't want to do that, I just want to carry on as I was but the machine is preventing any app downloads etc.
    Seems the stupid machine is in control.
    How do I get it to listen when I threaten it with a good thrashing and a one way trip to the garbage unless it does what I say?
    Thanks

    Chick3597 wrote:
    Regardless of apple updating something or another. I have no need for the additional questions and really don't want to allow them to bully me into compliance.
    You may have no need for additional but Apple does. They don't want your iTunes account to be hacked and then go complaining to them that their security procedures are not up to standards.
    Chick3597 wrote:
    So how can I continue in the good old fashioned way?
    Its really absurd to even ask this in light of the information that you have been given already. The "old fashioned" way is gone. It's Apple's store, Apples's rules and IMO - its a wise decision on Apple's part.
    You do not have to comply at all, but you will not be able to purchase from iTunes anymore, but nobody is going to force you to do something that you do not want to do.

Maybe you are looking for