ws-muse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject svn commit: r157594 - incubator/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipsCapability.java
Date Tue, 15 Mar 2005 21:57:30 GMT
Author: ips
Date: Tue Mar 15 13:57:30 2005
New Revision: 157594

URL: http://svn.apache.org/viewcvs?view=rev&rev=157594
Log:
added method for QueryRelationshipsByType operation

Modified:
    incubator/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipsCapability.java

Modified: incubator/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipsCapability.java
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipsCapability.java?view=diff&r1=157593&r2=157594
==============================================================================
--- incubator/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipsCapability.java
(original)
+++ incubator/muse/trunk/src/java/org/apache/ws/muws/v1_0/capability/RelationshipsCapability.java
Tue Mar 15 13:57:30 2005
@@ -16,6 +16,8 @@
 package org.apache.ws.muws.v1_0.capability;
 
 import org.apache.ws.muws.v1_0.MuwsConstants;
+import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.QueryRelationshipsByTypeResponseDocument;
+import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.QueryRelationshipsByTypeDocument;
 
 import javax.xml.namespace.QName;
 
@@ -49,5 +51,14 @@
      * Relationship property name.
      */
     QName PROP_NAME_RELATIONSHIP = new QName( MuwsConstants.NSURI_MUWS_PART2_SCHEMA, "Relationship",
MuwsConstants.NSPREFIX_MUWS_PART2_SCHEMA );
+
+    /**
+     * This operation is a shortcut to query relationships of the same type. See section
4.1.4.1 of the MUWS Part 2 spec.
+     *
+     * @param requestDoc the request document
+     *
+     * @return the response document
+     */
+    QueryRelationshipsByTypeResponseDocument queryRelationshipsByType( QueryRelationshipsByTypeDocument
requestDoc );
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


Mime
View raw message