org.kuali.student.r2.common.entity
Class BaseEntity

java.lang.Object
  extended by org.kuali.student.r2.common.entity.BaseEntity
All Implemented Interfaces:
PersistableEntity<String>
Direct Known Subclasses:
BaseAttributeEntity, BaseVersionEntity, ScheduleComponentEntity, ScheduleRequestComponentEntity

@MappedSuperclass
public class BaseEntity
extends Object
implements PersistableEntity<String>


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

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()

getId

public String getId()
Specified by:
getId in interface PersistableEntity<String>
Returns:
the persistence Id for the object.

setId

public void setId(String id)

toString

public String toString()
Overrides:
toString in class Object


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