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

java.lang.Object
  extended by org.kuali.student.r2.common.entity.BaseEntity
      extended by org.kuali.student.r2.common.entity.BaseVersionEntity
          extended by org.kuali.student.r2.common.entity.MetaEntity
All Implemented Interfaces:
PersistableEntity<String>
Direct Known Subclasses:
AppointmentEntity, AppointmentSlotEntity, AppointmentWindowEntity, AtpAtpRelationEntity, AtpEntity, AtpMilestoneRelationEntity, CheckEntity, CluResult, EnumContextValueEntity, EnumeratedValueEntity, EnumerationEntity, InstructionEntity, LifecycleEntity, MilestoneEntity, PopulationCategoryEntity, PopulationEntity, PopulationPopulationCategoryRelationEntity, PopulationRuleAgendaEntity, PopulationRuleChildPopulationEntity, PopulationRuleEntity, PopulationRuleGroupEntity, PopulationRulePersonEntity, PopulationRuleSortOrderTypesEntity, ProcessCategoryEntity, ProcessEntity, ResultOption, ResultScaleEntity, ResultValueEntity, ResultValuesGroupEntity, ScheduleEntity, ScheduleRequestEntity, StateChangeEntity, StateConstraintEntity, StateEntity, SubjectCode, TimeSlotEntity, TypeEntity, TypeTypeRelationEntity

@MappedSuperclass
@Embeddable
public abstract class MetaEntity
extends BaseVersionEntity


Constructor Summary
protected MetaEntity()
           
  MetaEntity(HasMeta hasMeta)
           
 
Method Summary
 String getCreateId()
           
 Date getCreateTime()
           
 String getUpdateId()
           
 Date getUpdateTime()
           
protected  void onPrePersist()
           
protected  void onPreUpdate()
           
 void setCreateId(String createId)
           
 void setCreateTime(Date createTime)
           
 void setEntityCreated(ContextInfo context)
           
 void setEntityUpdated(ContextInfo context)
           
 void setUpdateId(String updateId)
           
 void setUpdateTime(Date updateTime)
           
 MetaInfo toDTO()
           
 
Methods inherited from class org.kuali.student.r2.common.entity.BaseVersionEntity
getVersionNumber, setVersionNumber
 
Methods inherited from class org.kuali.student.r2.common.entity.BaseEntity
getId, getObjectId, prePersist, preUpdate, setId, setObjectId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetaEntity

protected MetaEntity()

MetaEntity

public MetaEntity(HasMeta hasMeta)
Method Detail

setEntityCreated

public void setEntityCreated(ContextInfo context)

setEntityUpdated

public void setEntityUpdated(ContextInfo context)

getCreateTime

public Date getCreateTime()

setCreateTime

public void setCreateTime(Date createTime)

getCreateId

public String getCreateId()

setCreateId

public void setCreateId(String createId)

getUpdateTime

public Date getUpdateTime()

setUpdateTime

public void setUpdateTime(Date updateTime)

getUpdateId

public String getUpdateId()

setUpdateId

public void setUpdateId(String updateId)

onPrePersist

protected void onPrePersist()
Overrides:
onPrePersist in class BaseEntity

onPreUpdate

protected void onPreUpdate()
Overrides:
onPreUpdate in class BaseEntity

toDTO

public MetaInfo toDTO()


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