Generic Java class for working with Context Nodes

Hi,all
I would like to write generic Java class for working with Context Nodes:
populating node,
add element to node,
update node element,
remove node element
Any ideas how can I do it?

Hi,Armin
Thanks for your answer.
I have many nodes with the same structure,but different data.
I don't want to work with each one of them individually.
This is the main reason.
Regards,
Michael
Any ideas?

Similar Messages

  • Java API for working with Pivot Tables...?

    Hi,
    I want to create/modify an existing pivot table in an excel sheet. Is there any open source available to work on pivot tables.
    I have seen few articles mentioning that POI supports updation of data, though the apache site says that it does not support working with pivot tables. I am able to copy an existing excel template with pivot table to a new excel using poi but am stuck with updating....
    Thanx,
    Praveen.

    Hi,
    The JExcelAPI does not support working with pivot tables... I am still in search of an open source to work with pivot tables....
    btw, we are able to update an existing pivot table using apache poi. But we need to change the data range of the pivot table during run time... Am stuck with this... Has anyone come across any open source to work with pivots???
    Regards...

  • Java API for working with digital signature.

    Hi,
         I have to check whether a pdf form is modified since it is digitally signed, using a java program.
         Are there any java APIs(provided by SAP) available for that?
         Can I use IWDPDFDocument API in java program? I tried it but I am getting 'classnotfoundexception'.
    Thanks,
    Prabhakar.

    may i know what service pack of SAP NetWeaver  Developer Studio version are you using?
    as the "IWDPDFDocument" is only available on SAP NetWeaver 2004S SPS 10 and above
    and you just need to import either this two class
    com.sap.tc.webdynpro.clientserver.adobe.api
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.api 
    hope this information could help you
    Regards
    Jia Jun

  • Simple java class for SQL like table?

    Dear Experts,
    I'm hoping that the java people here at the Oracle forums will be able to help me.
    I've worked with Oracle and SQL since the 90s.
    Lately, I'm learning java and doing a little project in my spare time. 
    It's stand alone on the desktop.
    The program does not connect to any database 
    (and a database is not an option).
    Currently, I'm working on a module for AI and decision making.
    I like the idea of a table in memory.
    Table/data structure with Row and columns.
    And the functionality of:
    Select, insert, update, delete.
    I've been looking at the AbstractTableModel.
    Some of the best examples I've found online (they actually compile and work) are:
    http://www.java2s.com/Code/Java/Swing-JFC/extendsAbstractTableModeltocreatecustommodel.htm
    http://tutiez.com/simple-jtable-example-using-abstracttablemodel.html
    Although they are rather confusing.
    In all the examples I find, there always seems to be
    at least three layers of objects:
    Data object (full of get/set methods)
    AbstractTableModel
    GUI (JFrame, JTable) (GUI aspect I don't need or want)
    In all the cases I've seen online, I have yet to see an example
    that has the equivalent of Delete or Insert.
    Just like in SQL, I want to define a table with columns.
    Insert some rows. Update. Select. Delete.
    Question:
    Is there a better java class to work with?
    Better, in terms of simpler.
    And, being able to do all the basic SQL like functions.
    Thanks a lot!

    Hi Timo,
    Thanks. yes I had gone thru the java doc already and  they have mentioned to use java.sql.Struct, but the code which got generated calls constructor of oracle.jpub.runtime.MutableStruct where it expects oracle.sql.STRUCT and not the java.sql.STRUCT and no other constructor available to call the new implementation and that is the reason i sought for some clues.
      protected ORAData create(CmnAxnRecT o, Datum d, int sqlType) throws SQLException
        if (d == null) return null;
        if (o == null) o = new CmnAxnRecT();
        o._struct = new MutableStruct((STRUCT) d, _sqlType, _factory);
        return o;
    here CmnAxnRecT is the class name of the generated java class for sqlType.
    Thanks again. Please let me know if you have any more clues.
    Regards,
    Vinothgan AS

  • Can't get extended class to work with asbstract class

    I am having trouble working an extended class to work with my base abstract class. I keep getting this error message: "Fiction.java:4: invalid method declaration; return type required" public FictionBook()" Can someone give me some advice and or guidance on what I need to do? Thanks.
    Here is my abstract class:
    import javax.swing.*;
    public abstract class Book
         protected String bookTitle;
         protected double bookPrice;
         public abstract double setPrice();
    public Book()
              setBookPrice();
    public double getBookPrice()
              return bookPrice;
    public abstract void setBookPrice();
    Here is the extended class that I have:
    import javax.swing.*;
    public class Fiction extends Book
         public Fiction()
              super();
              setBookPrice();
         public void setBookPrice();
              bookPrice = 24.95;
         public String toString()
              return("Fiction Book Price is $" + bookPrice);
    }

    Fiction.java:2: Fiction is not abstract and does not override abstract method setPrice() in BookThis one is pretty straightfoward: Book declares an abstract setPrice() method. In effect is promises "every concrete subclass of Book will define an implementation of setPrice()". But your Fiction class does not do this - it does not give an implementation of setPrice() even though as a Book it is required to do so. That is what the compiler is complaining about.
    Fiction.java:6: call to super must be first statement in constructorThis one is slightly cryptic. If you use super() it must be as the first line of a constructor. You are using it as the first line of Fiction() so that looks OK - until you realise that Fiction() is not a constructor! That's because you declare it as a method returning void. Remove the "void" and the compiler will recognise it as a constructor and will be happy about your use of super().
    Edited by: pbrockway2 on Sep 13, 2008 12:13 PM
    Just a general point: it might be worth writing very brief comments for your abstract class to say what the methods are supposed to do. It isn't really clear what setBookPrice() is supposed to do given that it isn't passed any argument. Likewise setPrice(), how does it differ from setBookPrice()? what is the double value that it returns?

  • Pogo won't play games java won;t work with firefox

    I was playing pogo and it came up to update Java. Did it and now can't play most of the games like canasta. Says java won't work with firefox.....it did before. try for 4 days not and no luck

    Java is working properly. Still not loading games

  • InterMedia Java Classes for Servlets and JSPs and Netscape

    I am using the interMedia Java Classes for Servlets and JSPs to upload and retrieve multimedia data. I have found that it is much more performant in Internet Explorer (5.5) than in Netscape Communicator (4.7). In fact, I cannot upload images larger than 10K at all using netscape. However, the same image can be uploaded into the same application using IE. Is this a known issue?
    Thanks in advance.

    Hi,
    We have successfully uploaded multimedia data in the giga-byte range (Quicktime and AVI files) at the same speed with both the Netscape (4.7n) and MS IE (4.n and 5.n) browsers. One thing we have noticed is that its very important to set the manual proxy settings correctly if you have an environment with a proxy server. If you don't, then uploads can go via the proxy server and, for some reason, that seems to take considerably longer. For example, suppose you are in the www.xyzco.com domain and are connecting to a host named webserver.www.xyzco.com, then specify webserver and webserver.www.xyzco.com (to cover both cases) in the "Do not use proxy servers for..." box in the manual proxy server configuration screen. Also, if you're using a tool such as JDeveloper that uses the host IP address in the debugger environment, then you also need to add the numeric-based (nnn.nnn.nnn.nnn) IP address to this list.
    Hope this helps.
    In order to better understand the variety of ways in which our customers are using interMedia, we'd be very interested in knowing a little more about your application, the interMedia functionality that you are using, and how you are developing and deploying your application. If you are able to help us, please send a short email message with some information about your application, together with any comments you may have, to the Oracle interMedia Product Manager, Joe Mauro, at [email protected] Thank you!
    Regards,
    Simon
    null

  • Query on Topology for working with Routing Server

    Hi,
    We have just started working with Routing Engine. We have a sample street data. For working with routing server, whether we need the topology to be built?
    If we have a topology can we use with routing server?
    In this request for un-geocoded addresses
    <start_location>
    <input_location id="1">
    <input_address>
    <us_form1 street="4001 E Bay Dr" lastline="largo, fl" />
    </input_address>
    </input_location>
    </start_location>
    What does this street and lastline mean. Which table its referring?
    Can you help me out in this problem?
    Thanks and regards
    Aravindan

    The routing engine requires data in a particular form. It does require a node and edge table as well as oher information.
    In appendix c of the 10g Release 2 documentation is a description of the tables and the XML elements (such as us_form1, street, lastline, etc) required for the routing engine. If you have data that can be massaged into this format then you can do the massaging and load and use it.
    Hope this helps,
    d

  • MDM Java classes for "Relationships"

    Hi foks
    Recently am learning MDM and started to start learning MDM Java APIs.
    Can anyone tell if there are classes to work with Relationships and extract Relationships into file.
    Plz reply me ASAP.

    When iam trying to execute this code
    import com.sap.mdm.net.SimpleConnection;
    import a2i.core.*;
    import a2i.common.*;
    import a2i.search.*;
    //import a2i.generated.RelationshipInfoArray;
    //import a2i.generated.RelationshipInfo;
    public class SimpleSearch2 {
         CatalogData catalog;
         public void login() {
              catalog = new CatalogData();
              try{
              catalog.Login("10.5.4.159", 2010, "Admin", "Admin", "English [US]");
              catch(Exception e)
                   System.out.println(e.getMessage());
         public void logout() {
              try {
                   catalog.Logout();
              } catch (StringException e) {
                   System.out.println("Logout Failed!");
                   e.printStackTrace();
    public static void main(String[] args)throws Exception
              SimpleSearch2 ffse = new SimpleSearch2();
              ffse.login();
    ffse.logout();
    Error am getting as
    ClientSocket.Login error
    Exception in thread "main" java.lang.IllegalStateException: Login method has not
    been successfully called.
            at a2i.common.CatalogData.Preprocess(Unknown Source)
            at a2i.common.CatalogData.Logout(Unknown Source)
            at SimpleSearch2.logout(SimpleSearch2.java:31)
            at SimpleSearch2.main(SimpleSearch2.java:62)
    i have set my class path perfectly with all jar files
    set classpath=%classPath%;C:\Program Files\Java\jdk1.6.0_07\lib\mdm-admin.jar;C:\Program Files\Java\jdk1.6.0_07\lib\mdm-common.jar;C:\Program Files\Java\jdk1.6.0_07\lib\mdm-core.jar;C:\Program Files\Java\jdk1.6.0_07\lib\mdm-data.jar;C:\Program Files\Java\jdk1.6.0_07\lib\mdm-protocol.jar;C:\Program Files\Java\jdk1.6.0_07\lib\mdm-extension.jar;C:\Program Files\Java\jdk1.6.0_07\lib\MDM4J.jar;C:\Java;
    Can some one tell me why the error is

  • Working with "property nodes" in pda module

    Hi,
    i already know that it is not possible to work with property node in pda module.
    I have found something that allows to replace the visible property node
    (LabVIEW_PDA_Module_Property_Additions), but i need other property
    nodes.
    I need the following property nodes:
    disabled
    caption.text
    numrows (for a table control)
    numcols (for a table control)
    colhdrs[] (for a table control)
    Can anyone give me a help with this?
    Thanks,
    Pedro

    I think the only one you can do something about is the caption, which you can try to replace with a string indicator.
    Try to take over the world!

  • Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018

    dear SAP
    i have a system Solman 7.1
    i'm upgrading Solman from SP04 to SP13 using SUM (SP12 patch 10) on windows 2012
    and i faced  error  during  Excution phase 5.6  in JAVA Stack.
    phase : Excution - Actual Update
    Error : An error has occurred during the execution of the Deploy software components step.
    Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018. Return code condition success evaluated to false for process java.exe for action ACTION_STOP
    You can find more information in the files D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG and ProcessOverview.html.
    To troubleshoot the problem use the provided information. An SAP Note may provide a solution to this problem. Search for SAP Notes with the following keywords:
    SUM??execute??component-deploy-700??deploy-components??com.sap.sdt.j2ee.services.servicesimpl.SDMService??class com.sap.sdt.j2ee.tools.sdmmanagement.OperateSdmException
    i try to restart server and killed sapstartsrv..  but the problem is not solved. 
    please let me know what i check more?
    D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG
    <!--LOGHEADER[START]/-->
    <!--HELP[Manual modification of the header may cause parsing problem!]/-->
    <!--LOGGINGVERSION[2.0.7.1006]/-->
    <!--NAME[D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG]/-->
    <!--PATTERN[DEPLOY-COMPONENTS_22.LOG]/-->
    <!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%6s]: %m)]/-->
    <!--ENCODING[UTF8]/-->
    <!--LOGHEADER[END]/-->
    Apr 19, 2015 3:59:00 AM [Info  ]: Stopping SDM server...
    Apr 19, 2015 3:59:00 AM [Info  ]: AS Java process ID 11 has been started.
    Apr 19, 2015 3:59:00 AM [Info  ]:   Command line: D:\usr\sap\SOL\DVEBMGS00\exe\sapjvm_4\bin\java.exe -Xmx900M -Djava.ext.dir=d:/usr/sap/SOL/DVEBMGS00/SDM/program/lib;D:/usr/sap/SOL/DVEBMGS00/exe/sapjvm_4/jre/lib/ext -cp . -jar d:\usr\sap\SOL\DVEBMGS00\SDM\program\bin\SDM.jar shutdown Sdmguiport=50018 sdmHome=d:/usr/sap/SOL/DVEBMGS00/SDM/program logfile=D:\usr\sap\SOL\SUM\sdt\log\SUM\OperateSDM_60.LOG
    Apr 19, 2015 3:59:00 AM [Info  ]:   Standard out: D:\usr\sap\SOL\SUM\sdt\log\SUM\OPERATESDM_44.OUT
    Apr 19, 2015 3:59:00 AM [Info  ]: Process ID 11 has been started.
    Apr 19, 2015 3:59:00 AM [Info  ]: Waiting for process ID 11, name java.exe to finish.
    Apr 19, 2015 3:59:02 AM [Info  ]: Process ID 11, name java.exe has been finished, exit code 16.
    Apr 19, 2015 3:59:02 AM [Info  ]: Process ID 11, name java.exe has been terminated.
    Apr 19, 2015 3:59:02 AM [Error ]: The following problem has occurred during step execution: com.sap.sdt.j2ee.tools.sdmmanagement.OperateSdmException: Could not stop SDM server.
    Cannot execute Java process for stopSDM with parameters 50018.
    Return code condition success evaluated to false for process java.exe for action ACTION_STOP.
    Best regards..

    Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018. Return code condition success evaluated to false for process java.exe for action ACTION_STOP
    Please follow the solution mentioned in the below link.
    Error During Deployment - Java Support Package Manager (OBSOLETE) - SAP Library
    regards,
    pavan

  • Is it possible to bind the elments with context node dynamically?

    Hi All,
    Is it possible to dynamically bind elements with context nodes?
    In other words, at runtime, can we change the binding of an Inputfield to another context. Or a table to programmatically bind to another table?
    Regards,
    urbashi

    hi urbashi.......
          it is possible..
           you should first pass the id of he ui element and then bind it.
           for ex:
             if there is an input field, you can get the attribute that is bound, using cl_wd_input_field->bound_value.
             if you want to set an attribute, use cl_wd_input_field->bind_value.
             the first one will give an idea of how a valueshould be given.
    ---regards,
       alex b justin

  • JK Adobe TV - Top 5 Tips for Working with Vectors in CC

    Julieanne Kost has just blogged about her  Adobe TV video on working with shapes and paths in Photoshop CC.  It's actually not that new to Adobe TV, and has already had a lot of views, but we get a lot of questions here on the subject with CC, and there are some nice little tips in it.  I certainly learned a couple of things. :-)
    http://blogs.adobe.com/jkost/2014/01/top-5-tips-for-working-with-vectors-in-photoshop-cc.h tml
    http://tv.adobe.com/watch/the-complete-picture-with-julieanne-kost/top-5-tips-for-working- with-vectors-in-photoshop-cc/

    My apologies, but I really had no interest in a member's "answer", especially one that is so unhelpful.  Assuming that you were responding to me (we are the only two commenter's at this point), I would not be inclined to read the Creative Cloud offers since this is something that I am not interested in.  I bought the product the first day of offer, I did not rent it....just like I have in all the years past.

  • Is anyone else having email problems such as apps exiting in the middle of an email? It may be a wireless issue. I use First Class for work and yahoo email for personal. I will be in the middle of typing a long email and the app just quits, all data lost.

    Is anyone else having email problems such as apps exiting in the middle of an email? It may be a wireless issue. I use First Class for work and yahoo email for personal. I will be in the middle of typing a long email and the app just quits, all data lost.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • Mac Pro RAID block size recommendations for working with audio in Logic Pro

    I have recently ordered a Mac Pro and plan to do a RAID configuration across 3 HDD's
    The RAID type i am going to do is a RAID 0 striped.
    The computer is going to be used primarily for audio post production and working with 20+ 24-Bit audio files at any one time within a Logic project.
    I want to know what is the best block size i should use when configuring the RAID.
    I understand that using a higher block size is best for working with large files but do i need to do this in my case or will the default 32k block size be enough?
    Thanks in advance

    Use 64k. Things like databases like having 32k blocks because of all the small files. Audio files are pretty small even at 24-bit 192KHz. Go to 128k if all you are doing is streaming and no samples. But 20+ 24-bit is really not too large anyway considering most modern HDD's can stream 100MB/s off one spindle. You'll probably be fine regardless of the block size you choose. But most audio pro's choose 64k.

Maybe you are looking for

  • SAP R/3 toWebBrowser

    Hi, I am Integrating SAP R/3 and WebBrowser using XI. In SAP R/3 I am Using IE02( Change Equipment) ,When Ever we made a change in Equipment and save it should trigger automatically and post the data. I need the Infpirmation How to Trigger Automatica

  • SL does't appear in Win Xp Workgroup

    Hi, I have a problem with smb files sharing in my Wlan. I have a workgroup made in windows xp, i can see it in System Preferences>Network>Advanced>Wins so I'm sure the mac is in the same group. In finder I see the pc and I can access to it by enterin

  • Any Help out there??? 5G 30gig Video Ipod

    After a little over two weeks of working with this thing, it just won't come out of the loop. It first started after I changed computers. I had my full library on both computers but was only synced to one of them. While trying to sync to the other co

  • Easy question - hopefully: getting an application to open when starting up

    I'm sure I've done this before, but just forgotten - how do I get an application (in this case iChat) to open when I switch on my Mac. I use a PC at work so get continually confused....

  • Upgradation of Support Pack 21 - Solman

    Dear All, We are using solution manager from last few days, and as suggested by our senior we are planning to upgrade it upto SP21, and we have done few changes in process flow of charm, by adding new actions & user statuses. Now if we did upgradatio