Package com.atlassian.crowd.model.group
Class ImmutableGroup
java.lang.Object
com.atlassian.crowd.model.group.ImmutableGroup
- All Implemented Interfaces:
DirectoryEntity,Group,Comparable<Group>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableGroup.Builderstatic ImmutableGroup.Builderstatic ImmutableGroup.Builderintbooleanstatic ImmutableGrouplonggetName()getType()inthashCode()booleanisActive()toString()
-
Method Details
-
from
- Returns:
- an
ImmutableGroupwith the same properties as the given group. Will avoid creating a copy if possible.
-
builder
-
builder
-
builder
-
compareTo
- Specified by:
compareToin interfaceComparable<Group>
-
getDirectoryId
public long getDirectoryId()- Specified by:
getDirectoryIdin interfaceDirectoryEntity
-
getName
- Specified by:
getNamein interfaceDirectoryEntity
-
getType
-
isActive
public boolean isActive() -
getDescription
- Specified by:
getDescriptionin interfaceGroup
-
getExternalId
- Specified by:
getExternalIdin interfaceGroup
-
equals
- Specified by:
equalsin interfaceDirectoryEntity- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceDirectoryEntity- Overrides:
hashCodein classObject
-
toString
-