edu.sampleu.bookstore.bo
Class Author

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.Author
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, ImmutableInactivatable, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, Inactivatable, PersistableBusinessObject

public class Author
extends PersistableBusinessObjectBase
implements Inactivatable

Author Business Object class file for Author maintenance object.

See Also:
Serialized Form

Field Summary
private  boolean active
           
private  List<Address> addresses
           
private  Long authorId
           
private  String authorName
           
private  List<Book> books
           
private  String email
           
private  String phoneNbr
           
private static long serialVersionUID
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
Author()
           
 
Method Summary
 List<Address> getAddresses()
           
 Long getAuthorId()
           
 String getAuthorName()
           
 List<Book> getBooks()
           
 String getEmail()
           
 String getPhoneNbr()
           
 boolean isActive()
          The active indicator for an object.
 void setActive(boolean active)
          Sets the record to active or inactive.
 void setAddresses(List<Address> addresses)
           
 void setAuthorId(Long authorId)
           
 void setAuthorName(String authorName)
           
 void setBooks(List<Book> books)
           
 void setEmail(String email)
           
 void setPhoneNbr(String phoneNbr)
           
 
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

authorId

private Long authorId

authorName

private String authorName

email

private String email

phoneNbr

private String phoneNbr

active

private boolean active

addresses

private List<Address> addresses

books

private List<Book> books
Constructor Detail

Author

public Author()
Method Detail

getBooks

public List<Book> getBooks()

setBooks

public void setBooks(List<Book> books)

getAddresses

public List<Address> getAddresses()

setAddresses

public void setAddresses(List<Address> addresses)

getAuthorId

public Long getAuthorId()

setAuthorId

public void setAuthorId(Long authorId)

getAuthorName

public String getAuthorName()

setAuthorName

public void setAuthorName(String authorName)

getEmail

public String getEmail()

setEmail

public void setEmail(String email)

getPhoneNbr

public String getPhoneNbr()

setPhoneNbr

public void setPhoneNbr(String phoneNbr)

isActive

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

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

setActive

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

Specified by:
setActive in interface Inactivatable


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