org.kuali.kfs.module.ar.businessobject
Class CustomerAddress

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.module.ar.businessobject.CustomerAddress
All Implemented Interfaces:
Serializable, Comparable<CustomerAddress>, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject

public class CustomerAddress
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements Comparable<CustomerAddress>

Author:
Kuali Nervous System Team (kualidev@oncourse.iu.edu)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
CustomerAddress()
          Default constructor.
 
Method Summary
 void beforeInsert(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
           
 int compareTo(CustomerAddress address)
           
 Customer getCustomer()
          Gets the customer attribute.
 Date getCustomerAddressEndDate()
          Gets the customerAddressEndDate attribute.
 Integer getCustomerAddressIdentifier()
          Gets the customerAddressIdentifier attribute.
 String getCustomerAddressInternationalProvinceName()
          Gets the customerAddressInternationalProvinceName attribute.
 String getCustomerAddressName()
          Gets the customerAddressName attribute.
 CustomerAddressType getCustomerAddressType()
          Gets the customerAddressType attribute.
 String getCustomerAddressTypeCode()
          Gets the customerAddressTypeCode attribute.
 String getCustomerCityName()
          Gets the customerCityName attribute.
 org.kuali.rice.kns.bo.Country getCustomerCountry()
          Gets the customerCountry attribute.
 String getCustomerCountryCode()
          Gets the customerCountryCode attribute.
 String getCustomerEmailAddress()
          Gets the customerEmailAddress attribute.
 String getCustomerInternationalMailCode()
          Gets the customerInternationalMailCode attribute.
 String getCustomerLine1StreetAddress()
          Gets the customerLine1StreetAddress attribute.
 String getCustomerLine2StreetAddress()
          Gets the customerLine2StreetAddress attribute.
 String getCustomerNumber()
          Gets the customerNumber attribute.
 String getCustomerStateCode()
          Gets the customerStateCode attribute.
 String getCustomerZipCode()
          Gets the customerZipCode attribute.
 void setCustomer(Customer customer)
          Deprecated.  
 void setCustomerAddressEndDate(Date customerAddressEndDate)
          Sets the customerAddressEndDate attribute.
 void setCustomerAddressIdentifier(Integer customerAddressIdentifier)
          Sets the customerAddressIdentifier attribute.
 void setCustomerAddressInternationalProvinceName(String customerAddressInternationalProvinceName)
          Sets the customerAddressInternationalProvinceName attribute value.
 void setCustomerAddressName(String customerAddressName)
          Sets the customerAddressName attribute.
 void setCustomerAddressType(CustomerAddressType customerAddressType)
          Deprecated.  
 void setCustomerAddressTypeCode(String customerAddressTypeCode)
          Sets the customerAddressTypeCode attribute.
 void setCustomerCityName(String customerCityName)
          Sets the customerCityName attribute.
 void setCustomerCountry(org.kuali.rice.kns.bo.Country customerCountry)
          Deprecated.  
 void setCustomerCountryCode(String customerCountryCode)
          Sets the customerCountryCode attribute value.
 void setCustomerEmailAddress(String customerEmailAddress)
          Sets the customerEmailAddress attribute.
 void setCustomerInternationalMailCode(String customerInternationalMailCode)
          Sets the customerInternationalMailCode attribute.
 void setCustomerLine1StreetAddress(String customerLine1StreetAddress)
          Sets the customerLine1StreetAddress attribute.
 void setCustomerLine2StreetAddress(String customerLine2StreetAddress)
          Sets the customerLine2StreetAddress attribute.
 void setCustomerNumber(String customerNumber)
          Sets the customerNumber attribute.
 void setCustomerStateCode(String customerStateCode)
          Sets the customerStateCode attribute.
 void setCustomerZipCode(String customerZipCode)
          Sets the customerZipCode attribute.
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, 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

CustomerAddress

public CustomerAddress()
Default constructor.

Method Detail

getCustomerNumber

public String getCustomerNumber()
Gets the customerNumber attribute.

Returns:
Returns the customerNumber

setCustomerNumber

public void setCustomerNumber(String customerNumber)
Sets the customerNumber attribute.

Parameters:
customerNumber - The customerNumber to set.

getCustomerAddressIdentifier

public Integer getCustomerAddressIdentifier()
Gets the customerAddressIdentifier attribute.

Returns:
Returns the customerAddressIdentifier

setCustomerAddressIdentifier

public void setCustomerAddressIdentifier(Integer customerAddressIdentifier)
Sets the customerAddressIdentifier attribute.

Parameters:
customerAddressIdentifier - The customerAddressIdentifier to set.

getCustomerAddressName

public String getCustomerAddressName()
Gets the customerAddressName attribute.

Returns:
Returns the customerAddressName

setCustomerAddressName

public void setCustomerAddressName(String customerAddressName)
Sets the customerAddressName attribute.

Parameters:
customerAddressName - The customerAddressName to set.

getCustomerLine1StreetAddress

public String getCustomerLine1StreetAddress()
Gets the customerLine1StreetAddress attribute.

Returns:
Returns the customerLine1StreetAddress

setCustomerLine1StreetAddress

public void setCustomerLine1StreetAddress(String customerLine1StreetAddress)
Sets the customerLine1StreetAddress attribute.

Parameters:
customerLine1StreetAddress - The customerLine1StreetAddress to set.

getCustomerLine2StreetAddress

public String getCustomerLine2StreetAddress()
Gets the customerLine2StreetAddress attribute.

Returns:
Returns the customerLine2StreetAddress

setCustomerLine2StreetAddress

public void setCustomerLine2StreetAddress(String customerLine2StreetAddress)
Sets the customerLine2StreetAddress attribute.

Parameters:
customerLine2StreetAddress - The customerLine2StreetAddress to set.

getCustomerCityName

public String getCustomerCityName()
Gets the customerCityName attribute.

Returns:
Returns the customerCityName

setCustomerCityName

public void setCustomerCityName(String customerCityName)
Sets the customerCityName attribute.

Parameters:
customerCityName - The customerCityName to set.

getCustomerStateCode

public String getCustomerStateCode()
Gets the customerStateCode attribute.

Returns:
Returns the customerStateCode

setCustomerStateCode

public void setCustomerStateCode(String customerStateCode)
Sets the customerStateCode attribute.

Parameters:
customerStateCode - The customerStateCode to set.

getCustomerZipCode

public String getCustomerZipCode()
Gets the customerZipCode attribute.

Returns:
Returns the customerZipCode

setCustomerZipCode

public void setCustomerZipCode(String customerZipCode)
Sets the customerZipCode attribute.

Parameters:
customerZipCode - The customerZipCode to set.

getCustomerAddressInternationalProvinceName

public String getCustomerAddressInternationalProvinceName()
Gets the customerAddressInternationalProvinceName attribute.

Returns:
Returns the customerAddressInternationalProvinceName.

setCustomerAddressInternationalProvinceName

public void setCustomerAddressInternationalProvinceName(String customerAddressInternationalProvinceName)
Sets the customerAddressInternationalProvinceName attribute value.

Parameters:
customerAddressInternationalProvinceName - The customerAddressInternationalProvinceName to set.

getCustomerCountryCode

public String getCustomerCountryCode()
Gets the customerCountryCode attribute.

Returns:
Returns the customerCountryCode.

setCustomerCountryCode

public void setCustomerCountryCode(String customerCountryCode)
Sets the customerCountryCode attribute value.

Parameters:
customerCountryCode - The customerCountryCode to set.

getCustomerInternationalMailCode

public String getCustomerInternationalMailCode()
Gets the customerInternationalMailCode attribute.

Returns:
Returns the customerInternationalMailCode

setCustomerInternationalMailCode

public void setCustomerInternationalMailCode(String customerInternationalMailCode)
Sets the customerInternationalMailCode attribute.

Parameters:
customerInternationalMailCode - The customerInternationalMailCode to set.

getCustomerEmailAddress

public String getCustomerEmailAddress()
Gets the customerEmailAddress attribute.

Returns:
Returns the customerEmailAddress

setCustomerEmailAddress

public void setCustomerEmailAddress(String customerEmailAddress)
Sets the customerEmailAddress attribute.

Parameters:
customerEmailAddress - The customerEmailAddress to set.

getCustomerAddressTypeCode

public String getCustomerAddressTypeCode()
Gets the customerAddressTypeCode attribute.

Returns:
Returns the customerAddressTypeCode

setCustomerAddressTypeCode

public void setCustomerAddressTypeCode(String customerAddressTypeCode)
Sets the customerAddressTypeCode attribute.

Parameters:
customerAddressTypeCode - The customerAddressTypeCode to set.

getCustomerAddressEndDate

public Date getCustomerAddressEndDate()
Gets the customerAddressEndDate attribute.

Returns:
Returns the customerAddressEndDate

setCustomerAddressEndDate

public void setCustomerAddressEndDate(Date customerAddressEndDate)
Sets the customerAddressEndDate attribute.

Parameters:
customerAddressEndDate - The customerAddressEndDate to set.

getCustomerAddressType

public CustomerAddressType getCustomerAddressType()
Gets the customerAddressType attribute.

Returns:
Returns the customerAddressType

setCustomerAddressType

public void setCustomerAddressType(CustomerAddressType customerAddressType)
Deprecated. 

Sets the customerAddressType attribute.

Parameters:
customerAddressType - The customerAddressType to set.

getCustomer

public Customer getCustomer()
Gets the customer attribute.

Returns:
Returns the customer.

setCustomer

public void setCustomer(Customer customer)
Deprecated. 

Sets the customer attribute value.

Parameters:
customer - The customer to set.

getCustomerCountry

public org.kuali.rice.kns.bo.Country getCustomerCountry()
Gets the customerCountry attribute.

Returns:
Returns the customerCountry.

setCustomerCountry

public void setCustomerCountry(org.kuali.rice.kns.bo.Country customerCountry)
Deprecated. 

Sets the customerCountry attribute value.

Parameters:
customerCountry - The customerCountry to set.

toStringMapper

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

compareTo

public int compareTo(CustomerAddress address)
Specified by:
compareTo in interface Comparable<CustomerAddress>
See Also:
Comparable.compareTo(java.lang.Object)

beforeInsert

public void beforeInsert(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
                  throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
beforeInsert in interface org.apache.ojb.broker.PersistenceBrokerAware
Overrides:
beforeInsert in class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
Throws:
org.apache.ojb.broker.PersistenceBrokerException


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