1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLBoundFaultImpl.java Thu Sep 26 10:43:28 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLBoundFaultImpl.java Fri Oct 04 16:21:34 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -26,10 +26,10 @@ 1.11 package com.sun.xml.internal.ws.model.wsdl; 1.12 1.13 import com.sun.istack.internal.NotNull; 1.14 -import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundFault; 1.15 -import com.sun.xml.internal.ws.api.model.wsdl.WSDLFault; 1.16 -import com.sun.xml.internal.ws.api.model.wsdl.WSDLOperation; 1.17 -import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; 1.18 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundFault; 1.19 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundOperation; 1.20 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLFault; 1.21 +import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLOperation; 1.22 1.23 import javax.xml.stream.XMLStreamReader; 1.24 import javax.xml.namespace.QName; 1.25 @@ -37,12 +37,12 @@ 1.26 /** 1.27 * @author Vivek Pandey 1.28 */ 1.29 -public class WSDLBoundFaultImpl extends AbstractExtensibleImpl implements WSDLBoundFault { 1.30 +public class WSDLBoundFaultImpl extends AbstractExtensibleImpl implements EditableWSDLBoundFault { 1.31 private final String name; 1.32 - private WSDLFault fault; 1.33 - private WSDLBoundOperationImpl owner; 1.34 + private EditableWSDLFault fault; 1.35 + private EditableWSDLBoundOperation owner; 1.36 1.37 - public WSDLBoundFaultImpl(XMLStreamReader xsr, String name, WSDLBoundOperationImpl owner) { 1.38 + public WSDLBoundFaultImpl(XMLStreamReader xsr, String name, EditableWSDLBoundOperation owner) { 1.39 super(xsr); 1.40 this.name = name; 1.41 this.owner = owner; 1.42 @@ -61,20 +61,20 @@ 1.43 return null; 1.44 } 1.45 1.46 - public WSDLFault getFault() { 1.47 + public EditableWSDLFault getFault() { 1.48 return fault; 1.49 } 1.50 1.51 @NotNull 1.52 - public WSDLBoundOperation getBoundOperation() { 1.53 + public EditableWSDLBoundOperation getBoundOperation() { 1.54 return owner; 1.55 } 1.56 1.57 - void freeze(WSDLBoundOperationImpl root) { 1.58 + public void freeze(EditableWSDLBoundOperation root) { 1.59 assert root != null; 1.60 - WSDLOperation op = root.getOperation(); 1.61 + EditableWSDLOperation op = root.getOperation(); 1.62 if (op != null) { 1.63 - for (WSDLFault f : op.getFaults()) { 1.64 + for (EditableWSDLFault f : op.getFaults()) { 1.65 if (f.getName().equals(name)) { 1.66 this.fault = f; 1.67 break;