Coverage Report - edu.sampleu.financial.bo.VendorDetail
 
Classes in this File Line Coverage Branch Coverage Complexity
VendorDetail
0%
0/177
0%
0/32
1.211
 
 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.apache.commons.lang.StringUtils;
 20  
 import org.apache.log4j.Logger;
 21  
 import org.kuali.rice.core.api.util.type.KualiDecimal;
 22  
 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
 23  
 import org.kuali.rice.krad.util.ObjectUtils;
 24  
 
 25  
 import java.sql.Date;
 26  
 import java.util.ArrayList;
 27  
 import java.util.List;
 28  
 
 29  
 /**
 30  
  * Contains all data for a specific parent or division Vendor, including a link to the <code>VendorHeader</code>, which only
 31  
  * contains information about the parent company, but can be shared between division Vendors.
 32  
  *
 33  
  * @see org.kuali.kfs.vnd.businessobject.VendorHeader
 34  
  */
 35  
 public class VendorDetail extends PersistableBusinessObjectBase { //implements VendorRoutingComparable {
 36  0
     private static Logger LOG = Logger.getLogger(VendorDetail.class);
 37  
 
 38  
     private Integer vendorHeaderGeneratedIdentifier;
 39  
     private Integer vendorDetailAssignedIdentifier;
 40  
     private String vendorNumber; // not persisted in the db
 41  
     private boolean vendorParentIndicator;
 42  
     private String vendorName;
 43  
     private String vendorFirstName; // not persisted in the db
 44  
     private String vendorLastName; // not persisted in the db
 45  
     private String vendorStateForLookup; // not persisted in the db
 46  
 
 47  
     private boolean activeIndicator;
 48  
     private String vendorInactiveReasonCode;
 49  
     private String vendorDunsNumber;
 50  
     private String vendorPaymentTermsCode;
 51  
     private String vendorShippingTitleCode;
 52  
     private String vendorShippingPaymentTermsCode;
 53  
     private Boolean vendorConfirmationIndicator;
 54  
     private Boolean vendorPrepaymentIndicator;
 55  
     private Boolean vendorCreditCardIndicator;
 56  
     private KualiDecimal vendorMinimumOrderAmount;
 57  
     private String vendorUrlAddress;
 58  
     private String vendorRemitName;
 59  
     private Boolean vendorRestrictedIndicator;
 60  
     private String vendorRestrictedReasonText;
 61  
     private Date vendorRestrictedDate;
 62  
     //    private String vendorRestrictedPersonIdentifier;
 63  
     private String vendorSoldToNumber; // not persisted in the db
 64  
     private Integer vendorSoldToGeneratedIdentifier;
 65  
     private Integer vendorSoldToAssignedIdentifier;
 66  
     private String vendorSoldToName;
 67  
     private boolean vendorFirstLastNameIndicator;
 68  
     private boolean taxableIndicator;
 69  
 
 70  
     private List<VendorAddress> vendorAddresses;
 71  
 
 72  
 //    private List<VendorAlias> vendorAliases;
 73  
 //    private List<VendorContact> vendorContacts;
 74  
 //    private List<VendorCustomerNumber> vendorCustomerNumbers;
 75  
 //    private List<VendorPhoneNumber> vendorPhoneNumbers;
 76  
 //    private List<VendorShippingSpecialCondition> vendorShippingSpecialConditions;
 77  
 //    private List<VendorCommodityCode> vendorCommodities;
 78  
 
 79  
     private VendorHeader vendorHeader;
 80  
     //    private VendorInactiveReason vendorInactiveReason;
 81  
     private PaymentTermType vendorPaymentTerms;
 82  
     //    private ShippingTitle vendorShippingTitle;
 83  
     private ShippingPaymentTerms vendorShippingPaymentTerms;
 84  
     private VendorDetail soldToVendorDetail;
 85  
 //    private Person vendorRestrictedPerson;
 86  
 
 87  
     private String vendorParentName; // not persisted in the db
 88  
     private String defaultAddressLine1; // not persisted in the db
 89  
     private String defaultAddressLine2; // not persisted in the db
 90  
     private String defaultAddressCity; // not persisted in the db
 91  
     private String defaultAddressStateCode; // not persisted in the db
 92  
     private String defaultAddressInternationalProvince; // not persisted in the db
 93  
     private String defaultAddressPostalCode; // not persisted in the db
 94  
     private String defaultAddressCountryCode; // not persisted in the db
 95  
     private String defaultFaxNumber; // not persisted in the db
 96  
 
 97  
     /**
 98  
      * Default constructor.
 99  
      */
 100  
     public VendorDetail() {
 101  0
         super();
 102  
 
 103  0
         vendorHeader = new VendorHeader();
 104  0
         vendorAddresses = new ArrayList();
 105  
         /*vendorAliases = new TypedArrayList(VendorAlias.class);
 106  
         vendorContacts = new TypedArrayList(VendorContact.class);
 107  
         vendorContracts = new TypedArrayList(VendorContract.class);
 108  
         vendorCustomerNumbers = new TypedArrayList(VendorCustomerNumber.class);
 109  
         vendorPhoneNumbers = new TypedArrayList(VendorPhoneNumber.class);
 110  
         vendorShippingSpecialConditions = new TypedArrayList(VendorShippingSpecialCondition.class);
 111  
         vendorCommodities = new TypedArrayList(VendorCommodityCode.class);*/
 112  0
         vendorParentIndicator = true;
 113  
 
 114  0
     }
 115  
 
 116  
     public Integer getVendorHeaderGeneratedIdentifier() {
 117  0
         return vendorHeaderGeneratedIdentifier;
 118  
     }
 119  
 
 120  
     public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier) {
 121  0
         this.vendorHeaderGeneratedIdentifier = vendorHeaderGeneratedIdentifier;
 122  0
     }
 123  
 
 124  
     public Integer getVendorDetailAssignedIdentifier() {
 125  0
         return vendorDetailAssignedIdentifier;
 126  
     }
 127  
 
 128  
     public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier) {
 129  0
         this.vendorDetailAssignedIdentifier = vendorDetailAssignedIdentifier;
 130  0
     }
 131  
 
 132  
     /**
 133  
      * A concatenation of the vendorHeaderGeneratedIdentifier, a dash, and the vendorDetailAssignedIdentifier
 134  
      *
 135  
      * @return Returns the vendorNumber.
 136  
      */
 137  
     public String getVendorNumber() {
 138  0
         String headerId = "";
 139  0
         String detailId = "";
 140  0
         String vendorNumber = "";
 141  0
         if (ObjectUtils.isNotNull(this.vendorHeaderGeneratedIdentifier)) {
 142  0
             headerId = this.vendorHeaderGeneratedIdentifier.toString();
 143  
         }
 144  0
         if (ObjectUtils.isNotNull(this.vendorDetailAssignedIdentifier)) {
 145  0
             detailId = this.vendorDetailAssignedIdentifier.toString();
 146  
         }
 147  0
         if (!StringUtils.isEmpty(headerId) && !StringUtils.isEmpty(detailId)) {
 148  0
             vendorNumber = headerId + "-" + detailId;
 149  
         }
 150  
 
 151  0
         return vendorNumber;
 152  
     }
 153  
 
 154  
     /**
 155  
      * Sets the vendorNumber attribute value.
 156  
      * If vendorNumber is empty, clears header and detail IDs.
 157  
      * If vendorNumber is invalid, leaves header and detail IDs as were.
 158  
      *
 159  
      * @param vendorNumber The vendorNumber to set.
 160  
      */
 161  
     public void setVendorNumber(String vendorNumber) {
 162  0
         this.vendorNumber = vendorNumber;
 163  
 
 164  0
         if (StringUtils.isEmpty(vendorNumber)) {
 165  0
             vendorHeaderGeneratedIdentifier = null;
 166  0
             vendorDetailAssignedIdentifier = null;
 167  0
             return;
 168  
         }
 169  
 
 170  0
         int dashInd = vendorNumber.indexOf('-');
 171  
         // make sure there's at least one char before and after '-'
 172  0
         if (dashInd > 0 && dashInd < vendorNumber.length() - 1) {
 173  
             try {
 174  0
                 vendorHeaderGeneratedIdentifier = new Integer(vendorNumber.substring(0, dashInd));
 175  0
                 vendorDetailAssignedIdentifier = new Integer(vendorNumber.substring(dashInd + 1));
 176  0
             } catch (NumberFormatException e) {
 177  
                 // in case of invalid number format
 178  0
             }
 179  
         }
 180  0
     }
 181  
 
 182  
     public String getVendorName() {
 183  0
         return vendorName;
 184  
     }
 185  
 
 186  
     public void setVendorName(String vendorName) {
 187  0
         this.vendorName = vendorName;
 188  0
     }
 189  
 
 190  
     public Integer getVendorSoldToGeneratedIdentifier() {
 191  0
         return vendorSoldToGeneratedIdentifier;
 192  
     }
 193  
 
 194  
     public void setVendorSoldToGeneratedIdentifier(Integer vendorSoldToGeneratedIdentifier) {
 195  0
         this.vendorSoldToGeneratedIdentifier = vendorSoldToGeneratedIdentifier;
 196  0
     }
 197  
 
 198  
     public Integer getVendorSoldToAssignedIdentifier() {
 199  0
         return vendorSoldToAssignedIdentifier;
 200  
     }
 201  
 
 202  
     public void setVendorSoldToAssignedIdentifier(Integer vendorSoldToAssignedIdentifier) {
 203  0
         this.vendorSoldToAssignedIdentifier = vendorSoldToAssignedIdentifier;
 204  0
     }
 205  
 
 206  
     /**
 207  
      * Gets the vendorSoldToNumber attribute.
 208  
      *
 209  
      * @return Returns the vendorSoldToNumber.
 210  
      */
 211  
     public String getVendorSoldToNumber() {
 212  0
         String headerId = "";
 213  0
         String detailId = "";
 214  0
         String vendorSoldToNumber = "";
 215  
 
 216  0
         if (this.vendorSoldToGeneratedIdentifier != null) {
 217  0
             headerId = this.vendorSoldToGeneratedIdentifier.toString();
 218  
         }
 219  0
         if (this.vendorSoldToAssignedIdentifier != null) {
 220  0
             detailId = this.vendorSoldToAssignedIdentifier.toString();
 221  
         }
 222  0
         if (!StringUtils.isEmpty(headerId) && !StringUtils.isEmpty(detailId)) {
 223  0
             vendorSoldToNumber = headerId + "-" + detailId;
 224  
         }
 225  
 
 226  0
         return vendorSoldToNumber;
 227  
     }
 228  
 
 229  
     /**
 230  
      * Sets the vendorSoldToNumber attribute value.
 231  
      * If vendorSoldToNumber is empty, clears soldToVendor header and detail IDs.
 232  
      * If vendorSoldToNumber is invalid, leaves soldToVendor header and detail IDs as were.
 233  
      *
 234  
      * @param vendorSoldToNumber The vendorSoldToNumber to set.
 235  
      */
 236  
     public void setVendorSoldToNumber(String vendorSoldToNumber) {
 237  0
         this.vendorSoldToNumber = vendorSoldToNumber;
 238  
 
 239  0
         if (StringUtils.isEmpty(vendorSoldToNumber)) {
 240  0
             vendorSoldToGeneratedIdentifier = null;
 241  0
             vendorSoldToAssignedIdentifier = null;
 242  0
             return;
 243  
         }
 244  
 
 245  0
         int dashInd = vendorSoldToNumber.indexOf('-');
 246  
         // make sure there's at least one char before and after '-'
 247  0
         if (dashInd > 0 && dashInd < vendorSoldToNumber.length() - 1) {
 248  
             try {
 249  0
                 vendorSoldToGeneratedIdentifier = new Integer(vendorSoldToNumber.substring(0, dashInd));
 250  0
                 vendorSoldToAssignedIdentifier = new Integer(vendorSoldToNumber.substring(dashInd + 1));
 251  0
             } catch (NumberFormatException e) {
 252  
                 // in case of invalid number format
 253  0
             }
 254  
         }
 255  0
     }
 256  
 
 257  
     /**
 258  
      * Gets the vendorSoldToName attribute.
 259  
      *
 260  
      * @return Returns the vendorSoldToName
 261  
      */
 262  
     public String getVendorSoldToName() {
 263  0
         return this.vendorSoldToName;
 264  
     }
 265  
 
 266  
     public void setVendorSoldToName(String vendorSoldToName) {
 267  0
         this.vendorSoldToName = vendorSoldToName;
 268  0
     }
 269  
 
 270  
     public String getAltVendorName() {
 271  0
         return vendorName;
 272  
     }
 273  
 
 274  
     public void setAltVendorName(String altVendorName) {
 275  0
         this.vendorName = altVendorName;
 276  0
     }
 277  
 
 278  
     public String getVendorRemitName() {
 279  0
         return vendorRemitName;
 280  
     }
 281  
 
 282  
     public void setVendorRemitName(String vendorRemitName) {
 283  0
         this.vendorRemitName = vendorRemitName;
 284  0
     }
 285  
 
 286  
     public boolean isVendorParentIndicator() {
 287  0
         return vendorParentIndicator;
 288  
     }
 289  
 
 290  
     public void setVendorParentIndicator(boolean vendorParentIndicator) {
 291  0
         this.vendorParentIndicator = vendorParentIndicator;
 292  0
     }
 293  
 
 294  
     public boolean isTaxableIndicator() {
 295  0
         return taxableIndicator;
 296  
     }
 297  
 
 298  
     public void setTaxableIndicator(boolean taxableIndicator) {
 299  0
         this.taxableIndicator = taxableIndicator;
 300  0
     }
 301  
 
 302  
     public boolean isVendorDebarred() {
 303  0
         return (ObjectUtils.isNotNull(getVendorHeader().getVendorDebarredIndicator()) && getVendorHeader().getVendorDebarredIndicator());
 304  
     }
 305  
 
 306  
     public boolean isActiveIndicator() {
 307  0
         return activeIndicator;
 308  
     }
 309  
 
 310  
     public void setActiveIndicator(boolean activeIndicator) {
 311  0
         this.activeIndicator = activeIndicator;
 312  0
     }
 313  
 
 314  
 //    public String getVendorInactiveReasonCode() {
 315  
 //        return vendorInactiveReasonCode;
 316  
 //    }
 317  
 //
 318  
 //    public void setVendorInactiveReasonCode(String vendorInactiveReasonCode) {
 319  
 //        this.vendorInactiveReasonCode = vendorInactiveReasonCode;
 320  
 //    }
 321  
 
 322  
     public String getVendorPaymentTermsCode() {
 323  0
         return vendorPaymentTermsCode;
 324  
     }
 325  
 
 326  
     public void setVendorPaymentTermsCode(String vendorPaymentTermsCode) {
 327  0
         this.vendorPaymentTermsCode = vendorPaymentTermsCode;
 328  0
     }
 329  
 
 330  
 //    public String getVendorShippingTitleCode() {
 331  
 //        return vendorShippingTitleCode;
 332  
 //    }
 333  
 //
 334  
 //    public void setVendorShippingTitleCode(String vendorShippingTitleCode) {
 335  
 //        this.vendorShippingTitleCode = vendorShippingTitleCode;
 336  
 //    }
 337  
 
 338  
     public String getVendorShippingPaymentTermsCode() {
 339  0
         return vendorShippingPaymentTermsCode;
 340  
     }
 341  
 
 342  
     public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode) {
 343  0
         this.vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode;
 344  0
     }
 345  
 
 346  
     public Boolean getVendorConfirmationIndicator() {
 347  0
         return vendorConfirmationIndicator;
 348  
     }
 349  
 
 350  
     public void setVendorConfirmationIndicator(Boolean vendorConfirmationIndicator) {
 351  0
         this.vendorConfirmationIndicator = vendorConfirmationIndicator;
 352  0
     }
 353  
 
 354  
     public Boolean getVendorPrepaymentIndicator() {
 355  0
         return vendorPrepaymentIndicator;
 356  
     }
 357  
 
 358  
     public void setVendorPrepaymentIndicator(Boolean vendorPrepaymentIndicator) {
 359  0
         this.vendorPrepaymentIndicator = vendorPrepaymentIndicator;
 360  0
     }
 361  
 
 362  
     public Boolean getVendorCreditCardIndicator() {
 363  0
         return vendorCreditCardIndicator;
 364  
     }
 365  
 
 366  
     public void setVendorCreditCardIndicator(Boolean vendorCreditCardIndicator) {
 367  0
         this.vendorCreditCardIndicator = vendorCreditCardIndicator;
 368  0
     }
 369  
 
 370  
     public KualiDecimal getVendorMinimumOrderAmount() {
 371  0
         return vendorMinimumOrderAmount;
 372  
     }
 373  
 
 374  
     public void setVendorMinimumOrderAmount(KualiDecimal vendorMinimumOrderAmount) {
 375  0
         this.vendorMinimumOrderAmount = vendorMinimumOrderAmount;
 376  0
     }
 377  
 
 378  
     public String getVendorUrlAddress() {
 379  0
         return vendorUrlAddress;
 380  
     }
 381  
 
 382  
     public void setVendorUrlAddress(String vendorUrlAddress) {
 383  0
         this.vendorUrlAddress = vendorUrlAddress;
 384  0
     }
 385  
 
 386  
     public Boolean getVendorRestrictedIndicator() {
 387  0
         return vendorRestrictedIndicator;
 388  
     }
 389  
 
 390  
     public void setVendorRestrictedIndicator(Boolean vendorRestrictedIndicator) {
 391  0
         this.vendorRestrictedIndicator = vendorRestrictedIndicator;
 392  0
     }
 393  
 
 394  
     public String getVendorRestrictedReasonText() {
 395  0
         return vendorRestrictedReasonText;
 396  
     }
 397  
 
 398  
     public void setVendorRestrictedReasonText(String vendorRestrictedReasonText) {
 399  0
         this.vendorRestrictedReasonText = vendorRestrictedReasonText;
 400  0
     }
 401  
 
 402  
     public Date getVendorRestrictedDate() {
 403  0
         return vendorRestrictedDate;
 404  
     }
 405  
 
 406  
     public void setVendorRestrictedDate(Date vendorRestrictedDate) {
 407  0
         this.vendorRestrictedDate = vendorRestrictedDate;
 408  0
     }
 409  
 
 410  
     /*public String getVendorRestrictedPersonIdentifier() {
 411  
         return vendorRestrictedPersonIdentifier;
 412  
     }
 413  
 
 414  
     public void setVendorRestrictedPersonIdentifier(String vendorRestrictedPersonIdentifier) {
 415  
         this.vendorRestrictedPersonIdentifier = vendorRestrictedPersonIdentifier;
 416  
     }*/
 417  
 
 418  
     public String getVendorDunsNumber() {
 419  0
         return vendorDunsNumber;
 420  
     }
 421  
 
 422  
     public void setVendorDunsNumber(String vendorDunsNumber) {
 423  0
         this.vendorDunsNumber = vendorDunsNumber;
 424  0
     }
 425  
 
 426  
     public VendorHeader getVendorHeader() {
 427  0
         return vendorHeader;
 428  
     }
 429  
 
 430  
     public void setVendorHeader(VendorHeader vendorHeader) {
 431  0
         this.vendorHeader = vendorHeader;
 432  0
     }
 433  
 
 434  
     public PaymentTermType getVendorPaymentTerms() {
 435  0
         return vendorPaymentTerms;
 436  
     }
 437  
 
 438  
     /**
 439  
      * Sets the vendorPaymentTerms attribute.
 440  
      *
 441  
      * @param vendorPaymentTerms The vendorPaymentTerms to set.
 442  
      * @deprecated
 443  
      */
 444  
     public void setVendorPaymentTerms(PaymentTermType vendorPaymentTerms) {
 445  0
         this.vendorPaymentTerms = vendorPaymentTerms;
 446  0
     }
 447  
 
 448  
 //    public ShippingTitle getVendorShippingTitle() {
 449  
 //        return vendorShippingTitle;
 450  
 //    }
 451  
 
 452  
     /**
 453  
      * Sets the vendorShippingTitle attribute.
 454  
      *
 455  
      * @param vendorShippingTitle The vendorShippingTitle to set.
 456  
      * @deprecated
 457  
      */
 458  
 //    public void setVendorShippingTitle(ShippingTitle vendorShippingTitle) {
 459  
 //        this.vendorShippingTitle = vendorShippingTitle;
 460  
 //    }
 461  
     public ShippingPaymentTerms getVendorShippingPaymentTerms() {
 462  0
         return vendorShippingPaymentTerms;
 463  
     }
 464  
 
 465  
     /**
 466  
      * Sets the vendorShippingPaymentTerms attribute.
 467  
      *
 468  
      * @param vendorShippingPaymentTerms The vendorShippingPaymentTerms to set.
 469  
      * @deprecated
 470  
      */
 471  
     public void setVendorShippingPaymentTerms(ShippingPaymentTerms vendorShippingPaymentTerms) {
 472  0
         this.vendorShippingPaymentTerms = vendorShippingPaymentTerms;
 473  0
     }
 474  
 
 475  
 //    public VendorInactiveReason getVendorInactiveReason() {
 476  
 //        return vendorInactiveReason;
 477  
 //    }
 478  
 
 479  
     /**
 480  
      * Sets the vendorInactiveReason attribute value.
 481  
      *
 482  
      * @param vendorInactiveReason The vendorInactiveReason to set.
 483  
      * @deprecated
 484  
      */
 485  
 //    public void setVendorInactiveReason(VendorInactiveReason vendorInactiveReason) {
 486  
 //        this.vendorInactiveReason = vendorInactiveReason;
 487  
 //    }
 488  
     public List<VendorAddress> getVendorAddresses() {
 489  0
         return vendorAddresses;
 490  
     }
 491  
 
 492  
     public void setVendorAddresses(List<VendorAddress> vendorAddresses) {
 493  0
         this.vendorAddresses = vendorAddresses;
 494  0
     }
 495  
 
 496  
     /*public List<VendorContact> getVendorContacts() {
 497  
         return vendorContacts;
 498  
     }
 499  
 
 500  
     public void setVendorContacts(List<VendorContact> vendorContacts) {
 501  
         this.vendorContacts = vendorContacts;
 502  
     }
 503  
 
 504  
     public List<VendorContract> getVendorContracts() {
 505  
         return vendorContracts;
 506  
     }
 507  
 
 508  
     public void setVendorContracts(List<VendorContract> vendorContracts) {
 509  
         this.vendorContracts = vendorContracts;
 510  
     }
 511  
 
 512  
     public List<VendorCustomerNumber> getVendorCustomerNumbers() {
 513  
         return vendorCustomerNumbers;
 514  
     }
 515  
 
 516  
     public void setVendorCustomerNumbers(List<VendorCustomerNumber> vendorCustomerNumbers) {
 517  
         this.vendorCustomerNumbers = vendorCustomerNumbers;
 518  
     }
 519  
 
 520  
     public List<VendorShippingSpecialCondition> getVendorShippingSpecialConditions() {
 521  
         return vendorShippingSpecialConditions;
 522  
     }
 523  
 
 524  
     public void setVendorShippingSpecialConditions(List<VendorShippingSpecialCondition> vendorShippingSpecialConditions) {
 525  
         this.vendorShippingSpecialConditions = vendorShippingSpecialConditions;
 526  
     }
 527  
 
 528  
     public List<VendorCommodityCode> getVendorCommodities() {
 529  
         return vendorCommodities;
 530  
     }
 531  
 
 532  
     public void setVendorCommodities(List<VendorCommodityCode> vendorCommodities) {
 533  
         this.vendorCommodities = vendorCommodities;
 534  
     }
 535  
 
 536  
     public List<VendorAlias> getVendorAliases() {
 537  
         return vendorAliases;
 538  
     }
 539  
 
 540  
     public void setVendorAliases(List<VendorAlias> vendorAliases) {
 541  
         this.vendorAliases = vendorAliases;
 542  
     }
 543  
 
 544  
     public List<VendorPhoneNumber> getVendorPhoneNumbers() {
 545  
         return vendorPhoneNumbers;
 546  
     }
 547  
 
 548  
     public void setVendorPhoneNumbers(List<VendorPhoneNumber> vendorPhoneNumbers) {
 549  
         this.vendorPhoneNumbers = vendorPhoneNumbers;
 550  
     }*/
 551  
 
 552  
     public String getVendorFirstName() {
 553  0
         return vendorFirstName;
 554  
     }
 555  
 
 556  
     public void setVendorFirstName(String vendorFirstName) {
 557  0
         this.vendorFirstName = vendorFirstName;
 558  0
     }
 559  
 
 560  
     public String getVendorLastName() {
 561  0
         return vendorLastName;
 562  
     }
 563  
 
 564  
     public void setVendorLastName(String vendorLastName) {
 565  0
         this.vendorLastName = vendorLastName;
 566  0
     }
 567  
 
 568  
     public VendorDetail getSoldToVendorDetail() {
 569  0
         return soldToVendorDetail;
 570  
     }
 571  
 
 572  
     public void setSoldToVendorDetail(VendorDetail soldToVendorDetail) {
 573  0
         this.soldToVendorDetail = soldToVendorDetail;
 574  0
     }
 575  
 
 576  
     public boolean isVendorFirstLastNameIndicator() {
 577  0
         return vendorFirstLastNameIndicator;
 578  
     }
 579  
 
 580  
     public void setVendorFirstLastNameIndicator(boolean vendorFirstLastNameIndicator) {
 581  0
         this.vendorFirstLastNameIndicator = vendorFirstLastNameIndicator;
 582  0
     }
 583  
 
 584  
     public String getVendorStateForLookup() {
 585  0
         return vendorStateForLookup;
 586  
     }
 587  
 
 588  
     public void setVendorStateForLookup(String vendorStateForLookup) {
 589  0
         this.vendorStateForLookup = vendorStateForLookup;
 590  0
     }
 591  
 
 592  
 //    public Person getVendorRestrictedPerson() {
 593  
 //        vendorRestrictedPerson = SpringContext.getBean(org.kuali.rice.kim.service.PersonService.class).updatePersonIfNecessary(vendorRestrictedPersonIdentifier, vendorRestrictedPerson);
 594  
 //        return vendorRestrictedPerson;
 595  
 //    }
 596  
 
 597  
     /**
 598  
      * Sets the vendorRestrictedPerson attribute.
 599  
      *
 600  
      * @param vendorRestrictedPerson The vendorRestrictedPerson to set.
 601  
      * @deprecated
 602  
      */
 603  
 //    public void setVendorRestrictedPerson(Person vendorRestrictedPerson) {
 604  
 //        this.vendorRestrictedPerson = vendorRestrictedPerson;
 605  
 //    }
 606  
     public String getDefaultAddressLine1() {
 607  0
         return defaultAddressLine1;
 608  
     }
 609  
 
 610  
     public void setDefaultAddressLine1(String defaultAddressLine1) {
 611  0
         this.defaultAddressLine1 = defaultAddressLine1;
 612  0
     }
 613  
 
 614  
     public String getDefaultAddressCity() {
 615  0
         return defaultAddressCity;
 616  
     }
 617  
 
 618  
     public void setDefaultAddressCity(String defaultAddressCity) {
 619  0
         this.defaultAddressCity = defaultAddressCity;
 620  0
     }
 621  
 
 622  
     public String getDefaultAddressLine2() {
 623  0
         return defaultAddressLine2;
 624  
     }
 625  
 
 626  
     public void setDefaultAddressLine2(String defaultAddressLine2) {
 627  0
         this.defaultAddressLine2 = defaultAddressLine2;
 628  0
     }
 629  
 
 630  
     public String getDefaultAddressPostalCode() {
 631  0
         return defaultAddressPostalCode;
 632  
     }
 633  
 
 634  
     public void setDefaultAddressPostalCode(String defaultAddressPostalCode) {
 635  0
         this.defaultAddressPostalCode = defaultAddressPostalCode;
 636  0
     }
 637  
 
 638  
     public String getDefaultAddressStateCode() {
 639  0
         return defaultAddressStateCode;
 640  
     }
 641  
 
 642  
     public void setDefaultAddressStateCode(String defaultAddressStateCode) {
 643  0
         this.defaultAddressStateCode = defaultAddressStateCode;
 644  0
     }
 645  
 
 646  
     public String getDefaultAddressInternationalProvince() {
 647  0
         return defaultAddressInternationalProvince;
 648  
     }
 649  
 
 650  
     public void setDefaultAddressInternationalProvince(String defaultAddressInternationalProvince) {
 651  0
         this.defaultAddressInternationalProvince = defaultAddressInternationalProvince;
 652  0
     }
 653  
 
 654  
     public String getDefaultAddressCountryCode() {
 655  0
         return defaultAddressCountryCode;
 656  
     }
 657  
 
 658  
     public void setDefaultAddressCountryCode(String defaultAddressCountryCode) {
 659  0
         this.defaultAddressCountryCode = defaultAddressCountryCode;
 660  0
     }
 661  
 
 662  
     public String getDefaultFaxNumber() {
 663  0
         return defaultFaxNumber;
 664  
     }
 665  
 
 666  
     public void setDefaultFaxNumber(String defaultFaxNumber) {
 667  0
         this.defaultFaxNumber = defaultFaxNumber;
 668  0
     }
 669  
 
 670  
     public void setVendorParentName(String vendorParentName) {
 671  0
         this.vendorParentName = vendorParentName;
 672  0
     }
 673  
 
 674  
 
 675  
     public String getVendorInactiveReasonCode() {
 676  0
         return this.vendorInactiveReasonCode;
 677  
     }
 678  
 
 679  
     public void setVendorInactiveReasonCode(String vendorInactiveReasonCode) {
 680  0
         this.vendorInactiveReasonCode = vendorInactiveReasonCode;
 681  0
     }
 682  
 
 683  
     public String getVendorShippingTitleCode() {
 684  0
         return this.vendorShippingTitleCode;
 685  
     }
 686  
 
 687  
     public void setVendorShippingTitleCode(String vendorShippingTitleCode) {
 688  0
         this.vendorShippingTitleCode = vendorShippingTitleCode;
 689  0
     }
 690  
 
 691  
     public String getVendorParentName() {
 692  0
         return this.vendorParentName;
 693  
     }
 694  
 
 695  
 
 696  
 }
 697