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 da...@apache.org on 2007/01/15 15:50:56 UTC
svn commit: r496347 -
/webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/metadata/impl/SimpleMetadataDescriptor.java
Author: danj
Date: Mon Jan 15 06:50:55 2007
New Revision: 496347
URL: http://svn.apache.org/viewvc?view=rev&rev=496347
Log:
Added two methods to MetadataDescriptor so that users can read the actual string values of modifiability
and mutability attributes on wsrmd:Property. This is further work for MUSE-179.
Modified:
webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/metadata/impl/SimpleMetadataDescriptor.java
Modified: webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/metadata/impl/SimpleMetadataDescriptor.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/metadata/impl/SimpleMetadataDescriptor.java?view=diff&rev=496347&r1=496346&r2=496347
==============================================================================
--- webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/metadata/impl/SimpleMetadataDescriptor.java (original)
+++ webservices/muse/trunk/modules/muse-wsrf-impl/src/org/apache/muse/ws/resource/metadata/impl/SimpleMetadataDescriptor.java Mon Jan 15 06:50:55 2007
@@ -245,6 +245,16 @@
{
return getProperty(propertyQName).getLowerBound();
}
+
+ public String getModifiability(QName propertyQName)
+ {
+ return getProperty(propertyQName).getModifiabilityString();
+ }
+
+ public String getMutability(QName propertyQName)
+ {
+ return getProperty(propertyQName).getMutabilityString();
+ }
public String getName()
{
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org