org.kuali.student.common.entity
Class BaseEntity

java.lang.Object
  extended by org.kuali.student.common.entity.BaseEntity
Direct Known Subclasses:
AffiliatedOrg, Attribute, BaseType, CluAcademicSubjectOrg, CluAccounting, CluAdminOrg, CluAtpTypeKey, CluCampusLocation, CluFeeAmount, CluIdentifier, CluInstructor, CluPublicationVariant, CluSetJoinVersionIndClu, ContextEntity, DocumentCategory, EnumeratedValue, LoLoCategoryJoin, MembershipQuery, MessageEntity, MetaEntity, OrderedReqComponentType, OrderedStatementType, OrgHierarchy, ProposalOrg, ProposalPerson, ProposalReference, Reference, ReqComponentField, ReqComponentFieldType, Resource, ResultValue, RichText, SearchParameter, SearchParameterValue

public abstract class BaseEntity
extends Object


Field Summary
private  String id
           
private  String objectId
           
private  Long versionNumber
           
 
Constructor Summary
BaseEntity()
           
 
Method Summary
 String getId()
           
 String getObjectId()
           
 Long getVersionNumber()
           
protected  void onPrePersist()
           
protected  void onPreUpdate()
           
 void prePersist()
           
 void preUpdate()
           
 void setId(String id)
           
 void setObjectId(String objectId)
           
 void setVersionNumber(Long versionNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private String id

versionNumber

private Long versionNumber

objectId

private String objectId
Constructor Detail

BaseEntity

public BaseEntity()
Method Detail

getObjectId

public String getObjectId()

setObjectId

public void setObjectId(String objectId)

prePersist

public void prePersist()

preUpdate

public void preUpdate()

onPrePersist

protected void onPrePersist()

onPreUpdate

protected void onPreUpdate()

getVersionNumber

public Long getVersionNumber()

setVersionNumber

public void setVersionNumber(Long versionNumber)

getId

public String getId()

setId

public void setId(String id)


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