[Commits] (jeffrey) Changed homeSection and workSection to have specific inverseAttributes (homeSectionFor and workSectionFor).

commits at osafoundation.org commits at osafoundation.org
Mon Mar 8 08:54:04 PST 2004


Commit by: jeffrey
Modified files:
osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml 1.17 1.18

Log message:
Changed homeSection and workSection to have specific inverseAttributes (homeSectionFor and workSectionFor).


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml.diff?r1=text&tr1=1.17&r2=text&tr2=1.18

Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml:1.17 osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml:1.18
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml:1.17	Sat Jan 17 18:29:36 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml	Mon Mar  8 08:53:34 2004
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
-<!-- $Revision: 1.17 $ -->
-<!-- $Date: 2004/01/18 02:29:36 $ -->
+<!-- $Revision: 1.18 $ -->
+<!-- $Date: 2004/03/08 16:53:34 $ -->
 <!-- Copyright (c) 2003 Open Source Applications Foundation -->
 <!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
 
@@ -51,17 +51,36 @@
     <inverseAttribute itemref="contact:sections"/>
   </Attribute>
 
+  <Attribute itemName="homeSectionFor">
+    <displayName>Home Section For</displayName>
+    <description>A reference to the contact if this is the contact's home section.</description>
+    <cardinality>single</cardinality>
+    <type itemref="contact:Contact"/>
+    <inverseAttribute itemref="contact:homeSection"/>
+  </Attribute>
+
+  <Attribute itemName="workSectionFor">
+    <displayName>Work Section For</displayName>
+    <description>A reference to the contact if this is the contact's work section.</description>
+    <cardinality>single</cardinality>
+    <type itemref="contact:Contact"/>
+    <inverseAttribute itemref="contact:workSection"/>
+  </Attribute>
+
+
   <Attribute itemName="workSection">
     <displayName>Work Section</displayName>
     <description>A section of the contact for keeping track of work phone, work address, etc.</description>
-    <superAttribute itemref="contact:sections"/>
+    <type itemref="contact:ContactSection"/>
+    <inverseAttribute itemref="contact:workSectionFor"/>
     <cardinality>single</cardinality>
   </Attribute>
 
   <Attribute itemName="homeSection">
     <displayName>Home Section</displayName>
     <description>A section of the contact for keeping track of home phone, home address, etc.</description>
-    <superAttribute itemref="contact:sections"/>
+    <type itemref="contact:ContactSection"/>
+    <inverseAttribute itemref="contact:homeSectionFor"/>
     <cardinality>single</cardinality>
   </Attribute>
 
@@ -238,6 +257,8 @@
     <issues>We also need attributes for basic vCard info, like 'Timezone'. Optionally, we might also want other vCard attributes like 'Job Role', 'Latitude', 'Longitude', 'Mailer (a MIME X-Mailer value)', 'Business card logo', 'Agent or Assistant', 'Department', 'vCard Categories', 'vCard Note', 'Sound', 'UID', 'Public Key', and 'Source'.</issues>
     <issues>We also probably want some other attributes in order to interoperate with Outlook, like 'Language', 'Referred By', etc.</issues>
     <attributes itemref="contact:sectionOwner"/>
+    <attributes itemref="contact:homeSectionFor"/>
+    <attributes itemref="contact:workSectionFor"/>
     <attributes itemref="contact:phoneNumbers"/>
     <attributes itemref="contact:emailAddresses"/>
     <attributes itemref="contact:streetAddresses"/>



More information about the Commits mailing list