Package org.genesys.blocks.model
Class AuditedVersionedModel
- java.lang.Object
-
- org.genesys.blocks.model.EmptyModel
-
- org.genesys.blocks.model.BasicModel
-
- org.genesys.blocks.model.VersionedModel
-
- org.genesys.blocks.model.AuditedVersionedModel
-
- All Implemented Interfaces:
Serializable,Activatable,EntityId,org.springframework.data.domain.Persistable<Long>
@MappedSuperclass public abstract class AuditedVersionedModel extends VersionedModel
The Class AuditedVersionedModel.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.genesys.blocks.model.VersionedModel
active
-
-
Constructor Summary
Constructors Constructor Description AuditedVersionedModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCreatedBy()Gets the created by.DategetCreatedDate()Gets the created date.LonggetLastModifiedBy()Gets the last modified by.DategetLastModifiedDate()Gets the last modified date.voidsetCreatedBy(Long createdBy)Sets the created by.voidsetCreatedDate(Date createdDate)Sets the created date.voidsetLastModifiedBy(Long lastModifiedBy)Sets the last modified by.voidsetLastModifiedDate(Date lastModifiedDate)Sets the last modified date.-
Methods inherited from class org.genesys.blocks.model.VersionedModel
equals, getVersion, hashCode, isActive, setActive, setVersion, toString
-
Methods inherited from class org.genesys.blocks.model.BasicModel
getId, setId
-
Methods inherited from class org.genesys.blocks.model.EmptyModel
isNew
-
-
-
-
Method Detail
-
getCreatedBy
public Long getCreatedBy()
Gets the created by.- Returns:
- the created by
-
setCreatedBy
public void setCreatedBy(Long createdBy)
Sets the created by.- Parameters:
createdBy- the new created by
-
getCreatedDate
public Date getCreatedDate()
Gets the created date.- Returns:
- the created date
-
setCreatedDate
public void setCreatedDate(Date createdDate)
Sets the created date.- Parameters:
createdDate- the new created date
-
getLastModifiedBy
public Long getLastModifiedBy()
Gets the last modified by.- Returns:
- the last modified by
-
setLastModifiedBy
public void setLastModifiedBy(Long lastModifiedBy)
Sets the last modified by.- Parameters:
lastModifiedBy- the new last modified by
-
getLastModifiedDate
public Date getLastModifiedDate()
Gets the last modified date.- Returns:
- the last modified date
-
setLastModifiedDate
public void setLastModifiedDate(Date lastModifiedDate)
Sets the last modified date.- Parameters:
lastModifiedDate- the new last modified date
-
-