edu.sampleu.bookstore.bo
Class Address

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by edu.sampleu.bookstore.bo.Address
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, ImmutableInactivatable, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, Inactivatable, PersistableBusinessObject

public class Address
extends PersistableBusinessObjectBase
implements Inactivatable

Address Business Object class file relative to Address maintenance object.

See Also:
Serialized Form

Field Summary
private  boolean active
           
private  Long addressId
           
private  AddressType addressType
           
private  Long authorId
           
private  String city
           
private  String country
           
private  String province
           
private static long serialVersionUID
           
private  String street1
           
private  String street2
           
private  String type
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
Address()
           
 
Method Summary
 Long getAddressId()
           
 AddressType getAddressType()
           
 Long getAuthorId()
           
 String getCity()
           
 String getCountry()
           
 String getProvince()
           
 String getStreet1()
           
 String getStreet2()
           
 String getType()
           
 boolean isActive()
          The active indicator for an object.
 void setActive(boolean active)
          Sets the record to active or inactive.
 void setAddressId(Long addressId)
           
 void setAddressType(AddressType addressType)
           
 void setAuthorId(Long authorId)
           
 void setCity(String city)
           
 void setCountry(String country)
           
 void setProvince(String province)
           
 void setStreet1(String street1)
           
 void setStreet2(String street2)
           
 void setType(String type)
           
 
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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

addressId

private Long addressId

type

private String type

street1

private String street1

street2

private String street2

city

private String city

province

private String province

country

private String country

authorId

private Long authorId

active

private boolean active

addressType

private AddressType addressType
Constructor Detail

Address

public Address()
Method Detail

isActive

public boolean isActive()
Description copied from interface: ImmutableInactivatable
The active indicator for an object.

Specified by:
isActive in interface ImmutableInactivatable
Returns:
the active

setActive

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

Specified by:
setActive in interface Inactivatable
Parameters:
active - the active to set

getAuthorId

public Long getAuthorId()

setAuthorId

public void setAuthorId(Long authorId)

getAddressId

public Long getAddressId()

setAddressId

public void setAddressId(Long addressId)

getType

public String getType()

setType

public void setType(String type)

getAddressType

public AddressType getAddressType()

setAddressType

public void setAddressType(AddressType addressType)

getStreet1

public String getStreet1()

setStreet1

public void setStreet1(String street1)

getStreet2

public String getStreet2()

setStreet2

public void setStreet2(String street2)

getCity

public String getCity()

setCity

public void setCity(String city)

getProvince

public String getProvince()

setProvince

public void setProvince(String province)

getCountry

public String getCountry()

setCountry

public void setCountry(String country)


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