Package com.atlassian.crowd.model.group
Class DelegatingGroupWithAttributes
java.lang.Object
com.atlassian.crowd.embedded.impl.AbstractDelegatingEntityWithAttributes
com.atlassian.crowd.model.group.DelegatingGroupWithAttributes
- All Implemented Interfaces:
Attributes,DirectoryEntity,Group,GroupWithAttributes,GroupWithMembers,Comparable<Group>
public class DelegatingGroupWithAttributes
extends com.atlassian.crowd.embedded.impl.AbstractDelegatingEntityWithAttributes
implements GroupWithAttributes
Implementation of GroupWithAttributes that simply delegates to an underlying Group and Attributes object.
Instances of this class will be effectively immutable so long as either:
- It is constructed with immutable objects or
- the mutable objects it is constructed with are not "leaked".
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.crowd.embedded.impl.AbstractDelegatingEntityWithAttributes
getKeys, getValue, getValues, isEmptyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.crowd.embedded.api.Attributes
getKeys, getValue, getValues, isEmpty
-
Constructor Details
-
DelegatingGroupWithAttributes
-
-
Method Details
-
getDirectoryId
public long getDirectoryId()- Specified by:
getDirectoryIdin interfaceDirectoryEntity
-
getName
- Specified by:
getNamein interfaceDirectoryEntity
-
isActive
public boolean isActive() -
getDescription
- Specified by:
getDescriptionin interfaceGroup
-
getType
-
getExternalId
- Specified by:
getExternalIdin interfaceGroup
-
equals
- Specified by:
equalsin interfaceDirectoryEntity- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceDirectoryEntity- Overrides:
hashCodein classObject
-
compareTo
- Specified by:
compareToin interfaceComparable<Group>
-