org.alfresco.repo.domain.permissions
Class AuthorityEntity

java.lang.Object
  extended by 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

Constructor Summary
AuthorityEntity()
          Default constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAuthority()
           
 java.lang.Long getCrc()
           
 java.lang.Long getId()
           
 java.lang.Long getVersion()
           
 int hashCode()
           
 void incrementVersion()
           
 void setAuthority(java.lang.String authority)
           
 void setCrc(java.lang.Long crc)
           
 void setId(java.lang.Long id)
           
 void setVersion(java.lang.Long version)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthorityEntity

public AuthorityEntity()
Default constructor

Method Detail

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.