Java 类org.springframework.data.annotation.LastModifiedBy 实例源码

项目:spring-data-mybatis    文件:MybatisMetamodelEntityInformation.java   
/**
 * Creates a new {@link AbstractEntityInformation} from the given domain class.
 *
 * @param domainClass must not be {@literal null}.
 */
protected MybatisMetamodelEntityInformation(PersistentEntity<T, ?> persistentEntity,
    AuditorAware<?> auditorAware, AuditDateAware<?> auditDateAware, Class<T> domainClass) {
  super(persistentEntity, auditorAware, auditDateAware, domainClass);

  createdDateProperty = persistentEntity.getPersistentProperty(CreatedDate.class);
  lastModifiedDateProperty = persistentEntity.getPersistentProperty(LastModifiedDate.class);
  createdByProperty = persistentEntity.getPersistentProperty(CreatedBy.class);
  lastModifiedByProperty = persistentEntity.getPersistentProperty(LastModifiedBy.class);
}
项目:hawkbit    文件:AbstractJpaBaseEntity.java   
@LastModifiedBy
public void setLastModifiedBy(final String lastModifiedBy) {
    if (isController()) {
        return;
    }

    this.lastModifiedBy = lastModifiedBy;
}
项目:appverse-server    文件:AuditingAbstractIntegrationBean.java   
@LastModifiedBy
@Column(name = "UPDATED_BY", nullable = true)
public String getUpdatedBy() {
    return updatedBy;
}