org.alfresco.repo.domain.permissions
Class AuthorityEntity
java.lang.Object
org.alfresco.repo.domain.permissions.AuthorityEntity
- All Implemented Interfaces:
- Authority
public class AuthorityEntity
- extends java.lang.Object
- implements Authority
Entity for alf_authority persistence.
- Since:
- 3.4
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AuthorityEntity
public AuthorityEntity()
- Default constructor
getId
public java.lang.Long getId()
- Specified by:
getId
in interface Authority
setId
public void setId(java.lang.Long id)
getVersion
public java.lang.Long getVersion()
setVersion
public void setVersion(java.lang.Long version)
incrementVersion
public void incrementVersion()
getAuthority
public java.lang.String getAuthority()
- Specified by:
getAuthority
in interface Authority
setAuthority
public void setAuthority(java.lang.String authority)
getCrc
public java.lang.Long getCrc()
- Specified by:
getCrc
in interface Authority
setCrc
public void setCrc(java.lang.Long crc)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.