View Javadoc
1   /*
2    * Copyright 2011 The Kuali Foundation.
3    *
4    * Licensed under the Educational Community License, Version 1.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl1.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
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      //private String vendorEDITypeConnection;
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       * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
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 }