Problem with composition

Does anyone know where I can find a good tutorial on composition. I have to take 3 classes that are already written using inheritence and transform them so they are using composition. I have had a few people briefly explain what composition is but I have nopt heard a real good definition enough to make me understand it? any help would be appreciated.

and better yet explanation to what is composition you may find at:
http://www.artima.com/objectsandjava/webuscript/CompoInherit1.html
but again, all this may be found with help og google http://www.google.com
just search for "composition java" or whatever you need, and there you go...

Similar Messages

  • CUA problem with composite role

    Hello experts, I have a problem with a composite role in my CUA parent system. If you look at the roles tab you will see one of the child roles has a name of child CUA system in the 'target sys' column. the rest all have 'user system'. Can anyone explain how this 'target sys' column is defined?
    Thanks
    Dave Wood

    I do not know if you have solved this issue, but the target system is defined within your single role on you menu tab.
    No what happens is that in transaction SM30 table SSM_RFC you define system variable linked to your logical system.
    This variable determines that when you import roles from another system by means of transaction PFCG > Read from other system from RFC and you select your variable the system will automatically default in the target system field the system it is suppose to go back to.
    So this way when you distibute the roles it will only go back to that particular target system, and you do not need to specify and guess where the role came from.
    Try removing that table entry in SM30 SSM_RFC and see if that way you will be able to remove the target system from the role.
    However it is not a bad thing to have activated. If you are working with position base authorizations and you have more than 1 system, you define 1 composite role for all the roles, for all the systems and you will be able to see where the composite resides by means of the target value.
    Hope this makes sense.
    Regards
    Sonja

  • Problem with Composition Tutorial

    Hi at first,
    I am new to this forum as well as new to the SAP composition application topics
    Since I want to learn how to build composite applications with the Netweaver Developer Studio/ Process Composer I started with the tutorial "Getting Started with Composite Designer" included  in the Studio.
    If I follow the instructions up to modeling of data objects the final step of generating the tables of the emplserv.bl.caf package fails with the error message:
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Problem with WSDL file parsing. See nested message.
    Problem with WSDL file parsing. See nested message.
    IO Exception occurred while parsing file:unknown protocol: c
    unknown protocol: c
    Can anyone help me with this problem?
    Thanks in advance

    Hi Felixw,
    You are probably using JDK 1.6 instead of JDK 1.5.
    Please adjust the startup -vm parameter to be the javaw.exe of JDK 1.5 and you are just fine!
    For instance:
    C:\IDE\eclipse\SapNetweaverDeveloperStudio.exe -vm "c:\jdk1.5.0_18\bin\javaw.exe"
    Kind regards,
    Ivan

  • Master-Detail query problem with composite key

    I have tested a MD form with EMP and DEPT tables and the MD query works okay.
    I have created two tables both with two fields EMP_ID and REPORT_DATE as a composite key. The problem I am having with the MD form is that it does not query back the results when I select the QUERY button. I have verified that the join is setup during the creation of the form.

    I have recreated the form and the MD query works fine.

  • Installation problem with Composition Environment 7.1 SR3 - Trial Version

    Hi guys,
    I'm installing that 1.6G version of Composite Environment. I encountered the following error just after I accepted the license agreement.
    An error occurred while processing service SAP NetWeaver CE Developer Edition > SAP NetWeaver CE Development System( Last error reported by the step :The subkey 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DGAPIMon' does not exist on the 'localhost' host.). You may now
    choose Retry to repeat the current step.
    choose View Log to get more information about the error.
    stop the task and continue with it later.
    Log files are written to C:\Program Files/sapinst_instdir/CE71_DEV_ADA/INSTALL.
    I'd appreciate it very much if you could help me

    Hi,
    1. See to it that all previous instances of SAP trial versions of sw have been removed from your PC/laptop.
    2. Remove your laptop from any network and install Ms- loop back adapter or have a it connect to a network with proper IP.
    3. Have your DHCP enabled.
    Let us know if above suggestions worked for you.
    Cheers!!
    Sukanta Rudra

  • Problem with composite id

    hello frnds,
    i hava an table with four primary key.
    i want to fetch records which are composited with these four keys.
    so any one has idea that how to use hibernate for composite id then pls help me.....
    thanx in advance,,,
    regards
    Pandev84

    hello frnd,I'm not your friend. Nor am I your "frnd".
    can u give me any sample code for composite-id
    mapping in our mapping file??No. You take a shot at it, then I'll help you fix it. Do some work first - like reading the documentation.

  • Children problem with composite components

    Hi,
    I'm using Mojarra 2.0.2-FCS and playing with JSF 2.0 composite components.
    I have a simple composite component named textRow which puts a label and input text. Here is the code:
    <composite:interface>
        <composite:attribute name="label" required="true" />
        <composite:attribute name="value" />
    </composite:interface>
    <composite:implementation>
        <h:outputLabel value="#{cc.attrs.label}" />
        <h:inputText value="#{cc.attrs.value}" />
    </composite:implementation>When I use this composite component inside a h:panelGrid with 2 columns (like code fragment below), first component goes to first column, second component goes to second column. But this is not what I want. I want to put all the labels to the first column and inputs to the second. How can I make this?
    <h:panelGrid columns="2">
        <my:textRow label="firstName" />
        <my:textRow label="surName" />
    </h:panelGrid>

    Hi Anca
    You can just type it in.

  • Problem with composite AV cable

    I bought the apple composite AV cable to connect my iPad2 with the car but it doesn't work (my car is the 2009 Infiniti G37 sedan). Does anyone have experiences why it doesn't work?

    The Composite Cables do not allow mirroring of the iPad screen. To get any video output make sure you are in a supported app, like the Videos App or Photos App in Slideshow mode to get video output through the Av composite cables.

  • Basic problem with composition lightbox. Arggh!

    Ok so basically I can't get the slides in the composition lightbox to work independently. I have a portfolio page with lots of thumbnail images. You click on these to open up the lightbox with a full size image of the thumb. When I add text or images to the first slide it appears on every page! I could of used the normal lightbox but I didn't want the thumbnail to be a small scale version of the full size image in the lightbox slide. I've created a set of interesting jpgs for the thumbs then imported the full size image on each page of the composition lightbox. When I add details and client brief to first slide it duplicates on every page. Any ideas?? Thanks in advance. I'm sure I'm missing something simple.

    ok sorted it. I didn't have the action on active while editing.

  • Basic Problem With Compositing

    For the opening of my video project, I thought I would start with a matted shot of my subject, in a rounded rectangle.
    It's pretty small, and put off to the right, leaving me room on the left side of the screen to insert text.
    When the matted shot is in the V1 track and I stack the text on top of it in the V2 track, after rendering the V1 track disappears and all I have is a black screen with the text that I inserted - no matted shot.
    What am I doing wrong? Thanks.

    Which version of FCE is this? There was a bug in earlier versions of FCP that killed the round rectangle matte.

  • Problem with composite PK

    Hi,
    I mapped two tables(A,B) by using the toplink, the relation between them is one to many, and A table is having the composite primary key. Java class of A table is having a method which returs the Vector(which holds the many rows of B tbale).
    I issued the following query to get the many records of B table, but I did get the result.
    ExpressionBuilder emp = new ExpressionBuilder();
    Expression exp = (emp.get("lieferantennr").equal(uname)).and(emp.get("gueltigVon").equal("2001-01-01"));
    TLieferanten usrBO = (TLieferanten) dbsession.readObject(TLieferanten.class,exp);
    dbsession.refreshObject(usrBO);
    Vector up = usrBO.getMdVecSupplier();
    I got the vector object size is zero, but in database there are records in B.
    thanks
    Venkatram

    Hi, it's not clear from your example which class/attributes are "A" and which are "B".
    Nonetheless, when you want to Query through a 1-M relationship, you need to use the "anyOf" operator. So, if you had an A that has many B's in an attribute called "bCollection", and you want to find all A's that have a B.x equal to 'foo', you would do this:
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression exp = builder.anyOf("bCollection").get("x").equal("foo");
    return session.readAllObjects(A.class, exp);
    - Don

  • [Solved] Multimonitor compositioning problem with rotated screen

    Hello,
    I have problem with picture compositioning on screen, problem is best described on video, if I rotate second screen situation is same, but roles are flipped.
    https://drive.google.com/file/d/0B0dkWJ … sp=sharing
    My setup:
    Acer 3820tg with Arch stable, catalyst-total from AUR and i3 wm:
    ATI 5650 - only discrete vga
    VGA output: 1280x1024 rotated to left
    HDMI out: 1680x1050
    nomodeset not in kernel line
    I tried both(gpu and display) image scaling
    $ glxinfo
    name of display: :0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: ATI
    server glx version string: 1.4
    $ fglrxinfo
    display: :0 screen: 0
    OpenGL vendor string: Advanced Micro Devices, Inc.
    OpenGL renderer string: AMD Mobility Radeon HD 5000 Series
    OpenGL version string: 4.4.12874 Compatibility Profile Context 12.104
    Thanks for help.
    Jakub
    Last edited by kubco2 (2014-07-03 18:21:21)

    Out of the box, the fonts will suck.
    Go through the following wiki https://wiki.archlinux.org/index.php/Font_configuration and configure your fonts. You also need to make sure you have a couple good fonts installed. Then setup the hinting, filter etc and it will be much improved.
    I have used Infinality in the past and it works very well as well but made too many changes, one of which resulted in an issue with an app that was difficult to track down. Haven't used it lately so do not know the status.

  • Problems with VA Java Visual Composition

    Hi!
    I have some problems with reopening (even simple) visually in VA Java created
    beans (JFrame, JDialog). IDE behaves somehow unpredictable. Sometimes it reopened it into the
    visual composition editor, anothe time the reoppening fails with following log message:
    Java exception during layout of bean(<unnamed>): java.lang.NullPointerException
    Java exception during layout of bean(JFrameContentPane): java.lang.NullPointerException
    An exception occurred in a system program.
    Terminating TimeSlotGUI (VCE) (System) (25/07/01 10:05:07)
    Can anybody help?
    Ivan

    Which Version do you use? This VAJ 3.5 was quite bugy and you had to use patches. Now there is an Update 3.5.2 which fixes most of the bugs ( although there are new ones). When I work with the VCE ( avoid this normally) I get problems if I rename Beans which were generated with th VCE. then your stuff is lost. Sometimes you can recover if you delete the generated[i] initialize() method and then open the VCE.
    Nevertheless, VAJ 3.5.3 works quite good, great debugging tools.

  • Problems with sound when I embed multiple videos on auto play into a composition widget.

    I am having problems with the sound when I embed multiple videos on autoplay into a composition widget in Muse. It sounds as if they are all playing at once. Note that within the compostion widget, options - the auto play is disabeled.
    I've a television set that has buttons below and I want the users to flick through the channels.
    I need the oriantaion to be stacked as they're contained within a frame (the tv). I have tried the lightbox view (which at first seamed to solve the problem), but unfortunately the position, orientation moves when shown on different divises. It Had to be quite precise as I was ovelaying the original frame within the light box.
    Could you please help me with this?
    Also, I wanted to let you know that I think this software is amazing. Great job!
    here is the link:
    http://albanconnell.com/moving-image.html

    Hi Alban,
    I see what you are seeing. Could you send your file so I can investigate more? Send it to [email protected], with a link to this thread in the message body. If the file is >20mb, our email system cannot handle it so use a service like Adobe SendNow.
    Thanks,
    Sam

  • [SOLVED] Problem With conky and or xcompmgr

    So I tried to search for this issue but i don't know quite how to explain through words on what is going on. basically i got corky installed. and so when i login my screen all around corky doesn't refresh. and i believe this to be because of xcompmgr. because thats when I installed it that is when my problem started. so here is a screenshot
    Last edited by Sicariuxs (2012-11-14 21:13:45)

    no i don't have the problem when xcompmgr is running (lol didn't mean corky!! kept thinking about league of legends xD) but the problem is that if i don't have xcompmgr running that i don't have true trnasparancy on guake or any of my other applications. what i believe it to be is that maybe conky doesn't do so well with compositing. because this also has happened to me with compiz. but i know it has to be possible to combine the two! i've seen it done all over youtube. but i keep getting this problem. any suggestions? and thanks for the quick response

Maybe you are looking for

  • Different issues with file browse item

    Hi everybody, I'm trying to create a file upload page using the file browse item. To achieve this I followed the how-to document : http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b16376/up_dn_files.htm. I've created my own table to store

  • Mandatory update not working on Mountain Lion...

    Is anyone else having problems installing the Folio Builder Panel update on Mountain Lion? I tried downloading the update from two different browsers and I'm getting the following error message every time: Any suggestions?

  • With windows xp.

    I just got the iphone 4s. I want to use icloud. However i have a pc with windows xp. Apple says that i nead windows7 or vista. I can't easily upgrade. Is there a workaround for Windows XP?

  • Does anyone know how to remove IVI drivers..?

    I am trying to install hp34401a_LV61 'installer' and keep recieving an error about ivi traditional / third party drivers need to be uninstalled..... Please HELP !!!

  • Missing part list in plant maintenance ( CO 24)

    Hi SAP experts, Is it possible to use the transaction CO24 ( missing part list)  for plant maintenance orders? If yes, what are prerequesites & configurations needed for it? Regards