Help understanding OO concepts.

Hi all,
I'm really struggling to get my head around OO programming. I am wanting to make a few simple programs to try and figure it out.
If I am wanting to have 2 classes and a main method class, say player and team class. It is obvious that the team class will have attributes and methods, as will a player.
Team:
Name - simple string.
Stadium - forget for now
Capacity - an int
Players - this is where my problem lies
Coach - forget for now
Manager - forget for now
Player:
Name - string
age - int
shooting - int
tackiling - int
passing - int
Now I can create a new object in my main method that will create a Player object with the above attributes. I am stuck with how to get a player object to be 'part of' the team.
I assume that I need to put the Player class into the Team constructor but am unsure how to do this. I treid looking up on the internet but am not sure what the process is called. If someone could either show me a good link on how to do something similar, or post up some sample code to demonstrate, or even better both, then I can read up on it and understand with an example.
What I really want is for the players to be held in an array within the team class, but not sure how easy this is to do for a beginner.
Thanks
Andrew

Hi thanks for the help. I think i will look into the
set, although it does seem a bit confusing for a
beginner. First though, regarding inheritance:
If in the Player class that extends TeamMember, if I
want to add extra attributes, how do I add these into
the constructor?
public class Player extends TeamMember
int speed;
int shooting;
int tackling;
int passing;
public Player (String name, String position, int
speed, int shooting, int tackling, int passing)
this.speed = speed;
this.shooting = shooting;
this.tackling = tackling;
this.passing = passing;
Is this how I would do it? Unfortunately at the
moment I do not have a comiler so cannot test - I am
a little confused as to how the super word was used.
Thanks
Andrewis Player really a TeamMember? I mean, it is, clearly, but is this relationship correct? I'd say that Player is a role that TeamMembers can have. what if you have a Player/Manager for instance? good OO principle: favour composition over inheritance.
using inheritance, Player would be a class, Manager would be a class, and then you'd need another class PlayerManager. not ideal. if members were composed of roles, you could simply give your Player/Manager both roles, and not need to worry about which class it extended. probably a tricky concept for you to grasp at the moment, granted, but something for you to investigate at your leisure :-)

Similar Messages

  • I need help understanding the concept of Java...

    Hello, this is my first post. I'm new to Java as well as programming, and I;m really having problems understanding the whole concept of classes, methods, arguments, parameters, constructors and so forth....can someone please explain this in baby terms....like a class is a big box and a method is something inside the box, or out!!!
    thanks

    Hi,
    It looks you know nothing about programming. :)
    Java is a very nice and easy programming language.
    The best for you is to start programming to read a book
    "Thinking in Java", Bruce Eckel. You can find it on the internet or download it from www.BruceEckel.com, or find it on www.filesearch.ru. This book will give you everything about Java. And then take any book what you like and go ahead. Practice, Practice and Practice!
    Good luck!

  • Unable to understand the concept of Primary Key in EJB

    hi,
    please help me in understanding the concept of Primary Key.
    For each and every entity bean represents a data base row. i think it is correct. if multiple users are accessing the same data base row, there will be different primary key for each and every client. is it correct or not. can we say this as "concurrency"?. if all the clients are manipulating the bean, who manages it either application server or data base server?. why does we must implement both hashCode() and equals() methods?. Provide me the links where i can find the answers.

    if multiple users are
    accessing the same data base row, there will be
    different primary key for each and every client.This is incorrect: the PrimaryKey is the unique identifier for each database row. It has nothing to do with users. In order for CMP to work, the container must be able to operate with a single row in the database and be able to distinquish between them.
    If your CMP->database table already has one column that's unique, then you declare that CMP field to be <primary-key-field>. If you have more than one column that makes a row unique, you must make your own primary key object. The way the container can tell the difference between these primary key objects is to compare them, therefore the hashCode and equals methods.
    Provide me the links where i can find the
    answers.This is all discusssed in the J2EE Tutorial.

  • I need help understanding how the Apple components integrate to create a system across all my devices?

    I need help understanding how the Apple components connect to create a whole system across all my devices?
    Is there a resource that describes current system and associated functionality?
    For example:
    Buy A, B, C to achieve "X" 
    You will need:
    an internet provider which supports <specs>
    add D to achieve "Y"
    You will need:
    an internet provider which supports <specs>
    add "E" to achieve "Z"
    You will need:
    an internet provider which supports <specs>
    For example, I am looking at the Gen 6 Airport extreme.  For intended performance do I need broadband? if so what are the specs, or will basic internet service suffice?  Do I need the internet provider's modem or does the Airport extreme replace that?  And then I think, if I am doing this, I should also look at Apple TV....What do I need and Why?  Then I look at the New Desk top coming out in the fall, and I think well, if I wait and get this, what does this component do for the system, and what becomes redundant? What does this awesome desktop do for my ability to sit and use a new macbook air when I travel  or sit on the couch in my PJs?
    If there was a place that plainly stated "if you buy the new dektop you can configure a system including only these components and achieve <this result> and by adding <additional components> you will achieve this result.
    I have been to the genius store a few times, but I come out of there more confused unless I have SPECIFIC questions or already know what to buy. 
    A "System Configuration App" would be a really great sales tool--Just saying.

    I have no idea what "fully optimized" means.
    No Apple device will let you watch broadcast TV. The Apple TV is a good option for watching streaming TV from iTunes, NetFlix and Hulu. If you want to watch from other sources, you may need to look at other devices.
    Any Mac computer or iPad will allow you to surf the web.
    What business software?
    Time Capsule is a good option for back ups.
    Update what across all devices?
    For accessing documents from all devices, a service like Dropbox is your best bet.
    I have no idea what "step as far away from an internet provider as possible" means. If you want Internet access, you need an Internet provider.
    Lighting fast speed for what? Processor? The specs are listed for all devices in the Online Store. Internet? We're back to the service provider.
    Technology changes. The only way to keep pace with it beyond a couple of years is to buy new stuff.
    The bottom line is you need to look at the specs for devices availble and at your budget and decide what best meets your needs. If you are unable to do that on your own, there are lot of technology consultants out there who will, for a fee, look at your exact situation, make recommendations and even handle the purchase and set up. Perhaps that would be the best route for you.
    Best of luck.

  • EHP Upgrade - Trying to understand the concept

    Dear experts, this is an effort to understand the concept. I have been doing Basis work for the past 10 years approximately. All along, I have been doing the typical LCP and SP upgrades way back from legacy systems until now (ECC 5.0 / BW 3.5). We have recently upgraded our BW 3.5 to BI 7.01 and also created a dual stack (we never had Java stack before for BW). This is my situation. Below are my questions. Any guidance would be highly appreciated.
    1. Do we still have the SP Stack upgrades within Ehp 1? Or, has it been revamped completely and there is no more SP upgrades and we only need to do EhP upgrades? In this case, if I have to upgrade from Netweaver 7.01, is my only option upgrading to 7.02?
    2. Is there a place where I can start to catchup with the whole EhP concept? I would like to know the maintenance life cycle and the impact on our environment.
    3. Are there any specific upgrade guides that will guide me in transitioning from the typical SP upgrade methodology to EhP upgrade methodology. Also, I would like to know how did you transition (learning curve) from someone who had been with typical SP upgrade for a long time and how did you adopt yourself to the new path (like what guides did you use, what links did you follow, etc)
    NOTE: I have heard the EhP upgrades are similar to release upgrades and I have done handful of release upgrades.
    Thank you so much in advance.

    >1. Do we still have the SP Stack upgrades within Ehp 1? Or, has it been revamped completely and there is no more SP upgrades and we only need to do EhP upgrades? In this case, if I have to upgrade from Netweaver 7.01, is my only option upgrading to 7.02?
    Yes we do have both option available. Either we can go for SP upgrade or we can go with EHP upgrade.
    >2. Is there a place where I can start to catchup with the whole EhP concept? I would like to know the maintenance life cycle and the impact on our environment.
    Yes. http://Service.sap.com/erp-ehp is the place where you can get all the infromation and document.
    >3. Are there any specific upgrade guides that will guide me in transitioning from the typical SP upgrade methodology to EhP upgrade methodology. Also, I would like to know how did you transition (learning curve) from someone who had been with typical SP upgrade for a long time and how did you adopt yourself to the new path (like what guides did you use, what links did you follow, etc)
    Everything is available on Service marketplace.
    Regards,
    Subhash

  • Import finished with few errors...Help understanding it!

    Hi all,
    Yesterday, I finished to do an import in oracle. I used the impdp command and got few errors after the import was done. Here are some bits from my log. It was very long but I shortened it with the most common errors. I would appreciate your help understanding what does each error mean, and whether there's a solution available.
    Thanks!
    El sql que falla es:
    CREATE TABLESPACE "SYSAUX" DATAFILE SIZE 125829120 LOGGING ONLINE PERMANENT BLOCKSIZE 16384 EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MANAGEMENT AUTO
    ORA-39083: Fallo de creación del tipo de objeto TABLESPACE con el error:
    ORA-02236: nombre de archivo no válido
    El sql que falla es:
    CREATE TABLESPACE "IN_SGC_BD" DATAFILE '+DISKGROUP_BD/sgtc/datafile/rsgtc_in_sgt_bd1' SIZE 132120576 LOGGING ONLINE PERMANENT BLOCKSIZE 16384 EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MANAGEMENT MANUAL
    Procesando el tipo de objeto DATABASE_EXPORT/PASSWORD_VERIFY_FUNCTION
    ORA-31684: El tipo de objeto PASSWORD_VERIFY_FUNCTION ya existe
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/SEQUENCE/GRANT/OWNER_GRANT/OBJECT_GRANT
    ORA-39111: Se ha saltado el tipo de objeto dependiente OBJECT_GRANT:"SYSTEM", ya existe el tipo de objeto base SEQUENCE:"SYSTEM"."SDE_LOGFILE_LID_GEN"
    ORA-39083: Fallo de creación del tipo de objeto SYNONYM con el error:
    ORA-00995: falta el identificador de sinónimos o no es válido
    BEGIN
    dbms_resource_manager.create_consumer_group('AUTO_TASK_CONSUMER_GROUP','System maintenance task consumer group','ROUND-ROBIN');COMMIT; END;
    Procesando el tipo de objeto DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
    ORA-39083: Fallo de creación del tipo de objeto PROCACT_SYSTEM con el error:
    ORA-29393: el usuario JAIMESP no existe o no está conectado
    El sql que falla es:
    BEGIN
    dbms_resource_manager.create_plan_directive('PLAN_DIA','SGTC_USR','',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,30,600,5,'SGTC_SWITCH',NULL,TRUE,NULL,10240,1800,900,1800);
    dbms_resource_manager.create_plan_directive('PLAN_DIA','SGTC_EDITOR','',40,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10,600,10,'SGTC_SWITCH',NULL,TRUE,NULL,512000,1800,600,3600);
    dbms_r
    ORA-39083: Fallo de creación del tipo de objeto PROCACT_SYSTEM con el error:
    ORA-06550: línea 2, columna 72:
    PLS-00103: Se ha encontrado el símbolo "CHECK" cuando se esperaba uno de los siguientes:
    in like like2 like4 likec between member submultiset
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    ORA-39151: La tabla "OUTLN"."OL$" existe. Todos los metadados dependientes y los datos se saltarán debido table_exists_action de saltar
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
    . . "SIGELEC"."SDE_BLK_37" 4.976 KB 0 filas importadas
    . . "SIGELEC"."SDE_BLK_38" 4.968 KB 0 filas importadas
    . . "SGC_BD"."BDE_CRECOBJE" 5.234 KB 0 filas importadas
    . . "SIGELEC"."D418" 4.851 KB 0 filas importadas
    . . "SYSTEM"."DBM_TOPSQL" 6.125 KB 0 filas importadas
    . . "SIGELEC"."F100" 5.562 KB 0 filas importadas
    . . "SIGELEC"."F101" 5.593 KB 0 filas importadas
    . . "SIGELEC"."F102" 14.77 KB 11 filas importadas
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/PROCEDURE/ALTER_PROCEDURE
    ORA-39082: El tipo de objeto ALTER_PROCEDURE:"SYSTEM"."GEN_ROLE_SGTC" se ha creado con advertencias de compilación
    ORA-39083: Fallo de creación del tipo de objeto PACKAGE_BODY con el error:
    ORA-04052: se ha producido un error al consultar el objeto remoto ENLACE.ELPQ_DATOPROY@CRE
    ORA-00604: se ha producido un error a nivel 4 de SQL recursivo
    ORA-12154: TNS:no se ha podido resolver el identificador de conexión especificado
    ORA-39082: El tipo de objeto TRIGGER:"SIGERED"."TR_CTRL_ENERGIZA" se ha creado con advertencias de compilación
    ORA-39083: Fallo de creación del tipo de objeto TRIGGER con el error:
    ORA-04052: se ha producido un error al consultar el objeto remoto ENLACE.ELPQ_DATOCONS@CRE
    ORA-00604: se ha producido un error a nivel 4 de SQL recursivo
    ORA-12154: TNS:no se ha podido resolver el identificador de conexión especificado
    El sql que falla es:
    ALTER TRIGGER "SIGERED"."TR_CTRL_ENERGIZA" COMPILE PLSQL_OPTIMIZE_LEVEL= 2 PLSQL_CODE_TYPE= INTERPRETED PLSCOPE_SETTINGS= 'IDENTIFIERS:NONE'
    ORA-39082: El tipo de objeto TRIGGER:"SIGERED"."TR_CTRL_CONCLUYE" se ha creado con advertencias de compilación
    El sql que falla es:
    BEGIN SYS.DBMS_IJOB.SUBMIT( JOB=> 165, LUSER=> 'SYSTEM', PUSER=> 'SYSTEM', CUSER=> 'SYSTEM', NEXT_DATE=> TO_DATE('2012-05-02 01:00:00', 'YYYY-MM-DD:HH24:MI:SS'), INTERVAL=> 'TRUNC(SYSDATE+1)+1/24', BROKEN=> FALSE, WHAT=> 'dbms_stats.gather_schema_stats(ownname => ''SIGERED'',options => ''GATHER'',estimate_percent => null,method_opt => ''FOR ALL COLUMNS SIZE 1'',cas
    ORA-39083: Fallo de creación del tipo de objeto JOB con el error:
    ORA-00001: restricción única (SYS.I_JOB_JOB) violada
    El sql que falla es:
    BEGIN SYS.DBMS_IJOB.SUBMIT( JOB=> 47, LUSER=> 'SIGERED', PUSER=> 'SIGERED', CUSER=> 'SIGERED', NEXT_DATE=> TO_DATE('2012-05-02 01:00:00', 'YYYY-MM-DD:HH24:MI:SS'), INTERVAL=> 'TRUNC(SYSDATE+1)+01/24', BROKEN=> FALSE, WHAT=> 'SIGERED.RDPQ_PROYECTOS.PR_PROCESAR;', NLSENV=> 'NLS_LANGUAGE=''AMERICAN'' NLS_TERRITORY=''AMERICA'' NLS_CURRENCY=''$'' NLS_ISO_CURRENCY=''AMERI
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/PASSWORD_HISTORY
    ORA-39083: Fallo de creación del tipo de objeto PASSWORD_HISTORY con el error:
    ORA-01858: se ha encontrado un carácter no numérico donde se esperaba uno numérico
    El trabajo "SYS"."SYS_IMPORT_FULL_01" ha terminado con 2249 error(es) en 17:21:02

    Hello people,
    I just run for the second time a full import, and it said it finished correctly.
    The first time I run it, there was a message which said that the import had finished with 2249 errors (I checked my log and not all of them were errors but messages). I checked each single message and only had to solve a couple of things.
    I first created a user in response to an ora-29393: user string does not exist or is not logged on.
    The second thing I did was to run the utlrp.sql file in response to an ORA-39082. I did this according to this blog.
    I know oracle is taking precedence each time I run an import. I don’t know if what I have done is okay or perhaps not all data was imported after all. This is the thread which I posted initially when errors came out.
    Any reply is a supply.
    Thanks loads

  • Help understand how this works

    Hows everyone doing, i need some help understand this. This is my first time using Lulu. From the reviews i'v read about it they tell me this is the #1 place to come to to get my books printed. Here the question,  i have all 3 of my books ready to be uploaded do i just sent that in, then they send me the prints ? or so they self them for me. Sorry if this seems like a dumb question, but its my first time using this particular site.

    Here's a quick overview:
    You start the new book wizard. Click "Create," pick a book type and size (hardcover, paperback, etc.; 6x9, 8.5 x 11, etc.), and click "Make this book."
    Hint: If you want the widest distribution for your book, pick a size / type that has a green checkmark next to it.
    The wizard will guide you to name your book, apply an ISBN (or get a free one), upload your contents, and upload your cover or design a cover. It will guide you to set pricing and distribution, and many other options.
    When you've done all that, your book will be available to order. You will see two prices: the one you pay, and the one other people pay. The one you pay is the printing cost per book. It may be anywhere from $2.50 to $20.00 or more, depending on options you pick -- probably coser to the low end.
    On that first page, where it says "Create," there is a calculator that will figure roughly what your book will cost (printing costs), so you can plan your options around that calculator.
    So you order as many books as you want, pick shipping, pay with a credit card, and in a few days, the books are on your doorstep.
    I hope that helps.

  • Help understanding ABAP Proxies

    Can someone point me to documentation to help understand ABAP proxies?  What they are, why I would use them and what are the considerations in using them over BAPI's or IDOCS?  I had a recent discussion with someone who is choosing to not use them because of security considerations.

    Hi Rick,
    For ABAP proxy documentation refer...
    http://help.sap.com/saphelp_nw04/helpdata/en/ab/585f3c482a7331e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/content.htm
    For considerations in using proxy over BAPI's or IDOCS Refer...
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    Regards
    Anand

  • Need some help understanding the way materialized views are applied through

    Hi, I need some help understanding the way materialized views are applied through adpatch.
    In patch 1, we have a mv with build mode immediate. When applying it PTS hang due to pool performance of mv refresh.
    So we provide patch 2, with that mv build mode deferred, hoping it'll go through. But patch 2 hang too on the same mv.
    How does this work? Is that because mv already exists in the database with build immediate, patch 2 will force it to refresh first before changing build mode? How to get over this?
    Thanks,
    Wei

    Hi Hussein,
    Thank you for the response.
    Application release is 11.5.10.
    Patch 1 is MSC11510: 8639586 ASCP ENGINE RUP#38 PATCH FOR 11.5.10 BRANCH
    Patch 2 is MSC11510: 9001833 APCC MSC_PHUB_CUSTOMERS_MV WORKER IS STUCK ON "DB FILE SEQUENTIAL READ" 12 HOURS
    The MV is APPS.MSC_PHUB_CUSTOMERS_MV
    This happens at customer environment but not reproducable in our internal environment, as our testing data is much smaller.
    Taking closer look in the logs, I saw actually when applying both patch 1 and patch 2, MV doesn't exist in the database. So seems my previous assumption is wrong. Still, strange that patch 2 contains only one file which is the MV.xdf, it took 7 hours and finally got killed.
    -- patch 1 log
    Materialized View Name is MSC_PHUB_CUSTOMERS_MV
    Materialized View does not exist in the target database
    Executing create Statement
    Create Statement is
    CREATE MATERIALIZED VIEW "APPS"."MSC_PHUB_CUSTOMERS_MV"
    ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 LOGGING
    STORAGE(INITIAL 4096 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 4 FREELIST GROUPS 4 BUFFER_POOL DEFAULT)
    TABLESPACE "APPS_TS_SUMMARY"
    BUILD IMMEDIATE
    USING INDEX
    REFRESH FORCE ON DEMAND
    WITH ROWID USING DEFAULT LOCAL ROLLBACK SEGMENT
    DISABLE QUERY REWRITE
    AS select distinct
    from
    dual
    AD Worker error:
    The above program failed. See the error messages listed
    above, if any, or see the log and output files for the program.
    Time when worker failed: Tue Feb 02 2010 10:01:46
    Manager says to quit.
    -- patch 2 log
    Materialized View Name is MSC_PHUB_CUSTOMERS_MV
    Materialized View does not exist in the target database
    Executing create Statement
    Create Statement is
    CREATE MATERIALIZED VIEW "APPS"."MSC_PHUB_CUSTOMERS_MV"
    ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 LOGGING
    STORAGE(INITIAL 4096 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 4 FREELIST GROUPS 4 BUFFER_POOL DEFAULT)
    TABLESPACE "APPS_TS_SUMMARY"
    BUILD DEFERRED
    USING INDEX
    REFRESH COMPLETE ON DEMAND
    WITH ROWID USING DEFAULT LOCAL ROLLBACK SEGMENT
    DISABLE QUERY REWRITE
    AS select distinct
    from dual
    Start time for statement above is Tue Feb 02 10:05:06 GMT 2010
    Exception occured ORA-00028: your session has been killed
    ORA-00028: your session has been killed
    ORA-06512: at "APPS.AD_MV", line 116
    ORA-06512: at "APPS.AD_MV", line 258
    ORA-06512: at line 1
    java.sql.SQLException: ORA-00028: your session has been killed
    ORA-00028: your session has been killed
    ORA-06512: at "APPS.AD_MV", line 116
    ORA-06512: at "APPS.AD_MV", line 258
    ORA-06512: at line 1
    Exception occured :No more data to read from socket
    AD Run Java Command is complete.
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    AD Java
    Version 11.5.0
    NOTE: You may not use this utility for custom development
    unless you have written permission from Oracle Corporation.
    AD Worker error:
    The above program failed. See the error messages listed
    above, if any, or see the log and output files for the program.
    Time when worker failed: Tue Feb 02 2010 19:51:27
    Start time for statement above is Tue Feb 02 12:44:52 GMT 2010
    End time for statement above is Tue Feb 02 19:51:29 GMT 2010
    Thanks,
    Wei

  • HELP understanding multicam in Premiere CC2014

    So I use multi-cam editing in Premiere Pro CS6 every day, so I understand the concept. Now that we've updated to CC2014, I just can't seem to figure it out.
    For starters, I used to just synch all my clips in a normal timeline, and then nest that timeline in a new sequence, right click, choose "Multi-Cam Sequence" and I was good to go. I just opened up the dedicated multi-cam window and I was all set to edit by live switching between cameras, the play head followed along in the timeline.
    So I tried this in CC2014, since there is no dedicated multi-cam window, I have to double click the multi-cam nest and the source monitor transforms into a multi-cam window. All good. But when I select different cameras, the audio switches with the current camera, where as previously it would just add up all the nested audio no matter which camera I'm on. I have since discovered that from the program monitor options, if I select "Multi Camera" as the view (more on this in a moment) it will now allow me to select or deselect "Multi Camera Audio follows Video." This option seems to have effect in the source monitor either way. What would happen if I had a separate track of just audio? Do I have no way to select this "camera" as the source audio?
    If I play from inside the Source monitor, while playing I can switch between cameras and the audio will stay on the last selected camera. Ok, I think, it's kind of working... but then when I stop to see the edits that I made while live switching, it turns out that NO EDITS were made in the time line. It just changes the camera angle of the whole track, no edits, no live switching. I'm utterly lost. The yellow boarder around the current camera angle never turns red for me, indicating that it isn't recoding anything. Also the play head does not move in the timeline.
    Now I've discovered that the Program monitor settings has it's own option for multi-cam. So I switch from "Composite View" to "Multi-Camera" and this is what I see:
    The current selected camera angle is there, but then there is black. I currently have 4 different camera angle layers. Clicking on either of these two multi-camera Program views does nothing.
    TLDR version: I can't get the selected audio track to stay put, and I can't get multi cam to live switch. Whats going on here?
    -denez

    You need to make the multicam button in the button editor in the Program Monitor visible first.
    Stack the clips in sequence
    Go to Project window and make a new sequence from this sequence and call it e.g. MC,
    Enable Multicam in the timeline (right click nest) and in the Program Monitor (wrench).
    Then you are good to go.

  • Help needed in understanding the concept of hierarchical queries

    I really need help in this matter. I have a flafile containing about 4000 rows. It is from my supplier, it's structure is as follows:
    create table Flatfile
    (Pgroup varchar2(30),
    Pclass varchar2(30),
    Manufacturer varchar2(30),
    Article varchar2(30),
    Price Number(6,2));
    Insert into Flatfile Values
    ('Application Software','Database Software','Oracle','Oracle 10G',115);
    Insert into Flatfile Values
    ('Application Software','Database Software','Microsoft','MS SQL Server 2000',200);
    Insert into Flatfile Values
    ('Application Software','Spreadsheet Software','Microsoft','Excel',100);
    Insert into Flatfile Values
    ('Monitor','15"','Acer','Acer 15"" TFT superscreen',199);
    Insert into Flatfile Values
    ('Monitor','15"','Sony','Sony R1500 flat',225);
    Insert into Flatfile Values
    ('Monitor','17"','Philips','Philips Flatscreen',250);
    Insert into Flatfile Values
    ('Monitor','19"','Viewsonic','Viewsonic PLasma Monitor',275);
    Insert into Flatfile Values
    ('Processor','AMD','AMD','FX-55',600);
    Insert into Flatfile Values
    ('Processor','Intel','Intel','P4 3 GHZ',399);
    My goal is to make a hierarchical query with the start with and connect by clauses. From what I have read is that I need to normalize the data of the flatfile.
    How do I achieve a table which I can query so that the query will represent the hierarchy that exists. Namely
    Pgroup
    ++Pclasse
    Application Software
    ++Database Software
    ++Spreadsheet Software
    So a 2-level hierarchy. I'd like to understand this simple concept first. I built on the knowledge that I gain. So the questions are:
    1.What do I need to do to make the table so that I can use a hierarchical query on it?
    2. How should the query syntax be?
    3. Is it also possible to get the data in the hierarchical query sorted asec?
    I would only like to use the simple structures of the start with and connect by clauses first. I've read there are some new additions to 10G. The problem with the examples used by the tutorials is that the tables are already made so that they are suitable for hierarchical queries. I hope to understand it by this example. And take it a step further.
    Sincerely,
    Pete

    Primarily hierarchy query serves to process tree-like structures which RDBMS simulates using through parent-child relation, often in a single table (see famoust
    EMP table where employee can have the manager who is an employee at the same time).
    In your case it could look like:
    SQL> select pgroup, pclass from flatfile;
    PGROUP                         PCLASS
    Application Software           Database Software
    Application Software           Database Software
    Application Software           Spreadsheet Software
    Monitor                        15"
    Monitor                        15"
    Monitor                        17"
    Monitor                        19"
    Processor                      AMD
    Processor                      Intel
                                   Application Software
                                   Monitor
                                   Processor
    12 rows selected.
    SQL> select decode(level,1,pclass,'  ' || pclass), Manufacturer from flatfile
      2  start with pgroup is null
      3  connect by prior pclass = pgroup
      4  /
    DECODE(LEVEL,1,PCLASS,''||PCLASS MANUFACTURER
    Application Software
      Database Software              Oracle
      Database Software              Microsoft
      Spreadsheet Software           Microsoft
    Monitor
      15"                            Acer
      15"                            Sony
      17"                            Philips
      19"                            Viewsonic
    Processor
      AMD                            AMD
      Intel                          Intel
    12 rows selected.The hierarchy syntax is described completely in the documentation including
    LEVEL and PRIOR keywords.
    As for the ordering question you can use siblings ordering:
    SQL> select decode(level,1,pclass,'  ' || pclass), Manufacturer from flatfile
      2  start with pgroup is null
      3  connect by prior pclass = pgroup
      4  order siblings by 1 desc
      5  /
    DECODE(LEVEL,1,PCLASS,''||PCLASS MANUFACTURER
    Processor
      Intel                          Intel
      AMD                            AMD
    Monitor
      19"                            Viewsonic
      17"                            Philips
      15"                            Acer
      15"                            Sony
    Application Software
      Spreadsheet Software           Microsoft
      Database Software              Oracle
      Database Software              Microsoft
    12 rows selected.Rgds.

  • Help me understand the concept of this timeline

    I am coming from Final Cut Express and having a hard time understanding IM 09.
    - I drag the clip into the Project
    - I drag over the entire clip so that it has the yellow border around it
    - I want to place a cut between the 2nd and third thumbnail so I drag the left border of the yellow rectangle inward and until it rests on the vertical border between the 2nd and third thumbnail
    - I choose Edit > Split Clip
    1.) Does this sound correct? Is that the right way to use the yellow rectangle to designate an area to cut at?
    Thanks for any input!

    stanwelks wrote:
    ... - I want to place a cut between the 2nd and third thumbnail so I drag the left border of the yellow rectangle inward and until it rests on the vertical border between the 2nd and third thumbnail
    - I choose Edit > Split Clip
    1.) Does this sound correct? ..
    No.
    a) no manual split needed:
    • you drag clip#2 to desired position in clip#1
    • place mouse IN clip#1: you'll notice, cursor changes into a green plus-sign
    • when releasing mouse, a context-menu appears…
    • choose insert - done.
    compare with your workflow in FCE:
    select portion of clip (I/O-points), drag to canvas, select insert from menu..
    b) ... +between the 2nd and third thumbnail+ .. wrong again.
    in iM09 you don't orientate on thumbnails. (sidenote: these differ on zoom-factor )
    you orientate yourself by content in the Preview/'Canvas'
    iM09 offers a faster-than-realtime preview of your clip (skimming)
    for a consumer (like me), it is often easier to say: the insert of the broken car has to be between 'Auntie Ina smiling' and 'Auntie Ina's face falling' down.. wherever this is in time..
    real content vs abstract time
    when you switch on the 'advanced' tool, the context menu offer quite more features:
    don't hesitate to watch the tutorials ..

  • Help required to understand the concepts for data files in tablespace

    Hi Guys!
    Conceptual understanding for data files.
    A tablespace is having 2 datafiles.
    What once the data files will get full? I know we can create data files but what if there is no space on the server for any additional file to be created?
    Do we require to make the oldest file offline and move outside the environment?
    Thanks

    782790 wrote:
    Hi Guys!
    Conceptual understanding for data files.
    A tablespace is having 2 datafiles.
    What once the data files will get full? I know we can create data files but what if there is no space on the server for any additional file to be created?
    Do we require to make the oldest file offline and move outside the environment?
    ThanksIf the datafiles are full, there is not much that you would get from the "defragmentation" of the datafiles. It would be sort of like this in the start,
    FFFFFFFFFFFFFFFFFFFFFFFFFF
    Then it will be ,
    FFFFFFFUUUUUFFFFFUUUUUU
    So what you are going to get is something like this, (if would be done),
    FFFFFFFFFFFFFUUUUUUUUUU
    So that's how the datafile would like. But that won't give you much of the space anyways still. The option to add a storage must be there with you. The file being offline wont take away the space that it has already allocated. And moreover, doing so, would also impact the access to the data that it would be storing within it.
    HTH
    Aman....

  • Want to understand SID concept...

    Hello experts,
    why not using the value like e. g. customer number directly in the dimension table instead of a SID? So I also could save one table (SID table)  and with this on JOIN by linking directly to the master data tables (text, attributes, hierarchies) using customer no. as key.
    Am I wrong? Is it only because of this INT4 thing with the SIDs whitch maybe results in better performance?
    What I maybe understand is compounding, it seems to be hard to make here a connection to the right master data table. But if I wouldn't have this case, why else could be this SID useful?
    Best regards,
    Peter

    Hello Siggi,
    thank you for your answer and the linke you provided. I think star schema concept and using surrogate ID's for dimension tables is absolute clear for me and I see the advantage there.
    How I said, faster DB access using INT4 values instead of characters is also a point I understand. On the other side SAP BW offers you to use a line item dimension which saves a join and result in a better performance.
    But why not give the BW developers the chance to decide if you want use it? If your InfoObject is a numeric one, you are may be much faster, saving a join and having an even easier to handle value.
    What I am interested in is, if SID technology is so deeply part of SAP BW, for example if you want to report on an DSO you also need SID's, what is the real advantage usind SID's every time for access of InfoCube or DSO data?
    See, i read for example the following advantages of BW star schema on [this site|http://learnmysap.com/sap-bw/138-classic-and-sap-bw-star-schema-comparisons.html]:
    -> Faster access to data than via long alpha-numeric keys. SAP BW use automatically generated INT4 keys for SID and Dimension ID
    ->  Can model in easy way: Historizing, multi-lingual, and shared dimensions. It is happen because of the excavation of master data from the dimension tables using the SID technique.
    ->  The query performance is improved here as aggregated key figures can be stored in their own fact tables.
    OK, first point about INT4-keys we discussed.
    I completly don't understand the second point and why therefore SID's are needed.
    Third point depends on disadvantages of the classical star schema compared to bw aggregates, a point I understand
    Often I read: The SID table provides the link between the master data and the dimension tables. (like here: /people/githen.ronney3/blog/2008/02/13/modeling-strategies)
    But why shouldn't this be possible just with the key value?
    Even SAP just describes his enhanced star schema without SID's, but technically SID's are used. Why not use it like SAP itself describes here:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/4c/89dc37c7f2d67ae10000009b38f889/content.htm
    regards,
    Peter

  • Understanding library concept

    Can anyone refer me to a book covering the Library concept? I was a highly organized PC user with file structures on an external drive (both original and backup) that I accessed from 3 PCs/laptops on my home wireless network. I could find a file by getting to the directory. I copied all my files over to my recently purchased iMac and Mac formatted external drive and now I have tons of duplicate images, audio and video files on my admin Mac logon and my Mac user logon. I can't seem to grasp the concept of libraries. Is the mac os importing the actual files into a library or is it creating a link to the actual files when I open itunes and iphoto?? I have discovered the "option" to select the external or user library and enabled the "share" function but that isn't helping to cross manage all the files. Eventually I would like to find EVERYTHING, eliminate duplicates and then back them up again. But I need first to understand what a library is and how it differs from the PC directories. If I try using Finder to get to a Library, I just hit a dead end, no actual files are displayed. A book or web link to explain this concept would be most helpful. Thanks, Sandi MacD

    Both iTunes and iPhoto give you the option of what to do with files added to the libraries. You'll find that in Itunes/iPhoto>Preferences>Advanced.
    I've always added files to the apps' library. Easier to backup the whole library folder.
    A basic difference is that Mac applications are menu driven (do everything from the options in the program) compared to the directories driven world of Windows. It takes some effort to break old habits.
    A warning for Mac converts. Don't mess around inside the applications library folders. They are kept a special way. Changes inside the library folder through the finder are sure to cause problems or disaster.
    Just try to do your organizing working in the application.
    I can't give you a specific book, but the Missing Manual series is sure to have what you need.

Maybe you are looking for

  • What do I do to fix a software issue when it's not being recognized by iTunes?

    My iPad was working fine but all of a sudden it decided to to get stuck in a reboot loop. It's telling me the battery is dead when I don't plug it in and when it is plugged in to power it's in the reboot loop.I tried to plug it into iTunes but iTunes

  • Messages are in to be delivered status

    Many messages are in to be delivered status in the adapter engine message monitoring Can any body help regarding this

  • Free templates for Keynote

    Hi, Where can we find great templates for Keynote ? <Edited by Host> Thanks.

  • Collection of design pattern

    Hello, does exist a collection of design patterns for developing webdynpro for abap? Best regards Oliver Prodinger

  • Merge Repository - Question

    I have tested merging repositories using some threads and the following link: http://oraclebizint.wordpress.com/2007/11/22/oracle-bi-ee-101332-merging-repositories/ The scenario I set up was that I made a copy of the Paint.rpd file and renamed it Pai