Package org.chenile.jpautils.entity
Class BaseJpaEntity
java.lang.Object
org.chenile.jpautils.entity.BaseJpaEntity
- All Implemented Interfaces:
ChenileEntity
- Direct Known Subclasses:
AbstractJpaStateEntity
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
protected String
(package private) void
void
setCreatedBy
(String createdBy) void
setCreatedTime
(Date createdTime) void
void
setLastModifiedBy
(String lastModifiedBy) void
setLastModifiedTime
(Date lastModifiedTime) void
setVersion
(Long version)
-
Field Details
-
id
-
createdTime
-
lastModifiedTime
-
lastModifiedBy
-
tenant
-
createdBy
-
testEntity
public boolean testEntity -
version
public long version
-
-
Constructor Details
-
BaseJpaEntity
public BaseJpaEntity()
-
-
Method Details
-
getPrefix
-
getId
- Specified by:
getId
in interfaceChenileEntity
-
setId
- Specified by:
setId
in interfaceChenileEntity
-
getCreatedTime
- Specified by:
getCreatedTime
in interfaceChenileEntity
-
setCreatedTime
- Specified by:
setCreatedTime
in interfaceChenileEntity
-
getLastModifiedTime
- Specified by:
getLastModifiedTime
in interfaceChenileEntity
-
setLastModifiedTime
- Specified by:
setLastModifiedTime
in interfaceChenileEntity
-
getLastModifiedBy
- Specified by:
getLastModifiedBy
in interfaceChenileEntity
-
setLastModifiedBy
- Specified by:
setLastModifiedBy
in interfaceChenileEntity
-
getCreatedBy
- Specified by:
getCreatedBy
in interfaceChenileEntity
-
setCreatedBy
- Specified by:
setCreatedBy
in interfaceChenileEntity
-
getVersion
- Specified by:
getVersion
in interfaceChenileEntity
-
setVersion
- Specified by:
setVersion
in interfaceChenileEntity
-
initializeIfRequired
void initializeIfRequired()
-