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