Coverage Report - edu.sampleu.financial.bo.VendorType
 
Classes in this File Line Coverage Branch Coverage Complexity
VendorType
0%
0/35
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007 The Kuali Foundation
 3  
  * 
 4  
  * Licensed under the Educational Community License, Version 2.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/ecl2.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  
 
 17  
 package edu.sampleu.financial.bo;
 18  
 
 19  
 import java.util.LinkedHashMap;
 20  
 
 21  
 import org.kuali.rice.kns.bo.Inactivateable;
 22  
 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
 23  
 
 24  
 /**
 25  
  * Major classification of Vendors according to whether they are sufficiently set up to provide for an interaction via Purchase
 26  
  * Orders.
 27  
  */
 28  
 public class VendorType extends PersistableBusinessObjectBase implements Inactivateable {
 29  
 
 30  
     private String vendorTypeCode;
 31  
     private String vendorTypeDescription;
 32  
     private boolean active;
 33  
     private boolean vendorTaxNumberRequiredIndicator;
 34  
     private boolean vendorTypeChangeAllowedIndicator;
 35  
     private String vendorAddressTypeRequiredCode;
 36  
     private boolean vendorContractAllowedIndicator;
 37  
     private boolean vendorShowReviewIndicator;
 38  
     private String vendorReviewText;
 39  
     private boolean commodityRequiredIndicator;
 40  
 
 41  
     private AddressType addressType;
 42  
 
 43  
     /**
 44  
      * Default constructor.
 45  
      */
 46  
     public VendorType() {
 47  0
         super();
 48  0
     }
 49  
 
 50  
     public String getVendorTypeCode() {
 51  
 
 52  0
         return vendorTypeCode;
 53  
     }
 54  
 
 55  
     public void setVendorTypeCode(String vendorTypeCode) {
 56  0
         this.vendorTypeCode = vendorTypeCode;
 57  0
     }
 58  
 
 59  
     public String getVendorTypeDescription() {
 60  
 
 61  0
         return vendorTypeDescription;
 62  
     }
 63  
 
 64  
     public void setVendorTypeDescription(String vendorTypeDescription) {
 65  0
         this.vendorTypeDescription = vendorTypeDescription;
 66  0
     }
 67  
 
 68  
     public boolean isActive() {
 69  
 
 70  0
         return active;
 71  
     }
 72  
 
 73  
     public void setActive(boolean active) {
 74  0
         this.active = active;
 75  0
     }
 76  
 
 77  
     public String getVendorAddressTypeRequiredCode() {
 78  
 
 79  0
         return vendorAddressTypeRequiredCode;
 80  
     }
 81  
 
 82  
     public void setVendorAddressTypeRequiredCode(String vendorAddressTypeRequiredCode) {
 83  0
         this.vendorAddressTypeRequiredCode = vendorAddressTypeRequiredCode;
 84  0
     }
 85  
 
 86  
     public boolean isVendorTaxNumberRequiredIndicator() {
 87  
 
 88  0
         return vendorTaxNumberRequiredIndicator;
 89  
     }
 90  
 
 91  
     public void setVendorTaxNumberRequiredIndicator(boolean vendorTaxNumberRequiredIndicator) {
 92  0
         this.vendorTaxNumberRequiredIndicator = vendorTaxNumberRequiredIndicator;
 93  0
     }
 94  
 
 95  
     public boolean isVendorTypeChangeAllowedIndicator() {
 96  
 
 97  0
         return vendorTypeChangeAllowedIndicator;
 98  
     }
 99  
 
 100  
     public void setVendorTypeChangeAllowedIndicator(boolean vendorTypeChangeAllowedIndicator) {
 101  0
         this.vendorTypeChangeAllowedIndicator = vendorTypeChangeAllowedIndicator;
 102  0
     }
 103  
 
 104  
     public boolean isVendorContractAllowedIndicator() {
 105  
 
 106  0
         return vendorContractAllowedIndicator;
 107  
     }
 108  
 
 109  
     public void setVendorContractAllowedIndicator(boolean vendorContractAllowedIndicator) {
 110  0
         this.vendorContractAllowedIndicator = vendorContractAllowedIndicator;
 111  0
     }
 112  
 
 113  
     public String getVendorReviewText() {
 114  
 
 115  0
         return vendorReviewText;
 116  
     }
 117  
 
 118  
     public void setVendorReviewText(String vendorReviewText) {
 119  0
         this.vendorReviewText = vendorReviewText;
 120  0
     }
 121  
 
 122  
     public boolean isVendorShowReviewIndicator() {
 123  
 
 124  0
         return vendorShowReviewIndicator;
 125  
     }
 126  
 
 127  
     public void setVendorShowReviewIndicator(boolean vendorShowReviewIndicator) {
 128  0
         this.vendorShowReviewIndicator = vendorShowReviewIndicator;
 129  0
     }
 130  
 
 131  
     /**
 132  
      * Gets the commodityRequiredIndicator attribute.
 133  
      *
 134  
      * @return Returns the commodityRequiredIndicator.
 135  
      */
 136  
     public boolean isCommodityRequiredIndicator() {
 137  0
         return commodityRequiredIndicator;
 138  
     }
 139  
 
 140  
     /**
 141  
      * Sets the commodityRequiredIndicator attribute value.
 142  
      *
 143  
      * @param commodityRequiredIndicator The commodityRequiredIndicator to set.
 144  
      */
 145  
     public void setCommodityRequiredIndicator(boolean commodityRequiredIndicator) {
 146  0
         this.commodityRequiredIndicator = commodityRequiredIndicator;
 147  0
     }
 148  
 
 149  
     public AddressType getAddressType() {
 150  0
         return addressType;
 151  
     }
 152  
 
 153  
     public void setAddressType(AddressType addressType) {
 154  0
         this.addressType = addressType;
 155  0
     }
 156  
 }