Java language enhancement for method and field

similar to the way FooClass.class works in the language, i would like to see the following code constructs also supported by the java language:
[FooClass.]someMethod.method
[FooClass.]someField.field
i thought i had read that something like this was coming in se 7, but i can't seem to find the "what's new in se 7" page. can anyone direct me to it?
shackman01

I haven't read anything about that, at all. but I hope it comes to be

Similar Messages

  • How to Use the language function for assignment and validation

    Hi All,
    If anyone can explain me in details with example ,how to use the language function for assignments and validations?
    Thanks
    Arnab

    Hi Arnab,
    The expression is checked only for the current MDM session.
    If u login with the ABC language it will always show the ABC language no matter how many times u execute it.
    Try connecting to the DM with the XYZ language.
    It should go to the if part rather than else.
    Hope it helps.
    Thanks,
    Minaz

  • Dynamic Page Rendering (based on the difinition for labels and field setup)

    We have a requirement to display pages dynamically based on the setup or configuration for labels and fields.
    1. For example (the display page will look like):
    Company Name: -------------------------
    DB No:
    2. Setup for this will be in a UI (saved to the database):
    Page Seq Label Field type size
    1 1 Company Name comp_nm text char(50)
    1 2 DB No db_no number
    The pages will be rendered through the database procedure for the above.
    Thanks in advance for help.

    Hi Timo
    JDEV Version: Studio Edition Version 11.1.2.2.0
    I mean the definitions for the page like labels, text fields will be setup as this page will change as per the business requirements.
    We are open to sql or xml if the db procedure will not work.
    The objective is to give the business user to add anything to the page (for example, we have a lot of questions which changes in time due to specific business needs), so that the user can add a question or disable one based on the need.
    Hope if clarifies.
    Thanks
    Bibs

  • Language codes for 'english' and 'english-2' must differ?

    I am trying to build my project but as I do I get the following pop up: Compiler: Language codes for 'english' and 'english-2' must differ. What do I need to change?

    You have added a language to your project which you don't need. Look in the outline view at the bottom for the folder called langauges, then delete the second one. Both will be English and this cannot be the case on a DVD - the player will not know which assets to use on a menu if there are two langauges the same.
    The languages are used when you want to create a disc that will display the correct menu backgrounds when used in players in different countries - the DVD player settings will have a language set up, and the DVD will use the appropriate language files to construct the menus accordingly.

  • Language codecs for english and english-2 must differ

    am using dvd pro 4,on os 10.4 and I need to build the project for burn but I get this message "language codecs for english and english-2 must differ" can somebody help. thank you

    You've added another language to the project by mistake. Go to the Outline Tab in the languages section and delete english-2 entry or change it another language,
    -Jake

  • How to find SAP  java realted roles for ABAP and Basis

    Hi Gurus,
    I am new in SAP Security First week, I got the assignment to find the SAP Roles and Trans for ABAP and Basis in all Systems like Ecc, BI, ......
    I use SE16 ->AGR_TCODES then SAP* in Table Name it give me all SAP Roles and Trans.
    Pls help me to get only SAP Java and Basis roles and Trans Seperately
    Thanks

    Hi,
    Are you speaking about the standrad SAP roles? If yes, you can have a look at BC and ABAP roles. However, if your question is about the created roles, you should see the convention that was followed in your organization to identify the roles.
    Rgds,
    Raghu Boddu

  • Regional and Language Settings for Window and BEX Style

    Hi All,
    When I change the Regional and Language Settings for Windows, Standards and Formats value to English (USA) the standard Style for BEX is active. For instance, input-ready cell is bordered with blue. But when I switch to Turkish this style is not active.
    Additionally, I have to change Style for each Workbook one by one. How can we adopt a style to every workbook.
    Regards,

    Lars,
    This is a setting on the 'Defaults' tab in the User Profile. This can be set when a new user is set-up in SU01, or it can be changed by each user according to personal preference in SU3. I'm sure there is a system table where these settings are stored that could probably be edited for all users, if that is desired, but I don't know which table that would be off the top of my head.
    Hope this helps...
    Bob

  • OO: translation of explanatory texts for methods and parameters

    Hi multilanguage community,
    in class builder, we can give explanatory texts for methods, parameters, attributes and so on.
    When I GOTO TRANSLATION, only text elements are given for translation.
    How to translate the rest?
    TIA,
    Clemens

    Hi Jörn,
    sorry, we have SAP ECC 6.0 SE63 Menu path Tramslation -> ABAP Objects -> Short text. A popup comes up for selection:
    Object Type Selection
        A1 Application Texts
        KP Knowledge Provider
        OT OTR
        S1 Partial Delivery 1
        S2 Partial Delivery 2
        S3 ABAP Texts
        S4 Repository Texts
        S5 Other Interface Texts
        S6 Technical Short Texts
        S7 Local Object Types
        S8 HR Texts
    Where to go from here?
    Thanks.
    Clemens

  • Enhancement for ME21N and ME22N

    Hi Expert,
    I need to change the delivery priority in STO, according to the data entered in the header(EKKO). But i am not able to find an exit or BAdi which is having the parameter delivery priority. The table and field names: ( EKPV LPRIO).
    In case anybody working similar requirements please let me know.
    Thanks and Regards
    Joby Jacob

    in method Post you can do this stuff like that
      DATA: ls_mepo TYPE mepoitem,
            ls_items TYPE purchase_order_item,
            lt_items TYPE purchase_order_items.
    lt_items = go_header->get_items( ).
      LOOP AT lt_items INTO ls_items.
        ls_mepo = ls_items-item->get_shipping_data( ).
    then set_shipping_data...
      ENDLOOP.

  • Enhancement for QA02 and QA01.

    Hi experts,
      I have req like In QA02 i ahv eto validate for the field PSTER..(Planned startdate in the tab Immediate tasks) it should not be gretaer than LTRMN( Request end date in the Notification details)..if yes..then i have to raise error message..but current program showing information message l..(THis is std program)
    Include is LIQS0I10---> LIne no 1248...
    IF NOT VIQMSM-PETER IS INITIAL.
        IF NOT VIQMEL-LTRMN IS INITIAL.
          IF VIQMSM-PETER GT VIQMEL-LTRMN.
    *--- Maßnahmenende hinter Meldungsende
            MESSAGE I507.
          ENDIF.
        ENDIF.
    How to cahge thsi mesage as error mesg? can any body plzz help me...
    Moderator message: please use the spell checker, do not use SMS speak.
    Edited by: Thomas Zloch on Jan 5, 2011 12:37 PM

    Hi Veena,
    Below are the user exits for Tcode QA01.
    Exit Name           Description
    QAAT0001            Inspection type determination different from variant 01
    QAAT0002            Control of acceptance lots/goods receipt
    QLCO0002            QM: Recording of appraisal costs: Presetting of conf. data
    QPL10001            QM: Inspection lot creation - editing work area on creation
    QPL10003            Sample calculation for inspection lot without plan
    QPL10004            User subscreen for displaying additional data in insp. lot
    QPL10007            QM: Inspection lot creation - change QM order type
    I am assuming that it is
    Enhancement : QPL10001
    FM : EXIT_SAPLQPL1_002
    FIeld : I_QALS-PASTRTERM
    Regards,
    Jovito

  • Enhancement for Installation  and Move-In

    Hi experts
    i want to add field at installation and move-in screen .
    How i can do this , i think no BDT available for these.
    Pls Reply ASAP.
    Thanx

    Hi,
    For Installation ,you have the following exits
    Exit Name           Description
    ECIIFLOT            IS-U: cust. include for conn. obj. and device loc. CI_IFLOT
    ECONNOBJ        IS-U: duplicate check for connection object
    ECSMA001         Loyalty Account: Subscreen Integration and Field Checks
    ECSMA002         IS-U:  Redemption: Subscreen Integration and Field Checks
    EMDI0001           IS-U: Installation - subscreen integration and field check
    EMDK0001          IS-U: contract - subscreen integration and field check
    EMDP0001          IS-U: premise - subscreen integration and field check
    ES550001            IS-U: connection obj. - subscreen integr. and field check
    ES650001            IS-U: device loc. - subscreen integration and field check
    For move in
    Exit Name           Description
    EC500001            IS-U: move-in: determ. of security deposit amount and reason
    EC500002            IS-U: move-in: data environment check upon entry
    ECSBT001            User-Defined Messages in Information Log
    ECSBTI01            IS-U: move-in: determination of application form
    ECSBTI02            IS-U: move-in: determination of budget billing amount
    ECSBTI03            IS-U move-in: customer-defined checks
    ECSBTI04            IS-U: move-in: determination of transfer contract
    ECSBTIO1            Default value for field for move-in/out (EC60)
    ECSBTMR1            Preassign indicator for creating service notification/order
    ECSBTO01            IS-U: move-out: determine default values
    ECSBTO02            IS-U Move-Out: User-Defined Checks
    Edited by: SivaKumar on Jun 16, 2009 12:28 PM

  • How to fix enhancements for speakers and headphones IDT high definition audio CODEC

    I received a Windows message indicating "Windows has detected enhancements for the following are causing problems. Speakers & Headphones IDT High Definition Audeo CODEC.
    How can I correct this?
    fasteddie0717

    Did you install a third party CODEC?
    ****Please click on Accept As Solution if a suggestion solves your problem. That will help another person facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Parsing XML with Java - seeking advice for method to pursue

    Hi guys
    So here's the deal: I want to parse some XML from a server, get all the data I need from it, then shunt that data to the classes that need it. However, I'm really not sure what the best way of parsing the XML is.
    I've just written a class for obtaining the file, and one for building a DOM from the XML file. But looking at org.w3c.dom in the Java API documentation (see HERE) I'll have to implement shedloads of interfaces to be able to take advantage of the DOM, and I don't even know a lot about it.
    So am I best just writing a simple parser based on regular expressions to get the data I want? There's about 5 attributes in the XML file that I need to get - 5 for each instance of the containing element. So I don't think it'll be hard to do with regular expressions.. plus even if I did decide to implement all the DOM interfaces, the only way I'd know how to do half the stuff is with regular expressions anyway. I mean, how else would you do it? How else could you match up Nodes according to the Strings you're using for the elements, attributes etc?
    I worry that a parser using regular expressions might be too slow... I'm building this as an applet to visually display information from the server. I have nothing to support those fears, I'm just not experienced enough to know whether speed would be a problem if I chose this route... I don't think it would, but really need confirmation of that suspicion being unfounded.
    Any advice would be very, very welcome, as I'm tearing my hair out at the moment, unsure what to do.

    Komodo wrote:But JDOM is not in the core class libraries, is it? So if I want to create an applet embedded into a website, am I able to get people to download that as well?
    Sorry, I don't know anything about applets.
    Komodo wrote:Everyone's advice is appreciated, but my core question remains unanswered - would using regular expressions, considering how simple and unchanging the XML files are, be a viable option in terms of speed?
    Yes! I've done more than my fair share of XML processing with REs. It's not always easy. I often wish I could just use something XPath-like. But it's certainly easy to do and would probably mean that you'd have something up and running quicker than if you spent time investigating pure XML parsing approaches.

  • Multi language support for reports and prompts labels

    Is there a way to configure reports prompts labels with session\presentation variables,
    in order to support multi language interface?

    Deepak,
    It works fine..i have tested.
    Nir,
    Here is the solution for your requirement
    Requirement1
    I want to label the listbox with X, where X is either 'Categories' or 'Products'.1.In your rpd, create a new session variable init block
    Name : DynamicName
    Query: select case when ':USER' = 'USER1' then 'REGION1' else
    CASE WHEN ':USER' = 'USER2' THEN 'REGION2' end end from dual
    Assign the above query’s result to a session variable; DISP_NAME
    2.Double click on the presentation column(in presentation layer) that is supposed to change dynamically->check the box ”Custom Display Name” -> Type in VALUEOF(NQ_SESSION. DISP_NAME)
    3.With the assumption that you already have created a prompt with the above column, login as USER1, you will see the prompt label as 'REGION1' (value is fetched from the session block query).Similarly login as ‘USER2’ and check the prompt label to show 'REGION2'
    This solves the first requirement.
    Requirement2
    On the dashboard I would like to present the title: 'Report by X', where X is either 'Categories' or 'Products'.1.Navigate to your report in answers
    2.Add a column with the formula, case when VALUEOF(NQ_SESSION.USER)='USER1' THEN 'Report by Categories' when VALUEOF(NQ_SESSION.USER)='USER2' THEN 'Report by Product' else 'Your custom/default title’ end
    3.Add a narrative view to the report (remove the existing title view) and the give the reference as the column added in step 2.Save the report.
    4.Logout and login as USER1, you can see the report title as 'Report by Categories' and for USER2 , it will be 'Report by Product'
    Let me know if this solves your issue.
    Rgds,
    Dpka

  • Where to increase Java Heap settings for Admin and Managed Server.

    Hello Experts
    I am having issue with increasing the JVM memory arguments for the Admin and Managed Servers. I have tried in a couple of places to increase the memory arguments (Xms and Xmx to 1024m)but its not taking effect. When I start the Admin Server and Managed server , I do not see the increased Heap settings. Here is what I see -
    "Starting WLS with line : /oracle/app/bi/Oracle_BI1/jdk/java -server - Xms256m -Xmx512m -XX:MaxPermSize=512m"
    I have the following memory arguments in the setDomainEnv.sh located in <DOMAIN_HOME>/bin
    XMS_SUN_64BIT ="2048"
    export XMS_SUN_64BIT
    XMX_SUN_64BIT="2048"
    export XMX_SUN_64BIT
    Looks like this did not work , so I added an entry in the setOBIDomainEnv.sh file hoping to increase the Java memory , but that does not work either. Below is from setOBIDomainEnv.sh file -
    Really, trying to understand where/how the JVM settings are controlled from. Please guide me.
    Appreciate your time.
    Rakesh

    Under setobidomainenv.sh you will also find the admin server tag's so you need to increase the jvm parameters in there too. Depending upon your java vendor and bit version(Sun/Oracle/IBM/HP and 32-bit vs 64-bit ) So change accordingly
    eg:
    if server group is not obi then we can assume that it is Admin Server
      if [ "${JAVA_VENDOR}" = "Sun" ] ; then
      # -UseSSE42Intrinsics required for server running EM
      if [ "${JAVA_USE_64BIT}" = "true" ] ; then
      # Admin Server memory args for 64-bit Sun JVM
      SERVER_MEM_ARGS="-Xms256m -Xmx1024m -XX:MaxPermSize=512m -XX:-UseSSE42Intrinsics"
      export SERVER_MEM_ARGS
    similarly in setdomain.sh you will find the args as below:
    XMX_SUN_64BIT="512"
    export XMX_SUN_64BIT
    XMS_SUN_64BIT="256"
    export XMS_SUN_64BIT
    if [ "${JAVA_VENDOR}" = "Sun" ] ; then
      WLS_MEM_ARGS_64BIT="-Xms256m -Xmx512m"
      export WLS_MEM_ARGS_64BIT
      WLS_MEM_ARGS_32BIT="-Xms256m -Xmx512m"
      export WLS_MEM_ARGS_32BIT
    after setting them just execute them ./setdomain.sh and ./setobidomainenv.sh and then try to start the admin and managed servers and see the process running with the updated values.

Maybe you are looking for