org.kuali.student.r2.common.entity
Class BaseEntity
java.lang.Object
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>
BaseEntity
public BaseEntity()
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.