Class GroupAuthority
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.common.auditAndSecurity.GroupAuthority
- All Implemented Interfaces:
gemma.gsec.model.GroupAuthority,Serializable,org.springframework.security.core.GrantedAuthority,Identifiable
Authority for groups (kind of like a "user role", but for group-based authorization)
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: Two objects with the same class and non-null ID must be considered equal.inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidsetAuthority(String authority) Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId, toString
-
Constructor Details
-
GroupAuthority
public GroupAuthority()
-
-
Method Details
-
getAuthority
- Specified by:
getAuthorityin interfaceorg.springframework.security.core.GrantedAuthority
-
setAuthority
-
hashCode
public int hashCode()Description copied from class:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCodein classAbstractIdentifiable
-
equals
Description copied from class:AbstractIdentifiableImportant note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.- Specified by:
equalsin classAbstractIdentifiable
-