1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.vnd.businessobject;
17
18 import java.util.LinkedHashMap;
19
20 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
21 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22
23 public class VendorTransmissionFormatDetail extends PersistableBusinessObjectBase implements MutableInactivatable {
24
25 private Long vendorTransmissionFormatId;
26 private Integer vendorHeaderGeneratedIdentifier;
27 private Integer vendorDetailAssignedIdentifier;
28 private boolean vendorPreferredTransmissionFormat;
29 private Integer vendorTransmissionTypeId;
30
31 private String vendorEDIConnectionAddress;
32 private String vendorEDIConnectionUserName;
33 private String vendorEDIConnectionPassword;
34 private boolean active;
35 private VendorDetail vendorDetail;
36 private OleVendorTransmissionFormat vendorTransmissionFormat;
37 private OleVendorTransmissionType vendorTransmissionTypes;
38
39 public Integer getVendorHeaderGeneratedIdentifier() {
40 return vendorHeaderGeneratedIdentifier;
41 }
42 public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier) {
43 this.vendorHeaderGeneratedIdentifier = vendorHeaderGeneratedIdentifier;
44 }
45 public Integer getVendorDetailAssignedIdentifier() {
46 return vendorDetailAssignedIdentifier;
47 }
48 public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier) {
49 this.vendorDetailAssignedIdentifier = vendorDetailAssignedIdentifier;
50 }
51
52 public String getVendorEDIConnectionAddress() {
53 return vendorEDIConnectionAddress;
54 }
55 public void setVendorEDIConnectionAddress(String vendorEDIConnectionAddress) {
56 this.vendorEDIConnectionAddress = vendorEDIConnectionAddress;
57 }
58 public String getVendorEDIConnectionUserName() {
59 return vendorEDIConnectionUserName;
60 }
61 public void setVendorEDIConnectionUserName(String vendorEDIConnectionUserName) {
62 this.vendorEDIConnectionUserName = vendorEDIConnectionUserName;
63 }
64 public String getVendorEDIConnectionPassword() {
65 return vendorEDIConnectionPassword;
66 }
67 public void setVendorEDIConnectionPassword(String vendorEDIConnectionPassword) {
68 this.vendorEDIConnectionPassword = vendorEDIConnectionPassword;
69 }
70 @Override
71 public boolean isActive() {
72 return active;
73 }
74 @Override
75 public void setActive(boolean active) {
76 this.active = active;
77 }
78
79
80
81
82 protected LinkedHashMap toStringMapper() {
83 LinkedHashMap m = new LinkedHashMap();
84 if (this.vendorHeaderGeneratedIdentifier != null) {
85 m.put("vendorHeaderGeneratedIdentifier", this.vendorHeaderGeneratedIdentifier.toString());
86 }
87 if (this.vendorDetailAssignedIdentifier != null) {
88 m.put("vendorDetailAssignedIdentifier", this.vendorDetailAssignedIdentifier.toString());
89 }
90 if (this.vendorTransmissionFormatId != null) {
91 m.put("vendorTransmissionFormatIdentifier", this.vendorTransmissionFormatId.toString());
92 }
93 return m;
94 }
95
96 public boolean isVendorPreferredTransmissionFormat() {
97 return vendorPreferredTransmissionFormat;
98 }
99 public void setVendorPreferredTransmissionFormat(boolean vendorPreferredTransmissionFormat) {
100 this.vendorPreferredTransmissionFormat = vendorPreferredTransmissionFormat;
101 }
102 public Long getVendorTransmissionFormatId() {
103 return vendorTransmissionFormatId;
104 }
105 public void setVendorTransmissionFormatId(Long vendorTransmissionFormatId) {
106 this.vendorTransmissionFormatId = vendorTransmissionFormatId;
107 }
108 public VendorDetail getVendorDetail() {
109 return vendorDetail;
110 }
111 public void setVendorDetail(VendorDetail vendorDetail) {
112 this.vendorDetail = vendorDetail;
113 }
114 public OleVendorTransmissionFormat getVendorTransmissionFormat() {
115 return vendorTransmissionFormat;
116 }
117 public void setVendorTransmissionFormat(OleVendorTransmissionFormat vendorTransmissionFormat) {
118 this.vendorTransmissionFormat = vendorTransmissionFormat;
119 }
120
121
122 public Integer getVendorTransmissionTypeId() {
123 return vendorTransmissionTypeId;
124 }
125 public void setVendorTransmissionTypeId(Integer vendorTransmissionTypeId) {
126 this.vendorTransmissionTypeId = vendorTransmissionTypeId;
127 }
128 public OleVendorTransmissionType getVendorTransmissionTypes() {
129 return vendorTransmissionTypes;
130 }
131 public void setVendorTransmissionTypes(OleVendorTransmissionType vendorTransmissionTypes) {
132 this.vendorTransmissionTypes = vendorTransmissionTypes;
133 }
134
135 }