View Javadoc

1    /****************************************************************************
2    * Copyright (c) 2005, 2006, 2007, 2008, 2009 Imola Informatica.
3    * All rights reserved. This program and the accompanying materials
4    * are made available under the terms of the LGPL License v2.1
5    * which accompanies this distribution, and is available at
6    * http://www.gnu.org/licenses/lgpl.html
7    ****************************************************************************/
8   package it.imolinfo.jbi4corba.utils;
9   
10  import javax.xml.namespace.QName;
11  
12  /**
13   * Holder for Enpoint Reference information
14   * This Class Create an Holder that mantain all the information about to EPR
15   * @author <a href="mailto:lacquaviva@imolinfo.it">Luca Acquaviva</a>
16   */
17  public class EPREndpointInfo {
18      
19      /**
20       * The IOR
21       */
22      private String _ior;
23      
24      /**
25       * The Endpoint InterfaceName
26       */
27      private QName _interfacename;
28      
29      /**
30       * The Endpointname
31       */
32      private String _endpointName;
33      
34      
35      /**
36       * Default Constructor
37       */
38      public EPREndpointInfo(){
39      
40      }
41      
42      /**
43       * 
44       **/
45      public EPREndpointInfo(String address,QName intname,String endpoitname ){
46          _ior=address;
47          _interfacename=intname;
48          _endpointName=endpoitname;
49      }
50      
51      /**
52       * Return the IOR 
53       * @return  String IOR
54       **/
55      public String getIor() {
56          return _ior;
57      }
58  
59      /**
60       * @param String IOR
61       **/
62      public void setIor(String ior) {
63          this._ior = ior;
64      }
65  
66      /**
67       * Return the interface name
68       * @return the return
69       **/
70      public QName getInterfacename() {
71          return _interfacename;
72      }
73  
74      /**
75       * Set interface Name
76       * @param interfacename 
77       **/
78      public void setInterfacename(QName interfacename) {
79          this._interfacename = interfacename;
80      }
81  
82      /**
83       * get the EndpointName
84       * 
85       **/
86      public String getEndpointName() {
87          return _endpointName;
88      }
89  
90      /**
91       * Set EndpointName
92       * @param Stirng 
93       **/
94      public void setEndpointName(String endpointName) {
95          this._endpointName = endpointName;
96      }
97  
98  }