/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: ModifyResponse.java,v 1.2 2008/06/25 05:47:10 qcheng Exp $
*
*/
/**
* The class <code>ModifyResponse</code> represents a discovery response for
* modify request.
* <p>The following schema fragment specifies the expected content within the
* <code>ModifyResponse</code> object.
* <p>
* <pre>
* <complexType name="ModifyResponseType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:liberty:disco:2003-08}Status"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="newEntryIDs">
* <simpleType>
* <list itemType="{urn:liberty:disco:2003-08}IDReferenceType" />
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
* @supported.all.api
*/
public class ModifyResponse {
/**
* constructor.
* @param status Status of the modify response
*/
}
/**
* Constructor.
* @param root <code>ModifyResponse</code> DOM element.
* @exception DiscoveryException if error occurs.
*/
throw new DiscoveryException(
}
{
throw new DiscoveryException(
}
if (newEntryIDs == null) {
newEntryIDs = new ArrayList();
}
while (st.hasMoreTokens()) {
}
}
}
(nameSpaceURI != null) &&
{
+ "included more than one Status.");
}
throw new DiscoveryException(
}
(nameSpaceURI != null) &&
{
+ "included more than one Extension.");
}
throw new DiscoveryException(
}
} else {
+ "invalid node" + nodeName);
}
throw new DiscoveryException(
}
}
}
+ "Status.");
}
throw new DiscoveryException(
}
}
/**
* Gets modify response status.
* @return Status
* @see #setStatus(com.sun.identity.liberty.ws.common.Status)
*/
return status;
}
/**
* Sets modify response status.
* @param value Status
* @see #getStatus()
*/
}
/**
* Gets id attribute.
*
* @return id attribute.
* @see #setId(String)
*/
return id;
}
/**
* Sets id attribute.
*
* @param id id attribute.
* @see #getId()
*/
}
/**
* Gets the <code>newEntryIDs</code> attribute.
*
* @return the <code>newEntryIDs</code> attribute.
* @see #setNewEntryIDs(List)
*/
return newEntryIDs;
}
/**
* Sets the <code>newEntryIDs</code> attribute.
* @param ids values of the <code>newEntryIDs</code> attribute.
* @see #getNewEntryIDs()
*/
newEntryIDs = ids;
}
/**
* Gets modify response Extension Element.
* @return Extension Element
* @see #setExtension(Element)
*/
return extension;
}
/**
* Sets modify response extension.
* @param extension Element
* @see #getExtension()
*/
}
/**
* Gets formatted string of modify response.
*
* @return formatted string of modify response.
*/
append("\"");
}
if (newEntryIDs != null) {
}
}
}
}
}
}
}