Author: geirm
Date: Thu Feb 10 07:11:44 2005
New Revision: 153230

URL: http://svn.apache.org/viewcvs?view=rev&rev=153230
Log:
fixed - value type is a capability level 1 feature
-This line, and those below, will be ignored--

M    ClassificationSchemeImpl.java

Modified:
    
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/ClassificationSchemeImpl.java

Modified: 
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/ClassificationSchemeImpl.java
URL: 
http://svn.apache.org/viewcvs/webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/ClassificationSchemeImpl.java?view=diff&r1=153229&r2=153230
==============================================================================
--- 
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/ClassificationSchemeImpl.java
 (original)
+++ 
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/ClassificationSchemeImpl.java
 Thu Feb 10 07:11:44 2005
@@ -18,6 +18,7 @@
 
 import javax.xml.registry.JAXRException;
 import javax.xml.registry.LifeCycleManager;
+import javax.xml.registry.UnsupportedCapabilityException;
 import javax.xml.registry.infomodel.ClassificationScheme;
 import javax.xml.registry.infomodel.Concept;
 import java.util.ArrayList;
@@ -85,9 +86,14 @@
         return coll;
     }
 
-    public int getValueType() throws JAXRException
+    public int getValueType()
+        throws JAXRException
     {
-        return this.valueType;
+        /*
+         * we are a level 0 provider
+         */
+
+        throw new UnsupportedCapabilityException();
     }
 
     public boolean isExternal() throws JAXRException
@@ -107,9 +113,14 @@
         this.childConcepts.removeAll(collection);
     }
 
-    public void setValueType(int param) throws JAXRException
+    public void setValueType(int param)
+        throws JAXRException
     {
-        this.valueType = param;
+        /*
+         * we are a level 0 provider
+         */
+
+        throw new UnsupportedCapabilityException();
     }
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to