Relationship Notation

I am having a hard understanding the notation employed for the "Long Name" that appears in the Relationship Properties dialog.
Assume the following facts:
1) The parent object is the Source. Source is mandatory. Source to child (target) cardinality is "*" - i.e. the parent may have zero to many children.
Hence the Source Cardinality dialog shows the values "Source to Target Cardinality = *, and Source Optional check box is blank (i.e. parent is mandatory).
2) The child object is the Target. Target is optional. Target to parent (source) cardinality is "1' - i.e. the child must have exactly one parent.
Hence the Target Cardinality dialog shows the values "Target to Source Cardinality = 1, and Target Optional check box is checked (i.e. child is optional).
This results in a "Long Name" value of "Relation_X (ParentName - 1..*:0..1 - ChildName)"
This notation can be read as "ParentName has 1 to many ChildName" which would be incorrect.
Or, the notation can be read as "ParentName has zero or 1 ChildName, which also would be incorrect.
I don't know how to interpret the "Long Name" notation to make it consistent with the facts of this case. What am I missing?

RE: The parent object is the Source. Source is mandatory. Source to child (target) cardinality is "*" - i.e. the parent may have zero to many children.
I think by setting the Source to mandatory you are saying "The parent must have 1 to many children."
I think the problem you are having is the limited detail and sometime confusing User's Manual.
Here's what it says about the first checkbox:
Relation Cardinality: Source Optional: Controls whether the source entity in a relationship must, by default, contain one or more instances. If this option is enabled, source instances are not required for all relationship types; if this option is disabled, one or more source instances are required for all relationship types.
My interpretation of this is that the Source Optional checkbox determines whether or not the target entity is optional for the relationship when viewed from the source. If I'm correct then you are using the checkboxes backwards. (I'm new at this tool, but I've been doing data modeling for 30 years.)

Similar Messages

  • Data retrieval in non-scientific notation from Netezza database

    Hi,
    I have a requirement where my BPEL service fetches data from Netezza database. In the database, there is a field which is of type numeric(16,8) and holds values say '0.00000000'. The select query on the table rerieves data in its scientific notation as '0E-8'.
    Please let me know how to retrieve its value in the form of non-scientific notation.
    Thanks in advance.
    Regards,
    Sitara

    hai
      chowdary,
       it is not possible to retrieve data from maintenace view.
    it is only possible to retrive data from a table or database
    / projection views defined ddic.
    Maintenace views are used to maintain data of an application object together.Data from several tables can be joined and summarized data can be seen of this view based on primary key join relationship using SM30.U make any changes  or view the data there only.
    if useful, reward points.
    By
    G.V.K.Prasad
    Edited by: PRASAD GVK on Apr 13, 2008 3:36 PM

  • Q:  Data Modeler - Logical Model - 0 or 1 to....relationships...

    Hi,
    I’m currently at a client where we’re using Oracle SQL Developer Data Modeler to design our Logical Data Models (as part of an overall deliverable).
    When in the Oracle SQL Developer Data Modeler (in the logical view), I’m trying to figure out if the tool has the ability to create a “zero or one to” relationship between entities.
    According to the relationship options available, it only seems to show:
    One to One,
    One to Many (*),
    Many (*) to One, or
    Many (*) to Many (*)
    In the preferences – Data Modeler – Diagram – Logical Model, the notation type is set to “Barker”.
    I don’t see anywhere else where configuration can affect the variation of these options…
    Is there a way to show either a “Zero or One to…” relationship between entities?
    I’ve also loaded version 3.1 (beta) and it appears to be behaving the same as 3.0…
    Any insights are greatly appreciated…
    Thanks,
    Patrick

    Hi Kent,
    When I looked at this option, I was expecting to see a "|" and/or "O" in front of the crow's feet. I was not expecting to see a dashed line. Now I know...
    Thanks for your reply.
    Regards,
    Patrick

  • Logical Diagram Notation - Information Engineering Notation

    I'm a little confused about the Logical Diagram Relational Properties diagram. In a parent/child relationship where parent is required and children are optional, the Source to Target Cardinality must be set to * and Target to Source Cardinality to 1. Source Optional pertains to the Source and is unchecked and Target Optional is checked. A bit inconsistent and untuitive to me to have one Source setting describe the source and the other Source setting describe the Target, but fine. Those settings display correctly in Barker and Bachman notation.
    If, however, you switch the notation to Information Engineering Notation, the optional settings are revered and display incorrectly. Checking Source Optional controls the optionality of the Target and visa versa.

    If, however, you switch the notation to Information Engineering Notation, the optional settings are revered and display incorrectly. Checking Source Optional controls the optionality of the Target and visa versa.Optionality is represented at the other end of the line in IE notation.
    Philip

  • Arc with recursive relationship

    Version 3.1.1: I'm trying to add an arc to a logical data model using Barker Notation. The problem is that when one of the relationships is recursive, the tool does not ask which end to use and does not draw the arc correctly. I think this is a defect. Is there a work around? I'm new to this tool.

    RE: It's interesting what are you going to express with that.
    In 30 years of data modeling I've never needed to show both ends of a recursive relationship as mutually exclusive, but that would be the case if the business wanted to enforce a two level hierarchy rule - every entity could be either the parent of one or more children or the child of one parent, but since only two levels are allowed not both at once.
    On the other hand it is very common for one end of a recursive relationship to be mutually exclusive with some other relationship. For example, in a hierarchy only leaf nodes can have some other relationship.
    Rich

  • One to many relationship question.

    Let's say we have table1 and table2
    Table1 has ID, and let's say Name for fields.
    Table2 has ID, and let's say SSN for fields.
    This is not so, but illustrates my points well.
    Table2 has many records with the same ID, who just happen to have the same SSN. That would usually be a logical conclusion.
    Table1 has only 1 of each ID in it. So you might say that ID is a foreign key in table2, except one problem. I don't think they know what primary keys are here, much less foreign keys.
    Anyway, I have to write a query where I get the ID from table1 and need the SSN from table2. That's the only place in this scenario that SSN is.
    My question is this - since this is a one to many relationship, yet I only need 1 result, how would I write this using the (+) way of notation? I am using 8i.
    Right now, I am doing something like this, using a DISTINCT:
    Select DISTINCT t1.ID, t1.Name, t2.SSN
    From table1, table2,
    Where t1.ID = t2.ID (+);
    First of all, is this the correct way of writing it?
    And second, I am wondering if, perchance for some error, there were 2 or more SSNs in table2, what would happen then? Would I get a too many rows error?
    And if so, how can I trap it and possibly get just the first occurrence of it?
    Is that even a sound way of doing it?
    Thanks for any thoughts here.

    You would need to turn your table2 into an in-line view in order to outer join to it properly. Minimally, something like:
    SELECT t1.id, t1.name, t2.ssn
    FROM table1 t1,
         (SELECT DISTINCT id, ssn
          FROM table2) t2
    WHERE t1.id = t2.id(+)If there may be multiple ssn in t2 for a single id, you will need to determine which one you want to keep and use something like:
    SELECT t1.id, t1.name, t2.ssn
    FROM table1 t1,
         (SELECT id, ssn
          FROM (SELECT id, ssn,
                       ROW_NUMBER() OVER (PARTITION BY id,
                                          ORDER BY column_that_makes_it_first) rn
                FROM table2)
          WHERE rn = 1) t2
    WHERE t1.id = t2.id(+)This should work on 8.1.7.4 Enterprise Edition. If you have a different version, then the analytic function may not work so you would need something more like:
    SELECT t1.id, t1.name, t2.ssn
    FROM table1 t1,
         (SELECT id, ssn
          FROM (SELECT id, ssn, rownum rn
                FROM (SELECT id, ssn,
                      FROM table2
                      ORDER BY id, column_that_makes_it_first))
          WHERE rn = 1) t2HTH
    John

  • UML Relationships

    In regards to implementation of UML Relationships using Java, how are Aggregation and Dependency relationships typically implemented. I have Association and Generalization but am missing the other two.
    Association - in Java, implemented as member variables in participating classes
    Generalization - in Java, implemented using inheritance in source code (using extends keyword)
    Aggregation/Composition - ? member variables also ?
    Dependency - ?

    So, Aggregation and Composition are special types of Associations. Put simply yes, though you will often find that people use associations during the early part of the analysis then resovlved this to either Aggregation or Composition as the class diagram design emerges from the domain model.
    I describe aggregation as a dynamic association and composition as a static association.
    So I would describe a Car as a composition which includes an Engine, without an Engine it is not really a Car. Composition is implicitly a bi-directionally realationship.
    class Car {
    Engine engine = New  Engine( this ) ;
    class Engine {
    Car car = null ;
    public Engine(Car car) {
    this.car = car;
    }I could describe a Car and it's Driver as aggregation, a car is still a car without a driver and the lifetime of an instance of a car and the driver are not linked (well not usually :). A car has many drivers linked to it at various times during its lifetime.
    class Car {
    Driver driver;
    public setDriver( Driver driver) {
    this.driver = driver;
    driver.drive( this ) ;
    class Driver {
    Car car;
    public drive(Car car) {
    this.car = car;
    They too are implemented via class variables. They are more properly described as object references.
    These may be Associative Classes, between the two Classes. In this example a Hashtable.
    class Car {
    Hashtable passengers;
    public setPassenger( Passenger passenger) {
    this.passengers.add( passenger ) ;
    And those special rules you mention are
    contingent upon how the developer writes the
    application. Or in another way, it is the
    responsibility of the developer to enfore the rules of
    Association and Composition. There is nothing in the
    Java 2 language that governs this behavior.True, mapping the association types from UML notation to code is the programmers job, and the exact implementation may vary with language semantics.. Though the OMG are defining the MDA to define the relationship bewteen UML model and implementation code.

  • Specific EJB-QL query for m:n relationship

    Hi all,
    could anyone help me to write EJB-QL query? I'm designing an application and not sure how to express the following query in EJB-QL notation:
    For demo study imagine the following schema (from Sun J2ee tutorial):
    Player ------- Team
    with m:n relationship
    Players: John, Mike, Tom. Jim
    Teams: RedHeads, WhiteKnees, BigPlayers
    I want to write a query that finds all players that are NOT in e.g. RedHeads team (they can be members of other teams).
    Thanks,
    Tomas

    Can't help you on presenting an all cooked up query, but I suggest solving this kind of problem with a SessionBean containing the logic to filter players in the e.g. RedHeads team.
    Using a finder method is very costly, the general advise I hear is using EJBQL only when you really need to and only 'findByName' or 'findAll' style. If you know what I mean.

  • Characteristic Relationship BI-IP

    Hi,
    I am trying to create the following characteristic relationship on real time planning cube.
    Within the realtime cube I have 0fiscper and 0fiscvarnt being populated.
    I also want to calculate 0calquarter and 0halfyear1.
    For this I have created a DSO which has 0fiscper and 0fiscvarnt as the key and 0calquarter and 0halfyear1 as the data fields. I am populating 0fiscper and 0fiscvarnt during the upload and calculating 0calquarter and 0halfyear1 via a routine.
    I am now trying to create the characteristic relationship, but when I enter the DSO technical name, I get the following error message:
    DataStore object '....' does not have a data field from the InfoProvider; this object is invalid here.
    Any ideas why this happening, all the fields in the DSO exist in the realtime cube.
    Thanks
    DJL

    Hi
    For time characteristics, there are standard characteristic relationships.. dont see why need to create them.
    if it is for fiscvarnt-fiscper combination: guess no need for other things.
    Also if u r specifying DSO name in planning modeler, I guess u can look up the DSO thru F4 help.
    rgds
    Deepak

  • Training and Event Management: Relationships

    Hi TEM Experts,
    What are the appropriate steps, or best practice, if the event we want to add is a one off, and wasn't really scheduled? Do we need to go through the entire PSV1, PV12, etc. process just to add a one off event so that it shows up on the employee training report? What if we only want to create the relationship between person and business event type, but what report to run to show it?
    Thanks in advance,
    Susan
    Edited by: Susan Wong on Oct 27, 2008 9:15 AM

    Hi,
    Relationships in TEM
    1. A025 is participated by Person (P) for the course (E) - P to E relation A025 (Participated by)
    2. Org unit - A025 (Taken part) for the course (E) - O to E relation A025 (Taken part)
    Tha above said are only sample relationship in TEM, pl check table T777E for further relationships.
    Pl let us know if you are not understood.
    Appriciate awarding points.
    Thanks,
    Nandagopal C
    Edited by: Nandagopal Chiranjeevi on Oct 29, 2008 12:56 PM

  • How can I display  contacts in a relationship

    I have companies in my CRM. I have a customers/contacts in the CRM I have tied as a relationship with each companies. How can I display all the records/contacts associated with a company? I have a already created a secure zone, so the company user would have logged in. Is this possible? If not, any workaround?
    The only workaround I thought of is to use webapp to import the company data and create another web app containing the employees data. Then link both tables/webapp using datasource. But the way the client's data is structured could create a lot of problems going forward.
    Any suggestion, help will be appreciated

    The relationship feature and how companies work currently in BC is really limited. It is an association and not true relationships at the moment. You cant output a company and show all its relationships at the moment.

  • Error while adding a used relationship between the New DC and the Web DC

    Hi Gurus
    We are getting the Error in NWDS while Adding  a used relationship between the New DC and the Web DC.
    Steps what we are Done
    1. Create the custom project from inactiveDC's
    2.creating the project for the component crm/b2b in SHRAPP_1
    3.After that we changed the application.xml and given the contect path.
    4.Then we tried to add Dependency to the custom create DC we are getting the error saying that illegal deppendency : the compartment sap.com_CUSTCRMPRJ_1 of DC sap.com/home/b2b_xyz(sap.com.CUSTCRMPRJ_1) must explicitly use compartment sap.com_SAP-SHRWEB_1 of DC sap.com/crm/isa/ like that it was throwing the error.
    so, we skip this step and tried to create the build then it is saying that build is failed..
    Please help us in this regard.
    Awaiting for ur quick response...
    Regards
    Satish

    Hi
    Please Ignore my above message.
    Thanks for ur Response.
    After ur valuble inputs we have added the required dependencies and sucessfully created the projects, then building of the  projects was also sucessfully done and  EAR file was created.
    We need to deploy this EAR file in CRM Application Server by using the interface NWDI.
    For Deploying the EAR into NWDI, we need to check-in the activites what i have created for EAR. once i check-in the activites ,the NWDI will deploy the EAR into CRM Application Server.
    In the Activity Log we are able to check the Activities as Suceeded but the Deployment column is not showing any status.
    When i  right click on my activity Id the deployment summery is also disabled.
    So finally my Question is that where can i get the deployment log file, and where can i check the deployment status for my application..
    Any pointers in this regard would be of great help..
    Awaiting for ur valuble Responses..
    Regards
    Satish

  • Automatic creation of BP relationship while BP is created

    We are implementing CRM SALES and using Portal as the user interface.
    The requirement is that a Sales Rep should be able to see only the
    accounts and contacts (which is nothing but Business partners in the
    GUI side) that they have created when they list account using  "My
    Accounts" in Portal. We are configuring Portal in a such a way that
    "My Accoounts" is the only view available for Sales Rep portal.
    I have tested and found that if a relationship category of "is the
    reponsible employee" is created from  the sales rep to the Account OR
    Contact then that account or contact will be displayed in the "My
    Accounts" or "My Contact"view in Portal.
    But requesting a Sales Rep to create the relationship for every
    Account and Contact that they create in CRM will NOT be accpetable at
    all.
    Hence I am looking for an option with which a relationship of "is the
    Responsible Employee" can be created automatically when an account or
    contact is created by the Sales Rep.
    Please let me know your ideas.

    Hi Rajadurai,
    In the BADI - BUPA_FURTHER_CHECKS implement the method - CHECK_CENTRAL.
    The following code could serve your purpose:
    IF IV_ACTIVITY eq '01'. "Check if it is for creation
      CALL FUNCTION 'BUPR_RELATIONSHIP_CREATE'
       EXPORTING
        IV_PARTNER_1 = IV_PARTNER
        IV_PARTNER_2 = LV_createdby "BP no of the creator
        IV_RELATIONSHIP = 'BUR011' "Code for emp. resp
        IV_DATE_FROM = SY-DATLO
        IV_DATE_TO = '99991231'.
    endif.

  • Creation of new fields for business partner relationship

    Hi experts,
    We are currently on SAP CRM 7.0 EHP1.
    We have a requirement to maintain a custom checkbox (Relevant for business) on each business partner relationship.
    Can you please let us know on how we can achive this requirement.
    Thanks in advance,
    Vamsi.
    Moderation: Duplicated. I lock this one and continue here: [Create a new field in Business Partner Relationships|Create a new field in Business Partner Relationships#10795912]
    Edited by: Joaquin Fornas on Nov 8, 2011 12:17 PM

    Please, anyone can help?
    Thanks!!

  • Creation of New field in Relationship block of contact page

    Hi,
    I have created a new field as value attribute in Relationship block of contact overview page. Since both AET and EEWB did not allow creation of the field as part of BUT051 I had to create value atribute. I have custom logic for the field. Can you please let me know how I can populate the field.
    Thanks,
    JC

    Hi JC,
    The context node that you are using is a mixed node, so from this node you need to get value node so that you can cast the value into cl_bsp_wd_value_node.
    Here's the sample code for getter and setter method of that attribute:
    DATA:
       lr_mixed TYPE REF TO cl_bsp_wd_mixed_node,
       lr_value_node TYPE REF TO cl_bsp_wd_value_node.
    lr_mixed ?= current  or lr_mixed ?= iterator. " use either of the code i dont have system right now
    lr_value_node ?=  lr_mixed_node->if_bsp_wd_ext_property_access~get_value_node( ).
    Here, from lr_value_node get the property access method and set the attribute value to VALUE parameter.
    Thats it
    Thanks,
    Bhushan

Maybe you are looking for

  • TDD JUnit

    Hi, I have been trying to use Test driven development and work back from test cases. So far I have these test cases: package poly; import static org.junit.Assert.*; import org.junit.Test; public class ConEqTest {      private int min = Integer.MIN_VA

  • Iphoto update "The photo "X" could not be opened, because the original item cannot be found."

    Updating iphoto and get the Alert "The photo "X" could not be opened, because the original item cannot be found." Which is because I have archived thousands of photos offline. I can't go through the entire list one by one hitting the "cancel" button,

  • How do I change the bit depth when i edit with a plugin

    I have the latest version of Aperture and the latest version of Perfect Photo Suite from OnOne software.  My problem is that when I r/click on a photo in Aperture and click edit with plugin and chose with Perfect Photosuite it sends a file to Photosu

  • MBP+WinXP won't connect to network. It sees the wireless network but stops.

    I've been fighting this for two solid days. Time Capsule takes an address automatically from my router/modem. The MacBook Pro connects wirelessly thru Time Capsule to my ethernet network and the internet. No problems. Windows XP on the same Mac wirel

  • Integrate "Linux Binary Library" into program

    Hello Everyone, I am trying to create diferent kind of application, like a DVD burner, ArchLinux usb Creator, WBFS Manager (I know that they exist a lot out there but I want to create mine in qt) etc..  and I know how to do this by using the command