Author: jkaputin
Date: Mon Nov  7 07:58:54 2005
New Revision: 331288

URL: http://svn.apache.org/viewcvs?rev=331288&view=rev
Log:
Renamed the Component interface to WSDL20Component.

Added:
    incubator/woden/java/src/org/apache/woden/wsdl20/WSDL20Component.java
Removed:
    incubator/woden/java/src/org/apache/woden/wsdl20/Component.java
Modified:
    incubator/woden/java/src/org/apache/woden/wsdl20/ConfigurableComponent.java
    incubator/woden/java/src/org/apache/woden/wsdl20/Description.java
    incubator/woden/java/src/org/apache/woden/wsdl20/Feature.java
    incubator/woden/java/src/org/apache/woden/wsdl20/Interface.java
    incubator/woden/java/src/org/apache/woden/wsdl20/NestedComponent.java
    incubator/woden/java/src/org/apache/woden/wsdl20/Property.java

Modified: 
incubator/woden/java/src/org/apache/woden/wsdl20/ConfigurableComponent.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/ConfigurableComponent.java?rev=331288&r1=331287&r2=331288&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/ConfigurableComponent.java 
(original)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/ConfigurableComponent.java 
Mon Nov  7 07:58:54 2005
@@ -17,12 +17,15 @@
 

 /**

  * Components which can be configured with features and properties will

- * extend this interface. That is, all components except Description, 

- * Feature and Property.

+ * extend this interface. That is, Interface and its sub components,

+ * Binding and its sub components, and Service and its sub components.

+ * <p>

+ * The components which are not configurable are Description,

+ * ElementDeclaration and TypeDefinition.

  * 

  * @author [EMAIL PROTECTED]

  */

-public interface ConfigurableComponent extends Component {

+public interface ConfigurableComponent extends WSDL20Component {

     

     public Feature[] getFeatures();

 


Modified: incubator/woden/java/src/org/apache/woden/wsdl20/Description.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/Description.java?rev=331288&r1=331287&r2=331288&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/Description.java (original)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/Description.java Mon Nov  
7 07:58:54 2005
@@ -15,6 +15,8 @@
  */

 package org.apache.woden.wsdl20;

 

+import javax.xml.namespace.QName;

+

 import org.apache.woden.wsdl20.xml.DescriptionElement;

 

 

@@ -32,7 +34,7 @@
  * 

  * @author [EMAIL PROTECTED]

  */

-public interface Description extends Component {

+public interface Description extends WSDL20Component {

     

     public Interface[] getInterfaces();

     

@@ -43,6 +45,8 @@
     public ElementDeclaration[] getElementDeclarations();

     

     public TypeDefinition[] getTypeDefinitions();

+    

+    public TypeDefinition getTypeDefinition(QName qname);

     

     public DescriptionElement toElement();

 }


Modified: incubator/woden/java/src/org/apache/woden/wsdl20/Feature.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/Feature.java?rev=331288&r1=331287&r2=331288&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/Feature.java (original)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/Feature.java Mon Nov  7 
07:58:54 2005
@@ -26,6 +26,6 @@
     

     public boolean isRequired();

     

-    public Component getParent();

+    public WSDL20Component getParent();

 

 }


Modified: incubator/woden/java/src/org/apache/woden/wsdl20/Interface.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/Interface.java?rev=331288&r1=331287&r2=331288&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/Interface.java (original)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/Interface.java Mon Nov  7 
07:58:54 2005
@@ -17,6 +17,8 @@
 

 import javax.xml.namespace.QName;

 

+import org.apache.woden.wsdl20.xml.InterfaceElement;

+

 /**

  * Represents the Interface component from the WSDL 2.0 Component model.

  * This component provides a read-only, abstract view of the WSDL 

@@ -34,5 +36,7 @@
     public InterfaceFault[] getInterfaceFaults();

     

     public InterfaceOperation[] getInterfaceOperations();

+    

+    public InterfaceElement toElement();

     

 }


Modified: incubator/woden/java/src/org/apache/woden/wsdl20/NestedComponent.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/NestedComponent.java?rev=331288&r1=331287&r2=331288&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/NestedComponent.java 
(original)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/NestedComponent.java Mon 
Nov  7 07:58:54 2005
@@ -16,14 +16,17 @@
 package org.apache.woden.wsdl20;

 

 /**

- * Components which have a parent component will extend this interface.

- * That is, all components except the 'top level' components - Description,

- * Interface, Binding and Service.

+ * Components which are nested within a 'top-level' component will extend

+ * this interface. These are Property, Feature and the sub components of

+ * Interface, Binding and Service. 

+ * <p>

+ * The components which are not nested are Description, Interface, 

+ * Binding, Service, ElementDeclaration and TypeDefinition.

  * 

  * @author [EMAIL PROTECTED]

  */

-public interface NestedComponent extends Component {

+public interface NestedComponent extends WSDL20Component {

 

-    public Component getParent();

+    public WSDL20Component getParent();

     

 }


Modified: incubator/woden/java/src/org/apache/woden/wsdl20/Property.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/Property.java?rev=331288&r1=331287&r2=331288&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/Property.java (original)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/Property.java Mon Nov  7 
07:58:54 2005
@@ -28,7 +28,7 @@
     

     public Object getValue();

     

-    public Component getParent();

+    public WSDL20Component getParent();

     

     

 }


Added: incubator/woden/java/src/org/apache/woden/wsdl20/WSDL20Component.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/WSDL20Component.java?rev=331288&view=auto
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/WSDL20Component.java 
(added)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/WSDL20Component.java Mon 
Nov  7 07:58:54 2005
@@ -0,0 +1,26 @@
+/**

+ * Copyright 2005 Apache Software Foundation 

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); 

+ * you may not use this file except in compliance with the License. 

+ * You may obtain a copy of the License at 

+ * 

+ *     http://www.apache.org/licenses/LICENSE-2.0 

+ * 

+ * Unless required by applicable law or agreed to in writing, software 

+ * distributed under the License is distributed on an "AS IS" BASIS, 

+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 

+ * See the License for the specific language governing permissions and 

+ * limitations under the License.

+ */

+package org.apache.woden.wsdl20;

+

+/**

+ * All components directly or indirectly extend this interface, so it provides 

+ * a common term of reference for all components.

+ * 

+ * @author [EMAIL PROTECTED]

+ */

+public interface WSDL20Component {

+

+}




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

Reply via email to