You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-commits@ws.apache.org by sc...@apache.org on 2005/10/10 21:18:01 UTC
svn commit: r312715 - in
/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties:
ResourcePropertyMetaData.java impl/XmlBeansResourcePropertyMetaData.java
Author: scamp
Date: Mon Oct 10 12:17:59 2005
New Revision: 312715
URL: http://svn.apache.org/viewcvs?rev=312715&view=rev
Log:
added setReadOnly
Modified:
webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertyMetaData.java
webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertyMetaData.java
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertyMetaData.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertyMetaData.java?rev=312715&r1=312714&r2=312715&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertyMetaData.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertyMetaData.java Mon Oct 10 12:17:59 2005
@@ -63,6 +63,13 @@
*/
boolean isReadOnly( );
+ /**
+ * Sets the read only flag.
+ *
+ * @param readOnly Sets the read only metatdata flag.
+ */
+ void setReadOnly( boolean readOnly );
+
/**
* Returns the Java element type of this property. When adding or setting element values the input value will be
* automatically converted into this type. If set to <code>Object.class</code> then no conversion will be done.
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertyMetaData.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertyMetaData.java?rev=312715&r1=312714&r2=312715&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertyMetaData.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertyMetaData.java Mon Oct 10 12:17:59 2005
@@ -137,23 +137,33 @@
return m_isReadOnly;
}
- /**
- * DOCUMENT_ME
- *
- * @return DOCUMENT_ME
- */
- public ResourcePropertySetMetaData getSetMetaData( )
- {
- synchronized ( this )
- {
- if ( m_setMetaData == null )
- {
- m_setMetaData = new XmlBeansResourcePropertySetMetaData( m_schemaProp.getContainerType( ) );
- }
- }
+ /**
+ * Sets the read only flag.
+ *
+ * @param readOnly Sets the read only metatdata flag.
+ */
+ public void setReadOnly(boolean readOnly)
+ {
+ m_isReadOnly = readOnly;
+ }
- return m_setMetaData;
- }
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public ResourcePropertySetMetaData getSetMetaData( )
+ {
+ synchronized ( this )
+ {
+ if ( m_setMetaData == null )
+ {
+ m_setMetaData = new XmlBeansResourcePropertySetMetaData( m_schemaProp.getContainerType( ) );
+ }
+ }
+
+ return m_setMetaData;
+ }
/**
* DOCUMENT_ME