Author: alexoree
Date: Wed Feb 12 03:35:36 2014
New Revision: 1567512

URL: http://svn.apache.org/r1567512
Log:
JUDDI-821 adding canned items for some additional identifiers, adding tmodel 
defs. fixing i18n issue for popup.
JUDDI-849 adding javadoc for address, addressline and contacts


Modified:
    
juddi/trunk/juddi-core/src/main/resources/juddi_install_data/UDDI_tModels.xml
    
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web.properties
    
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web_es.properties
    juddi/trunk/juddi-gui/src/main/webapp/bindingEditor.jsp
    juddi/trunk/juddi-gui/src/main/webapp/businessEditor2.jsp
    juddi/trunk/juddi-gui/src/main/webapp/editSubscription.jsp
    juddi/trunk/juddi-gui/src/main/webapp/quickref_ident.jsp
    juddi/trunk/juddi-gui/src/main/webapp/serviceEditor.jsp
    juddi/trunk/juddi-gui/src/main/webapp/tmodelEditor.jsp
    juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/Address.java
    juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/AddressLine.java
    juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/Contact.java

Modified: 
juddi/trunk/juddi-core/src/main/resources/juddi_install_data/UDDI_tModels.xml
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-core/src/main/resources/juddi_install_data/UDDI_tModels.xml?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- 
juddi/trunk/juddi-core/src/main/resources/juddi_install_data/UDDI_tModels.xml 
(original)
+++ 
juddi/trunk/juddi-core/src/main/resources/juddi_install_data/UDDI_tModels.xml 
Wed Feb 12 03:35:36 2014
@@ -1811,6 +1811,12 @@
                <overviewURL useType="text">
                  
http://uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#ISO6523Code
                </overviewURL> 
+               
http://metadata-stds.org/Document-library/Draft-standards/6523-Identification-of-Organizations/ICD_list.htm
+         </overviewDoc> 
+         <overviewDoc>
+               <overviewURL useType="text">
+               
http://metadata-stds.org/Document-library/Draft-standards/6523-Identification-of-Organizations/ICD_list.htm
  
+               </overviewURL> 
          </overviewDoc> 
          <categoryBag>
                <keyedReference keyName="uddi-org:types:identifier"      
keyValue="identifier"       tModelKey="uddi:uddi.org:categorization:types"/> 
@@ -2176,4 +2182,43 @@
   </categoryBag>
 </tModel> 
 
+
+
+
+
+
+       <tModel 
tModelKey="uddi:uddi.org:ubr:identifier:thomasregister.com:keygenerator">
+         <name>thomasregister-com:key generator</name>
+         <description> Thomas Registry Suppliers key generator</description>
+        <overviewDoc>
+            <overviewURL useType="text">
+                http://uddi.org/pubs/uddi_v3.htm#keyGen
+            </overviewURL>
+        </overviewDoc>
+        <categoryBag>
+            <keyedReference tModelKey="uddi:uddi.org:categorization:types" 
keyName="uddi-org:types:keyGenerator"
+                      keyValue="keyGenerator" />
+        </categoryBag>
+       </tModel>
+
+       <tModel 
tModelKey="uddi:uddi.org:ubr:identifier:thomasregister.com:supplierid">
+         <name>Thomas Registry</name>
+         <name>thomasregister-com:supplierID</name>
+         <description xml:lang="en">This tModel is used for the Thomas 
Register supplier identifier codes.</description>
+        <overviewDoc>
+            <overviewURL useType="text">
+                http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#Thomas
+            </overviewURL>
+        </overviewDoc>
+        <categoryBag>
+            <keyedReference keyName="uddi-org:types:identifier"
+                         keyValue="identifier" 
+                         tModelKey="uddi:uddi.org:categorization:types"/> 
+                       <keyedReference keyName="uddi-org:types:unchecked"
+                         keyValue="unchecked" 
+                         tModelKey="uddi:uddi.org:categorization:types"/> 
+        </categoryBag>
+       </tModel>
+       
+ 
 </save_tModel>
\ No newline at end of file

Modified: 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web.properties
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web.properties?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web.properties
 (original)
+++ 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web.properties
 Wed Feb 12 03:35:36 2014
@@ -433,3 +433,4 @@ exactMatch=Signifies that only entries w
 diacriticSensitiveMatch=Signifies that the matching behavior for name, 
keyValue and keyName (where applicable) should be performed with regard to 
diacritics. This is the default behavior.
 items.service.nobinding=Please save the service first, then you can add 
bindings.
 items.business.noservice=Please save the business first, then you can add 
services.
+actions.popout=Popout

Modified: 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web_es.properties
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web_es.properties?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web_es.properties
 (original)
+++ 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web_es.properties
 Wed Feb 12 03:35:36 2014
@@ -436,3 +436,4 @@ exactMatch=Significa que s\u00f3lo las e
 diacriticSensitiveMatch=Significa que el comportamiento de la coincidencia de 
nombre, keyValue y keyName (en su caso) se debe realizar con respecto a los 
signos diacr\u00edticos. Este es el comportamiento predeterminado.
 items.service.nobinding=Por favor, guarde el servicio en primer lugar, a 
continuaci\u00f3n, usted puede a\u00f1adir enlaces.
 items.business.noservice=Por favor, guarde el negocio en primer lugar, a 
continuaci\u00f3n, puede agregar servicios.
+actions.popout=Salir

Modified: juddi/trunk/juddi-gui/src/main/webapp/bindingEditor.jsp
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/bindingEditor.jsp?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/bindingEditor.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/bindingEditor.jsp Wed Feb 12 03:35:36 
2014
@@ -614,7 +614,7 @@
 
                 </div>
                 <div class="modal-footer">
-                        <a 
href="ajax/toXML.jsp?id=<%=URLEncoder.encode(bd.getBindingKey(), 
"UTF-8")%>&type=bindingTemplate" class="btn btn-primary" 
target="_blank">Popout</a> 
+                        <a 
href="ajax/toXML.jsp?id=<%=URLEncoder.encode(bd.getBindingKey(), 
"UTF-8")%>&type=bindingTemplate" class="btn btn-primary" 
target="_blank"><%=ResourceLoader.GetResource(session, "actions.popout")%></a> 
                         <a href="javascript:closeXmlPop('viewAsXml');" 
class="btn"><%=ResourceLoader.GetResource(session, "modal.close")%></a>
                 </div>
         </div>

Modified: juddi/trunk/juddi-gui/src/main/webapp/businessEditor2.jsp
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/businessEditor2.jsp?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/businessEditor2.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/businessEditor2.jsp Wed Feb 12 
03:35:36 2014
@@ -647,6 +647,7 @@
             <a class="btn "  href="javascript:ViewAsXML();"><i 
class="icon-screenshot icon-large"></i> <%=ResourceLoader.GetResource(session, 
"actions.asxml")%></a>
 
             <%
+            //            <a class="btn "  href="javascript:showAddress();"><i 
class="icon-screenshot icon-large"></i> Address</a>
                   //TODO for 3.2.1 <a class="btn "  
href="javascript:Copy();"><i class="icon-copy icon-large"></i> 
<%=ResourceLoader.GetResource(session, "actions.copy")% ></a>
                }
             %>
@@ -657,6 +658,9 @@
                    if (!newitem) {
 
                %>
+                    function showAddress(){
+                         $("#addressInputModal").modal('show');
+                    }
                function ViewAsXML()
                {
                   $.get("ajax/toXML.jsp?id=<%=URLEncoder.encode(bizid, 
"UTF-8")%>&type=business", function(data) {
@@ -707,21 +711,37 @@
          <h3><%=ResourceLoader.GetResource(session, "actions.asxml")%></h3>
       </div>
       <div class="modal-body" id="viewAsXmlContent">
-
-
       </div>
       <div class="modal-footer">
-         <a href="ajax/toXML.jsp?id=<%=URLEncoder.encode(bd.getBusinessKey(), 
"UTF-8")%>&type=business" class="btn btn-primary" target="_blank">Popout</a> 
+         <a href="ajax/toXML.jsp?id=<%=URLEncoder.encode(bd.getBusinessKey(), 
"UTF-8")%>&type=business" class="btn btn-primary" target="_blank">
+              <%=ResourceLoader.GetResource(session, "actions.popout")%></a> 
          <a href="javascript:closeXmlPop('viewAsXml');" 
class="btn"><%=ResourceLoader.GetResource(session, "modal.close")%></a>
       </div>
    </div>
-   <script type="text/javascript">
-
-   </script>
-
    <%
       }
+      /*
+      <div class="modal hide fade container" id="addressInputModal">
+      <div class="modal-header">
+         <button type="button" class="close" data-dismiss="modal" 
aria-hidden="true">&times;</button>
+         <h3>Business Contact Address</h3>
+      </div>
+      <div class="modal-body" id="addressInputModalBody">
+           <input type="text" id="addressinput_tmodelkey" 
value="uddi:uddi.org:ubr:postaladdress">
+           
+      </div>
+      <div class="modal-footer">
+         <a href="#" class="btn btn-primary" 
target="_blank"><%=ResourceLoader.GetResource(session, "actions.popout")%></a> 
+         <button type="button" class="btn" data-dismiss="modal" 
aria-hidden="true">&times;</button>
+      </div>
+   </div>
+   
+      */
    %>
+   
+   
+      
+      
    <%@include file="keyHelpModal.jsp" %>
    <%@include file="tmodelChooser.jsp" %>
    <!-- container div is in header bottom-->

Modified: juddi/trunk/juddi-gui/src/main/webapp/editSubscription.jsp
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/editSubscription.jsp?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/editSubscription.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/editSubscription.jsp Wed Feb 12 
03:35:36 2014
@@ -359,7 +359,7 @@
 
                    </div>
                    <div class="modal-footer">
-                      <a 
href="ajax/toXML.jsp?id=<%=URLEncoder.encode(sub.getSubscriptionKey(), 
"UTF-8")%>&type=subscription" class="btn btn-primary" 
target="_blank">Popout</a> 
+                      <a 
href="ajax/toXML.jsp?id=<%=URLEncoder.encode(sub.getSubscriptionKey(), 
"UTF-8")%>&type=subscription" class="btn btn-primary" 
target="_blank"><%=ResourceLoader.GetResource(session, "actions.popout")%></a> 
                       <a href="javascript:closeXmlPop('viewAsXml');" 
class="btn"><%=ResourceLoader.GetResource(session, "modal.close")%></a>
                    </div>
                 </div>   

Modified: juddi/trunk/juddi-gui/src/main/webapp/quickref_ident.jsp
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/quickref_ident.jsp?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/quickref_ident.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/quickref_ident.jsp Wed Feb 12 
03:35:36 2014
@@ -11,7 +11,8 @@
                 <li><a 
href="javascript:AddIdentKeyReferenceParam('uddi:uddi.org:ubr:identifier:dnb.com:d-u-n-s','D-U-N-S:My
 Company','12-345-6789');">D-U-N-S</a></li>
                 <li><a 
href="javascript:AddIdentKeyReferenceParam('uddi:uddi.org:ubr:identifier:owningbusiness','uddi-org:owningBusiness','key');">Owning
 Business</a></li>
                 <li><a 
href="javascript:AddIdentKeyReferenceParam('uddi:uddi.org:identifier:taxid','uddi-org:taxid','');">Tax
 ID</a></li>
-
+                <li><a 
href="javascript:AddIdentKeyReferenceParam('uddi:uddi.org:ubr:identifier:thomasregister.com:supplierid','thomasregister-com:supplierID:My
 Business','01234567');">Thomas Registry Supplier ID</a></li>
+                <li><a 
href="javascript:AddIdentKeyReferenceParam('uddi:uddi.org:ubr:identifier:iso6523icd','','');">ISO
 6523 ICD</a></li>
         </ul>
 </div>
 

Modified: juddi/trunk/juddi-gui/src/main/webapp/serviceEditor.jsp
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/serviceEditor.jsp?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/serviceEditor.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/serviceEditor.jsp Wed Feb 12 03:35:36 
2014
@@ -626,7 +626,7 @@
 
         </div>
         <div class="modal-footer">
-                <a 
href="ajax/toXML.jsp?id=<%=URLEncoder.encode(bd.getServiceKey(), 
"UTF-8")%>&type=service" class="btn btn-primary" target="_blank">Popout</a> 
+                <a 
href="ajax/toXML.jsp?id=<%=URLEncoder.encode(bd.getServiceKey(), 
"UTF-8")%>&type=service" class="btn btn-primary" 
target="_blank"><%=ResourceLoader.GetResource(session, "actions.popout")%></a> 
                 <a href="javascript:closeXmlPop('viewAsXml');" 
class="btn"><%=ResourceLoader.GetResource(session, "modal.close")%></a>
         </div>
 </div>

Modified: juddi/trunk/juddi-gui/src/main/webapp/tmodelEditor.jsp
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/tmodelEditor.jsp?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/tmodelEditor.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/tmodelEditor.jsp Wed Feb 12 03:35:36 
2014
@@ -582,7 +582,7 @@
       </div>
 
       <div class="modal-footer">
-         <a href="ajax/toXML.jsp?id=<%=URLEncoder.encode(bd.getTModelKey(), 
"UTF-8")%>&type=tmodel" class="btn btn-primary" target="_blank">Popout</a> 
+         <a href="ajax/toXML.jsp?id=<%=URLEncoder.encode(bd.getTModelKey(), 
"UTF-8")%>&type=tmodel" class="btn btn-primary" 
target="_blank"><%=ResourceLoader.GetResource(session, "actions.popout")%></a> 
          <a href="javascript:closeXmlPop('viewAsXml');" 
class="btn"><%=ResourceLoader.GetResource(session, "modal.close")%></a>
       </div>
    </div>

Modified: juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/Address.java
URL: 
http://svn.apache.org/viewvc/juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/Address.java?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/Address.java (original)
+++ juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/Address.java Wed Feb 12 
03:35:36 2014
@@ -30,6 +30,88 @@ import javax.xml.bind.annotation.XmlType
 
 
 /**
+ * <h4 style="margin-left:0in;text-indent:0in"><a name="_Ref8977291">3.3.2.7 
address</a></h4>
+
+<p class="MsoBodyText"><b>address</b> represents the contact’s postal 
address, in
+a form suitable for addressing an envelope. The address structure is a simple
+list of address lines.</p>
+
+<p class="MsoBodyText"><b>Attributes</b></p>
+
+<table class="MsoNormalTable" 
style="margin-left:.5in;border-collapse:collapse;border:none" border="1" 
cellpadding="0" cellspacing="0">
+ <tbody><tr>
+  <td style="border:solid black 1.0pt;background:#FFFFCA;padding:
+  0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal"><b>Name&nbsp; </b></p>
+  </td>
+  <td style="border:solid black 1.0pt;border-left:none;background:
+  #FFFFCA;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal"><b>Use&nbsp; </b></p>
+  </td>
+ </tr>
+ <tr>
+  <td style="border:solid black 1.0pt;border-top:none;padding:0in 5.4pt 0in 
5.4pt" valign="top">
+  <p class="MsoNormal">xml:lang&nbsp; </p>
+  </td>
+  <td style="border-top:none;border-left:none;border-bottom:solid black 1.0pt;
+  border-right:solid black 1.0pt;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal">optional&nbsp; </p>
+  </td>
+ </tr>
+ <tr>
+  <td style="border:solid black 1.0pt;border-top:none;padding:0in 5.4pt 0in 
5.4pt" valign="top">
+  <p class="MsoNormal">useType</p>
+  </td>
+  <td style="border-top:none;border-left:none;border-bottom:solid black 1.0pt;
+  border-right:solid black 1.0pt;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal">optional</p>
+  </td>
+ </tr>
+ <tr>
+  <td style="border:solid black 1.0pt;border-top:none;padding:0in 5.4pt 0in 
5.4pt" valign="top">
+  <p class="MsoNormal">sortCode</p>
+  </td>
+  <td style="border-top:none;border-left:none;border-bottom:solid black 1.0pt;
+  border-right:solid black 1.0pt;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal">optional</p>
+  </td>
+ </tr>
+ <tr>
+  <td style="border:solid black 1.0pt;border-top:none;padding:0in 5.4pt 0in 
5.4pt" valign="top">
+  <p class="MsoNormal">tModelKey</p>
+  </td>
+  <td style="border-top:none;border-left:none;border-bottom:solid black 1.0pt;
+  border-right:solid black 1.0pt;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal">optional</p>
+  </td>
+ </tr>
+</tbody></table>
+
+<p class="MsoBodyText">&nbsp;</p>
+
+<p class="MsoBodyText">Address structures have four optional attributes.</p>
+
+<p class="MsoBodyText">The <b>xml:lang</b> value describes the language the
+address is expressed in. There is no restriction on the number of addresses or
+what xml:lang value they may have. Publication of addresses in several
+languages, e.g. for use in multilingual countries, is supported. See Appendix D
+<i>Internationalization</i> for an example.</p>
+
+<p class="MsoBodyText">The <b>useType</b> describes the address’ type in
+unstructured text. Suggested examples include "headquarters", "sales
+office", "billing department", etc.</p>
+
+<p class="MsoBodyText">The <b>sortCode</b> attribute is deprecated because of 
the
+guarantee of preserving the document order (see Section <a href="#_Ref8978002 
">4.5.3</a>
+<i>Preservation of Document Order</i>). In order to achieve this behavior, the
+data has just to be published in the desired order.</p>
+
+<p class="MsoBodyText">The <b>tModelKey</b> is a tModel reference that 
specifies
+that keyName keyValue pairs given by subsequent addressLine elements, if
+addressLine elements are present at all, are to be interpreted by the address
+structure associated with the tModel that is referenced. For a description of
+how to use tModels in order to give the addressLine list structure and meaning,
+see Appendix D<i> Internationalization</i>.</p>
  * <p>Java class for address complex type.
  * 
  * <p>The following schema fragment specifies the expected content contained 
within this class.
@@ -153,7 +235,7 @@ public class Address implements Serializ
 
     /**
      * Gets the value of the sortCode property.
-     * 
+     * The sortCode attribute is deprecated because of the guarantee of 
preserving the document order (see Section 4.5.3 Preservation of Document 
Order). In order to achieve this behavior, the data has just to be published in 
the desired order.
      * @return
      *     possible object is
      *     {@link String }
@@ -169,7 +251,7 @@ public class Address implements Serializ
 
     /**
      * Sets the value of the sortCode property.
-     * 
+     * The sortCode attribute is deprecated because of the guarantee of 
preserving the document order (see Section 4.5.3 Preservation of Document 
Order). In order to achieve this behavior, the data has just to be published in 
the desired order.
      * @param value
      *     allowed object is
      *     {@link String }

Modified: juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/AddressLine.java
URL: 
http://svn.apache.org/viewvc/juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/AddressLine.java?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/AddressLine.java 
(original)
+++ juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/AddressLine.java Wed Feb 
12 03:35:36 2014
@@ -29,6 +29,51 @@ import javax.xml.bind.annotation.XmlValu
 
 
 /**
+ * <h4 style="margin-left:0in;text-indent:0in">3.3.2.8 addressLine</h4>
+
+<p class="MsoBodyText"><b>addressLine</b> contains a part of the actual address
+in text form.</p>
+
+<p class="MsoBodyText"><b>Attributes</b></p>
+
+<table class="MsoNormalTable" 
style="margin-left:.5in;border-collapse:collapse;border:none" border="1" 
cellpadding="0" cellspacing="0">
+ <tbody><tr>
+  <td style="border:solid black 1.0pt;background:#FFFFCA;padding:
+  0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal"><b>Name&nbsp; </b></p>
+  </td>
+  <td style="border:solid black 1.0pt;border-left:none;background:
+  #FFFFCA;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal"><b>Use&nbsp; </b></p>
+  </td>
+ </tr>
+ <tr>
+  <td style="border:solid black 1.0pt;border-top:none;padding:0in 5.4pt 0in 
5.4pt" valign="top">
+  <p class="MsoNormal">keyName&nbsp; </p>
+  </td>
+  <td style="border-top:none;border-left:none;border-bottom:solid black 1.0pt;
+  border-right:solid black 1.0pt;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal">optional&nbsp; </p>
+  </td>
+ </tr>
+ <tr>
+  <td style="border:solid black 1.0pt;border-top:none;padding:0in 5.4pt 0in 
5.4pt" valign="top">
+  <p class="MsoNormal">keyValue</p>
+  </td>
+  <td style="border-top:none;border-left:none;border-bottom:solid black 1.0pt;
+  border-right:solid black 1.0pt;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal">optional</p>
+  </td>
+ </tr>
+</tbody></table>
+
+<p class="MsoBodyText">&nbsp;</p>
+
+<p class="MsoBodyText">Each addressLine element MAY be adorned with two 
optional
+descriptive attributes, <b>keyName</b> and <b>keyValue</b>. Both attributes
+MUST be present in each address line if a tModelKey is specified in the address
+structure. When no tModelKey is provided for the address structure, the keyName
+and keyValue attributes have no defined meaning.</p>
  * <p>Java class for addressLine complex type.
  * 
  * <p>The following schema fragment specifies the expected content contained 
within this class.

Modified: juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/Contact.java
URL: 
http://svn.apache.org/viewvc/juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/Contact.java?rev=1567512&r1=1567511&r2=1567512&view=diff
==============================================================================
--- juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/Contact.java (original)
+++ juddi/trunk/uddi-ws/src/main/java/org/uddi/api_v3/Contact.java Wed Feb 12 
03:35:36 2014
@@ -30,6 +30,113 @@ import javax.xml.bind.annotation.XmlType
 
 
 /**
+ * <h4 style="margin-left:0in;text-indent:0in">3.3.2.6 contact</h4>
+
+<p class="MsoBodyText">The contact structure records contact information for a
+person or a job role within the businessEntity so that someone who finds the
+information can make human contact for any purpose. This information consists
+of one or more optional elements, along with a person’s name. Contact
+information exists by containment relationship alone; the contact structure
+does not provide keys for tracking individual contact instances.</p>
+
+<p class="MsoBodyText"><img 
src="http://uddi.org/pubs/uddi-v3.0.2-20041019_files/image012.jpg"; border="0" 
width="508" height="330"></p>
+
+<p class="MsoBodyText"><b>Attributes</b></p>
+
+<table class="MsoNormalTable" 
style="margin-left:.5in;border-collapse:collapse;border:none" border="1" 
cellpadding="0" cellspacing="0">
+ <tbody><tr>
+  <td style="border:solid black 1.0pt;background:#FFFFCA;padding:
+  0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal"><b>Name&nbsp; </b></p>
+  </td>
+  <td style="border:solid black 1.0pt;border-left:none;background:
+  #FFFFCA;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal"><b>Use&nbsp; </b></p>
+  </td>
+ </tr>
+ <tr>
+  <td style="border:solid black 1.0pt;border-top:none;padding:0in 5.4pt 0in 
5.4pt" valign="top">
+  <p class="MsoNormal">useType&nbsp; </p>
+  </td>
+  <td style="border-top:none;border-left:none;border-bottom:solid black 1.0pt;
+  border-right:solid black 1.0pt;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal">optional&nbsp; </p>
+  </td>
+ </tr>
+</tbody></table>
+
+<p class="MsoBodyText">&nbsp;</p>
+
+<p class="MsoBodyText">The <b>useType</b> attribute is used to describe the 
type
+of contact in unstructured text. Suggested examples include "technical
+questions", "technical contact", "establish account", "sales
+contact", etc.</p>
+
+<p class="MsoBodyText"><b>description</b> is used to describe how the contact
+information should be used. Publishing several descriptions, e.g. in different
+languages, is supported. To signify the language in which the descriptions are
+expressed, they MAY carry <b>xml:lang</b> values.</p>
+
+<p class="MsoBodyText"><b>personName</b> is the name of the person or name of 
the
+job role supporting the contact. Publishing several names, e.g. for
+romanization purposes, is supported.</p>
+
+<p class="MsoBodyText">&nbsp;</p>
+
+<p class="MsoBodyText">&nbsp;</p>
+
+<p class="MsoBodyText"><b>Attributes</b></p>
+
+<table class="specTable" style="margin-left:
+ .5in;border-collapse:collapse;border:none" border="1" cellpadding="0" 
cellspacing="0">
+ <tbody><tr>
+  <td style="border:solid black 1.0pt;background:#FFFFCA;padding:
+  0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal"><b>Name&nbsp; </b></p>
+  </td>
+  <td style="border:solid black 1.0pt;border-left:none;background:
+  #FFFFCA;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal"><b>Use&nbsp; </b></p>
+  </td>
+ </tr>
+ <tr>
+  <td style="border:solid black 1.0pt;border-top:none;padding:0in 5.4pt 0in 
5.4pt" valign="top">
+  <p class="MsoNormal">xml:lang&nbsp; </p>
+  </td>
+  <td style="border-top:none;border-left:none;border-bottom:solid black 1.0pt;
+  border-right:solid black 1.0pt;padding:0in 5.4pt 0in 5.4pt" valign="top">
+  <p class="MsoNormal">optional&nbsp; </p>
+  </td>
+ </tr>
+</tbody></table>
+
+<p class="MsoBodyText">&nbsp;</p>
+
+<p class="MsoBodyText">In order to signify the contextual language (if any) in
+which a given name is expressed in (such as the language into which a name has
+been romanized), it SHOULD carry the <b>xml:lang</b> attribute See Section <a 
href="#_Ref8977786 ">3.3.2.3</a> <i>name</i> for details on using xml:lang
+values in name elements. There is no restriction on the number of personNames
+or what xml:lang value each may have. An example for a role might be:</p>
+
+<p class="codeSample">&lt;contact useType="Technical support"&gt;</p>
+
+<p class="codeSample">&nbsp;&nbsp;&nbsp; 
&lt;personName&gt;Administrator&lt;/personName&gt;</p>
+
+<p class="codeSample">&nbsp;&nbsp;&nbsp; …</p>
+
+<p class="codeSample">&lt;/contact&gt;</p>
+
+<p class="MsoBodyText"><b>&nbsp;</b></p>
+
+<p class="MsoBodyText"><b>phone</b> is used to hold telephone numbers for the
+contact. This element MAY be adorned with an optional <b>useType</b> attribute
+for descriptive purposes.</p>
+
+<p class="MsoBodyText"><b>email</b> is the email address for the contact. This
+element MAY be adorned with an optional <b>useType</b> attribute for
+descriptive purposes.</p>
+
+<p class="MsoBodyText"><b>address</b> is the postal address for the contact. 
</p>
  * <p>Java class for contact complex type.
  * 
  * <p>The following schema fragment specifies the expected content contained 
within this class.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to