View Javadoc
1 /* 2 * $Header: /cvsroot/ebxmlrr/ebxmlrr/src/share/com/sun/ebxml/registry/interfaces/Response.java,v 1.1 2002/01/08 19:07:59 farrukh_najmi Exp $ 3 * 4 * Copyright (c) 1999 Sun Microsystems, Inc. All Rights Reserved. 5 * 6 * This software is the confidential and proprietary information of Sun 7 * Microsystems, Inc. ("Confidential Information"). You shall not 8 * disclose such Confidential Information and shall use it only in 9 * accordance with the terms of the license agreement you entered into 10 * with Sun. 11 * 12 * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE 13 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 14 * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 15 * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES 16 * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING 17 * THIS SOFTWARE OR ITS DERIVATIVES. 18 * 19 */ 20 21 package com.sun.ebxml.registry.interfaces; 22 23 import org.oasis.ebxml.registry.bindings.query.*; 24 import org.oasis.ebxml.registry.bindings.query.types.*; 25 import org.oasis.ebxml.registry.bindings.rs.*; 26 import org.oasis.ebxml.registry.bindings.rs.types.*; 27 28 import org.apache.xml.security.signature.*; 29 30 import java.util.*; 31 32 /*** 33 * A Response encapsulates all aspects of an outgoing registry response to an ebXML registry client. 34 * @see 35 * @author <a href="mailto:Farrukh.Najmi@Sun.COM">Farrukh S. Najmi</a> 36 */ 37 public class Response { 38 private XMLSignature headerSignature = null; 39 private RegistryResponse message = null; 40 private HashMap idToRepositoryItemMap = null; 41 42 public Response(XMLSignature headerSignature, RegistryResponse message, HashMap idToRepositoryItemMap) { 43 this.headerSignature = headerSignature; 44 this.message = message; 45 this.idToRepositoryItemMap = idToRepositoryItemMap; 46 } 47 48 public XMLSignature getMessageHeaderSignature() { 49 return headerSignature; 50 } 51 52 public RegistryResponse getMessage() { 53 return message; 54 } 55 56 public HashMap getIdToRepositoryItemMap() { 57 return idToRepositoryItemMap; 58 } 59 }

This page was automatically generated by Maven