mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
125603 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2) 125484 slanglois: MNT-16155 Update source headers - remove old Copyrights from Java and JSP dource files git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@125781 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
97 lines
2.0 KiB
Java
97 lines
2.0 KiB
Java
package org.alfresco.repo.domain.audit;
|
|
|
|
/**
|
|
* Entity bean for <b>alf_audit_application</b> table.
|
|
*
|
|
* @author Derek Hulley
|
|
* @since 3.2
|
|
*/
|
|
public class AuditApplicationEntity
|
|
{
|
|
private Long id;
|
|
private short version;
|
|
private Long applicationNameId;
|
|
private Long auditModelId;
|
|
private Long disabledPathsId;
|
|
|
|
public AuditApplicationEntity()
|
|
{
|
|
}
|
|
|
|
@Override
|
|
public String toString()
|
|
{
|
|
StringBuilder sb = new StringBuilder(512);
|
|
sb.append("AuditApplicationEntity")
|
|
.append("[ ID=").append(id)
|
|
.append(", version=").append(version)
|
|
.append(", applicationNameId=").append(applicationNameId)
|
|
.append(", auditModelId=").append(auditModelId)
|
|
.append(", disabledPathsId=").append(disabledPathsId)
|
|
.append("]");
|
|
return sb.toString();
|
|
}
|
|
|
|
public void incrementVersion()
|
|
{
|
|
if (version >= Short.MAX_VALUE)
|
|
{
|
|
this.version = 0;
|
|
}
|
|
else
|
|
{
|
|
this.version++;
|
|
}
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public short getVersion()
|
|
{
|
|
return version;
|
|
}
|
|
|
|
public void setVersion(short version)
|
|
{
|
|
this.version = version;
|
|
}
|
|
|
|
public Long getApplicationNameId()
|
|
{
|
|
return applicationNameId;
|
|
}
|
|
|
|
public void setApplicationNameId(Long applicationNameId)
|
|
{
|
|
this.applicationNameId = applicationNameId;
|
|
}
|
|
|
|
public Long getAuditModelId()
|
|
{
|
|
return auditModelId;
|
|
}
|
|
|
|
public void setAuditModelId(Long auditModelId)
|
|
{
|
|
this.auditModelId = auditModelId;
|
|
}
|
|
|
|
public Long getDisabledPathsId()
|
|
{
|
|
return disabledPathsId;
|
|
}
|
|
|
|
public void setDisabledPathsId(Long disabledPathsId)
|
|
{
|
|
this.disabledPathsId = disabledPathsId;
|
|
}
|
|
}
|