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, Inactivatable, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, MutableInactivatable, PersistableBusinessObject

public class VendorDefaultAddress
extends PersistableBusinessObjectBase
implements 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
private  boolean active
           
private  VendorAddress vendorAddress
           
private  Integer vendorAddressGeneratedIdentifier
           
private  String vendorCampusCode
           
private  Integer vendorDefaultAddressGeneratedIdentifier
           
 
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()
          The active indicator for an object.
 boolean isEqualForRouting(Object toCompare)
           
 void setActive(boolean active)
          Sets the record to active or inactive.
 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
 

Field Detail

vendorDefaultAddressGeneratedIdentifier

private Integer vendorDefaultAddressGeneratedIdentifier

vendorAddressGeneratedIdentifier

private Integer vendorAddressGeneratedIdentifier

vendorCampusCode

private String vendorCampusCode

active

private boolean active

vendorAddress

private VendorAddress vendorAddress
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()
Description copied from interface: Inactivatable
The active indicator for an object.

Specified by:
isActive in interface Inactivatable
Returns:
true if active false if not.

setActive

public void setActive(boolean active)
Description copied from interface: MutableInactivatable
Sets the record to active or inactive.

Specified by:
setActive in interface 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.