edu.sampleu.financial.bo
Class VendorHeader

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by edu.sampleu.financial.bo.VendorHeader
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject

public class VendorHeader
extends PersistableBusinessObjectBase

Contains information specific to a parent Vendor, which may be shared by its division Vendors if it has any. Contained by a VendorDetail.

See Also:
org.kuali.kfs.vnd.businessobject.VendorDetail, Serialized Form

Field Summary
private static org.apache.log4j.Logger LOG
           
private  Boolean vendorDebarredIndicator
           
private  Date vendorFederalWithholdingTaxBeginningDate
           
private  Date vendorFederalWithholdingTaxEndDate
           
private  Boolean vendorForeignIndicator
           
private  Integer vendorHeaderGeneratedIdentifier
           
private  OwnershipType vendorOwnership
           
private  String vendorOwnershipCategoryCode
           
private  String vendorOwnershipCode
           
private  String vendorTaxNumber
           
private  String vendorTaxTypeCode
           
private  String vendorTypeCode
           
private  Boolean vendorW8BenReceivedIndicator
           
private  Boolean vendorW9ReceivedIndicator
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
VendorHeader()
          Default constructor.
 
Method Summary
 Boolean getVendorDebarredIndicator()
          Deprecated.  
 Date getVendorFederalWithholdingTaxBeginningDate()
           
 Date getVendorFederalWithholdingTaxEndDate()
           
 Boolean getVendorForeignIndicator()
           
 Integer getVendorHeaderGeneratedIdentifier()
           
 OwnershipType getVendorOwnership()
          Deprecated.  
 String getVendorOwnershipCategoryCode()
           
 String getVendorOwnershipCode()
           
 String getVendorTaxNumber()
           
 String getVendorTaxTypeCode()
           
 String getVendorTypeCode()
           
 Boolean getVendorW8BenReceivedIndicator()
           
 Boolean getVendorW9ReceivedIndicator()
           
 boolean isEqualForRouting(Object toCompare)
          This method is a predicate to test equality of all the persisted attributes of an instance of this class, including member collections.
 void setVendorDebarredIndicator(Boolean vendorDebarredIndicator)
          Sets the vendorDebarredIndicator attribute value.
 void setVendorFederalWithholdingTaxBeginningDate(Date vendorFederalWithholdingTaxBeginningDate)
           
 void setVendorFederalWithholdingTaxEndDate(Date vendorFederalWithholdingTaxEndDate)
           
 void setVendorForeignIndicator(Boolean vendorForeignIndicator)
          Sets the vendorForeignIndicator attribute value.
 void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)
           
 void setVendorOwnership(OwnershipType vendorOwnership)
          Deprecated.  
 void setVendorOwnershipCategoryCode(String vendorOwnershipCategoryCode)
           
 void setVendorOwnershipCode(String vendorOwnershipCode)
           
 void setVendorTaxNumber(String vendorTaxNumber)
           
 void setVendorTaxTypeCode(String vendorTaxTypeCode)
           
 void setVendorTypeCode(String vendorTypeCode)
           
 void setVendorW8BenReceivedIndicator(Boolean vendorW8BenReceivedIndicator)
           
 void setVendorW9ReceivedIndicator(Boolean vendorW9ReceivedIndicator)
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder, toStringMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Field Detail

LOG

private static org.apache.log4j.Logger LOG

vendorHeaderGeneratedIdentifier

private Integer vendorHeaderGeneratedIdentifier

vendorTypeCode

private String vendorTypeCode

vendorTaxNumber

private String vendorTaxNumber

vendorTaxTypeCode

private String vendorTaxTypeCode

vendorOwnershipCode

private String vendorOwnershipCode

vendorOwnershipCategoryCode

private String vendorOwnershipCategoryCode

vendorFederalWithholdingTaxBeginningDate

private Date vendorFederalWithholdingTaxBeginningDate

vendorFederalWithholdingTaxEndDate

private Date vendorFederalWithholdingTaxEndDate

vendorW9ReceivedIndicator

private Boolean vendorW9ReceivedIndicator

vendorW8BenReceivedIndicator

private Boolean vendorW8BenReceivedIndicator

vendorDebarredIndicator

private Boolean vendorDebarredIndicator

vendorForeignIndicator

private Boolean vendorForeignIndicator

vendorOwnership

private OwnershipType vendorOwnership
Constructor Detail

VendorHeader

public VendorHeader()
Default constructor.

Method Detail

getVendorHeaderGeneratedIdentifier

public Integer getVendorHeaderGeneratedIdentifier()

setVendorHeaderGeneratedIdentifier

public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)

getVendorTypeCode

public String getVendorTypeCode()

setVendorTypeCode

public void setVendorTypeCode(String vendorTypeCode)

getVendorTaxNumber

public String getVendorTaxNumber()

setVendorTaxNumber

public void setVendorTaxNumber(String vendorTaxNumber)

getVendorTaxTypeCode

public String getVendorTaxTypeCode()

setVendorTaxTypeCode

public void setVendorTaxTypeCode(String vendorTaxTypeCode)

getVendorOwnershipCode

public String getVendorOwnershipCode()

setVendorOwnershipCode

public void setVendorOwnershipCode(String vendorOwnershipCode)

getVendorOwnershipCategoryCode

public String getVendorOwnershipCategoryCode()

setVendorOwnershipCategoryCode

public void setVendorOwnershipCategoryCode(String vendorOwnershipCategoryCode)

getVendorFederalWithholdingTaxBeginningDate

public Date getVendorFederalWithholdingTaxBeginningDate()

setVendorFederalWithholdingTaxBeginningDate

public void setVendorFederalWithholdingTaxBeginningDate(Date vendorFederalWithholdingTaxBeginningDate)

getVendorFederalWithholdingTaxEndDate

public Date getVendorFederalWithholdingTaxEndDate()

setVendorFederalWithholdingTaxEndDate

public void setVendorFederalWithholdingTaxEndDate(Date vendorFederalWithholdingTaxEndDate)

getVendorW9ReceivedIndicator

public Boolean getVendorW9ReceivedIndicator()

setVendorW9ReceivedIndicator

public void setVendorW9ReceivedIndicator(Boolean vendorW9ReceivedIndicator)

getVendorW8BenReceivedIndicator

public Boolean getVendorW8BenReceivedIndicator()

setVendorW8BenReceivedIndicator

public void setVendorW8BenReceivedIndicator(Boolean vendorW8BenReceivedIndicator)

getVendorOwnership

public OwnershipType getVendorOwnership()
Deprecated. 

Sets the vendorType attribute.

Parameters:
vendorType - The vendorType to set.

setVendorOwnership

public void setVendorOwnership(OwnershipType vendorOwnership)
Deprecated. 

Sets the vendorOwnership attribute.

Parameters:
vendorOwnership - The vendorOwnership to set.

getVendorDebarredIndicator

public Boolean getVendorDebarredIndicator()
Deprecated. 

Sets the vendorOwnershipCategory attribute.

Parameters:
vendorOwnershipCategory - The vendorOwnershipCategory to set.

setVendorDebarredIndicator

public void setVendorDebarredIndicator(Boolean vendorDebarredIndicator)
Sets the vendorDebarredIndicator attribute value.

Parameters:
vendorDebarredIndicator - The vendorDebarredIndicator to set.

getVendorForeignIndicator

public Boolean getVendorForeignIndicator()

setVendorForeignIndicator

public void setVendorForeignIndicator(Boolean vendorForeignIndicator)
Sets the vendorForeignIndicator attribute value.

Parameters:
vendorForeignIndicator - The vendorForeignIndicator to set.

isEqualForRouting

public boolean isEqualForRouting(Object toCompare)
This method is a predicate to test equality of all the persisted attributes of an instance of this class, including member collections. This is used to determine whether to route

Parameters:
vh - Another VendorHeader object
Returns:
True if all non-derived attributes of the given object are equal to this one's


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.