org.kuali.kfs.vnd.businessobject
Class VendorAddress

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.vnd.businessobject.VendorAddress
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, VendorRoutingComparable, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.Inactivateable, org.kuali.rice.kns.bo.PersistableBusinessObject

public class VendorAddress
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements VendorRoutingComparable, org.kuali.rice.kns.bo.Inactivateable

Address to be associated with a particular Vendor.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
VendorAddress()
          Default constructor.
 
Method Summary
 String getVendorAddressEmailAddress()
           
 Integer getVendorAddressGeneratedIdentifier()
           
 String getVendorAddressInternationalProvinceName()
           
 AddressType getVendorAddressType()
           
 String getVendorAddressTypeCode()
           
 String getVendorAttentionName()
           
 String getVendorBusinessToBusinessUrlAddress()
           
 String getVendorCityName()
           
 org.kuali.rice.kns.bo.Country getVendorCountry()
           
 String getVendorCountryCode()
           
 List<VendorDefaultAddress> getVendorDefaultAddresses()
           
 VendorDetail getVendorDetail()
           
 Integer getVendorDetailAssignedIdentifier()
           
 String getVendorFaxNumber()
          Gets the vendorFaxNumber attribute.
 Integer getVendorHeaderGeneratedIdentifier()
           
 String getVendorLine1Address()
           
 String getVendorLine2Address()
           
 org.kuali.rice.kns.bo.State getVendorState()
           
 String getVendorStateCode()
           
 String getVendorZipCode()
           
 boolean isActive()
           
 boolean isEqualForRouting(Object toCompare)
          A predicate to test equality of all the persisted attributes of an instance of this class, not including member collections.
 boolean isVendorDefaultAddressIndicator()
          Gets the vendorDefaultAddressIndicator attribute.
 void setActive(boolean active)
           
 void setVendorAddressEmailAddress(String vendorAddressEmailAddress)
           
 void setVendorAddressGeneratedIdentifier(Integer vendorAddressGeneratedIdentifier)
           
 void setVendorAddressInternationalProvinceName(String vendorAddressInternationalProvinceName)
           
 void setVendorAddressType(AddressType vendorAddressType)
          Deprecated.  
 void setVendorAddressTypeCode(String vendorAddressTypeCode)
           
 void setVendorAttentionName(String vendorAttentionName)
           
 void setVendorBusinessToBusinessUrlAddress(String vendorBusinessToBusinessUrlAddress)
           
 void setVendorCityName(String vendorCityName)
           
 void setVendorCountry(org.kuali.rice.kns.bo.Country vendorCountry)
          Deprecated.  
 void setVendorCountryCode(String vendorCountryCode)
           
 void setVendorDefaultAddresses(List<VendorDefaultAddress> vendorDefaultAddresses)
           
 void setVendorDefaultAddressIndicator(boolean vendorDefaultAddressIndicator)
          Sets the vendorDefaultAddressIndicator attribute value.
 void setVendorDetail(VendorDetail vendorDetail)
          Deprecated.  
 void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)
           
 void setVendorFaxNumber(String vendorFaxNumber)
          Sets the vendorFaxNumber attribute value.
 void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)
           
 void setVendorLine1Address(String vendorLine1Address)
           
 void setVendorLine2Address(String vendorLine2Address)
           
 void setVendorState(org.kuali.rice.kns.bo.State vendorState)
          Deprecated.  
 void setVendorStateCode(String vendorStateCode)
           
 void setVendorZipCode(String vendorZipCode)
           
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow
 

Constructor Detail

VendorAddress

public VendorAddress()
Default constructor.

Method Detail

getVendorAddressGeneratedIdentifier

public Integer getVendorAddressGeneratedIdentifier()

setVendorAddressGeneratedIdentifier

public void setVendorAddressGeneratedIdentifier(Integer vendorAddressGeneratedIdentifier)

getVendorHeaderGeneratedIdentifier

public Integer getVendorHeaderGeneratedIdentifier()

setVendorHeaderGeneratedIdentifier

public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)

getVendorDetailAssignedIdentifier

public Integer getVendorDetailAssignedIdentifier()

setVendorDetailAssignedIdentifier

public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)

getVendorAddressInternationalProvinceName

public String getVendorAddressInternationalProvinceName()

setVendorAddressInternationalProvinceName

public void setVendorAddressInternationalProvinceName(String vendorAddressInternationalProvinceName)

getVendorAddressEmailAddress

public String getVendorAddressEmailAddress()

setVendorAddressEmailAddress

public void setVendorAddressEmailAddress(String vendorAddressEmailAddress)

getVendorAddressTypeCode

public String getVendorAddressTypeCode()

setVendorAddressTypeCode

public void setVendorAddressTypeCode(String vendorAddressTypeCode)

getVendorLine1Address

public String getVendorLine1Address()

setVendorLine1Address

public void setVendorLine1Address(String vendorLine1Address)

getVendorLine2Address

public String getVendorLine2Address()

setVendorLine2Address

public void setVendorLine2Address(String vendorLine2Address)

getVendorCityName

public String getVendorCityName()

setVendorCityName

public void setVendorCityName(String vendorCityName)

getVendorStateCode

public String getVendorStateCode()

setVendorStateCode

public void setVendorStateCode(String vendorStateCode)

getVendorZipCode

public String getVendorZipCode()

setVendorZipCode

public void setVendorZipCode(String vendorZipCode)

getVendorCountryCode

public String getVendorCountryCode()

setVendorCountryCode

public void setVendorCountryCode(String vendorCountryCode)

getVendorAttentionName

public String getVendorAttentionName()

setVendorAttentionName

public void setVendorAttentionName(String vendorAttentionName)

getVendorBusinessToBusinessUrlAddress

public String getVendorBusinessToBusinessUrlAddress()

setVendorBusinessToBusinessUrlAddress

public void setVendorBusinessToBusinessUrlAddress(String vendorBusinessToBusinessUrlAddress)

getVendorDetail

public VendorDetail getVendorDetail()

setVendorDetail

public void setVendorDetail(VendorDetail vendorDetail)
Deprecated. 

Sets the vendorDetail attribute.

Parameters:
vendorDetail - The vendorDetail to set.

getVendorAddressType

public AddressType getVendorAddressType()

setVendorAddressType

public void setVendorAddressType(AddressType vendorAddressType)
Deprecated. 

Sets the vendorAddressType attribute.

Parameters:
vendorAddressType - The vendorAddressType to set.

getVendorState

public org.kuali.rice.kns.bo.State getVendorState()

setVendorState

public void setVendorState(org.kuali.rice.kns.bo.State vendorState)
Deprecated. 

Sets the vendorState attribute.

Parameters:
vendorState - The vendorState to set.

getVendorCountry

public org.kuali.rice.kns.bo.Country getVendorCountry()

setVendorCountry

public void setVendorCountry(org.kuali.rice.kns.bo.Country vendorCountry)
Deprecated. 

Sets the vendorCountry attribute.

Parameters:
vendorCountry - The vendorCountry to set.

getVendorFaxNumber

public String getVendorFaxNumber()
Gets the vendorFaxNumber attribute.

Returns:
Returns the vendorFaxNumber.

setVendorFaxNumber

public void setVendorFaxNumber(String vendorFaxNumber)
Sets the vendorFaxNumber attribute value.

Parameters:
vendorFaxNumber - The vendorFaxNumber to set.

isVendorDefaultAddressIndicator

public boolean isVendorDefaultAddressIndicator()
Gets the vendorDefaultAddressIndicator attribute.

Returns:
Returns the vendorDefaultAddressIndicator.

setVendorDefaultAddressIndicator

public void setVendorDefaultAddressIndicator(boolean vendorDefaultAddressIndicator)
Sets the vendorDefaultAddressIndicator attribute value.

Parameters:
vendorDefaultAddressIndicator - The vendorDefaultAddressIndicator to set.

isActive

public boolean isActive()
Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable

setActive

public void setActive(boolean active)
Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable

getVendorDefaultAddresses

public List<VendorDefaultAddress> getVendorDefaultAddresses()

setVendorDefaultAddresses

public void setVendorDefaultAddresses(List<VendorDefaultAddress> vendorDefaultAddresses)

isEqualForRouting

public boolean isEqualForRouting(Object toCompare)
Description copied from interface: VendorRoutingComparable
A predicate to test equality of all the persisted attributes of an instance of this class, not including member collections. This is used to help determine whether to route.

Specified by:
isEqualForRouting in interface VendorRoutingComparable
Parameters:
toCompare - An Object, which should be of this class if the comparison is to be meaningful.
Returns:
True if all non-derived attributes of the given object other than collections are equal to this one's. False if the given object is null or of a different class.
See Also:
org.kuali.kfs.vnd.document.routing.VendorRoutingComparable#isEqualForRouting(java.lang.Object)

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
BusinessObjectBase.toStringMapper()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.