source: ccr/trunk/nhin-vista/projects/NHINC/Current/Product/Production/Common/NhincLib/src/gov/hhs/fha/nhinc/connectmgr/data/CMUDDIConnectionInfo.java@ 507

Last change on this file since 507 was 507, checked in by George Lilly, 15 years ago

NHIN gateway and adaptor for use on linux with VistA EHR and RPMS

File size: 1.6 KB
Line 
1package gov.hhs.fha.nhinc.connectmgr.data;
2
3/**
4 * This class is the root node of the uddiConnectionInfo.xml file.
5 *
6 * @author Les Westberg
7 */
8public class CMUDDIConnectionInfo
9{
10
11 private CMBusinessEntities businessEntities = null;
12
13 /**
14 * Default Constructor.
15 */
16 public CMUDDIConnectionInfo()
17 {
18 clear();
19 }
20
21 /**
22 * Clears the contents of this object.
23 */
24 public void clear()
25 {
26 businessEntities = null;
27 }
28
29 /**
30 * Returns true of the contents of the object are the same as the one
31 * passed in.
32 *
33 * @param oCompare The object to compare.
34 * @return TRUE if the contents are the same as the one passed in.
35 */
36 public boolean equals(CMUDDIConnectionInfo oCompare)
37 {
38 if (!this.businessEntities.equals(oCompare.businessEntities))
39 {
40 return false;
41 }
42
43 // If we got here then everything is the same...
44 //----------------------------------------------
45 return true;
46 }
47
48
49
50 /**
51 * Return the entire set of business entities.
52 *
53 * @return The entire set of business entities.
54 */
55 public CMBusinessEntities getBusinessEntities()
56 {
57 return businessEntities;
58 }
59
60 /**
61 * Set the entire set of business entities.
62 *
63 * @param businessEntities The entire set of business entities.
64 */
65 public void setBusinessEntities(CMBusinessEntities businessEntities)
66 {
67 this.businessEntities = businessEntities;
68 }
69
70}
Note: See TracBrowser for help on using the repository browser.