You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by wi...@apache.org on 2005/10/12 21:00:04 UTC
svn commit: r314998 -
/webservices/muse/trunk/client/src/java/org/apache/ws/client/muse/client/impl/properties/ResourcePropertiesImpl.java
Author: wire
Date: Wed Oct 12 11:59:58 2005
New Revision: 314998
URL: http://svn.apache.org/viewcvs?rev=314998&view=rev
Log:
-insert/update long support.
Modified:
webservices/muse/trunk/client/src/java/org/apache/ws/client/muse/client/impl/properties/ResourcePropertiesImpl.java
Modified: webservices/muse/trunk/client/src/java/org/apache/ws/client/muse/client/impl/properties/ResourcePropertiesImpl.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/client/src/java/org/apache/ws/client/muse/client/impl/properties/ResourcePropertiesImpl.java?rev=314998&r1=314997&r2=314998&view=diff
==============================================================================
--- webservices/muse/trunk/client/src/java/org/apache/ws/client/muse/client/impl/properties/ResourcePropertiesImpl.java (original)
+++ webservices/muse/trunk/client/src/java/org/apache/ws/client/muse/client/impl/properties/ResourcePropertiesImpl.java Wed Oct 12 11:59:58 2005
@@ -524,6 +524,10 @@
updateProperty(property,xmlText);
}
+ public void updateProperty(QName property, long newValue) throws URISyntaxException, IOException, XmlException, UnexpectedServerResponseException, FaultException{
+ String[] updates = {String.valueOf(newValue)};
+ updateProperty(property, updates);
+ }
public void updateProperty(QName property, double newValue) throws URISyntaxException, IOException, XmlException, UnexpectedServerResponseException, FaultException{
String[] updates = {String.valueOf(newValue)};
updateProperty(property, updates);
@@ -563,6 +567,10 @@
insertProperty(property, inserts);
}
public void insertProperty(QName property, float newValue) throws URISyntaxException, IOException, XmlException, UnexpectedServerResponseException, FaultException{
+ String[] inserts = {String.valueOf(newValue)};
+ insertProperty(property, inserts);
+ }
+ public void insertProperty(QName property, long newValue) throws URISyntaxException, IOException, XmlException, UnexpectedServerResponseException, FaultException{
String[] inserts = {String.valueOf(newValue)};
insertProperty(property, inserts);
}