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