edu.sampleu.financial.bo
Class VendorDefaultAddress

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by edu.sampleu.financial.bo.VendorDefaultAddress
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.bo.MutableInactivatable, org.kuali.rice.krad.bo.PersistableBusinessObject

public class VendorDefaultAddress
extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase
implements org.kuali.rice.krad.bo.MutableInactivatable

An association between a Campus and a VendorAddress to indicate that the Address is the default one for this Campus among the various Addresses available for this Vendor.

See Also:
org.kuali.rice.krad.bo.Campus, org.kuali.kfs.vnd.businessobject.VendorAddress, Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
VendorDefaultAddress()
          Default constructor.
 
Method Summary
 VendorAddress getVendorAddress()
           
 Integer getVendorAddressGeneratedIdentifier()
           
 String getVendorCampusCode()
           
 Integer getVendorDefaultAddressGeneratedIdentifier()
           
 boolean isActive()
           
 boolean isEqualForRouting(Object toCompare)
           
 void setActive(boolean active)
           
 void setVendorAddress(VendorAddress vendorAddress)
          Deprecated.  
 void setVendorAddressGeneratedIdentifier(Integer vendorAddressGeneratedIdentifier)
           
 void setVendorCampusCode(String vendorCampusCode)
           
 void setVendorDefaultAddressGeneratedIdentifier(Integer vendorDefaultAddressGeneratedIdentifier)
           
 
Methods inherited from class org.kuali.rice.krad.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.krad.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
 

Constructor Detail

VendorDefaultAddress

public VendorDefaultAddress()
Default constructor.

Method Detail

getVendorCampusCode

public String getVendorCampusCode()

setVendorCampusCode

public void setVendorCampusCode(String vendorCampusCode)

getVendorAddressGeneratedIdentifier

public Integer getVendorAddressGeneratedIdentifier()

setVendorAddressGeneratedIdentifier

public void setVendorAddressGeneratedIdentifier(Integer vendorAddressGeneratedIdentifier)

isActive

public boolean isActive()
Specified by:
isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatable

setActive

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

getVendorAddress

public VendorAddress getVendorAddress()

setVendorAddress

public void setVendorAddress(VendorAddress vendorAddress)
Deprecated. 

Sets the vendorAddress attribute.

Parameters:
vendorAddress - The vendorAddress to set.

getVendorDefaultAddressGeneratedIdentifier

public Integer getVendorDefaultAddressGeneratedIdentifier()

setVendorDefaultAddressGeneratedIdentifier

public void setVendorDefaultAddressGeneratedIdentifier(Integer vendorDefaultAddressGeneratedIdentifier)

isEqualForRouting

public boolean isEqualForRouting(Object toCompare)
See Also:
org.kuali.kfs.vnd.document.routing.VendorRoutingComparable#isEqualForRouting(Object)


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