com.atlassian.crowd.integration.model.group
Class InternalGroup
java.lang.Object
com.atlassian.crowd.integration.model.InternalEntity
com.atlassian.crowd.integration.model.InternalDirectoryEntity
com.atlassian.crowd.integration.model.group.InternalGroup
- All Implemented Interfaces:
- DirectoryEntity, Group, Serializable
public class InternalGroup
- extends InternalDirectoryEntity
- implements Group
- See Also:
- Serialized Form
Methods inherited from interface com.atlassian.crowd.integration.model.group.Group |
isActive |
InternalGroup
protected InternalGroup()
InternalGroup
public InternalGroup(InternalEntityTemplate internalEntityTemplate,
Directory directory,
GroupTemplate groupTemplate)
InternalGroup
public InternalGroup(Group group,
Directory directory)
updateDetailsFrom
public void updateDetailsFrom(Group group)
renameTo
public void renameTo(String newName)
setName
protected void setName(String name)
- Overrides:
setName
in class InternalEntity
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Group
- Returns:
- description of the group or
null
if there is no description.
getType
public GroupType getType()
- Specified by:
getType
in interface Group
- Returns:
- the type of the group.
getLowerName
public String getLowerName()
equals
public boolean equals(Object o)
- Description copied from interface:
DirectoryEntity
- Implementations must ensure equality based on
getDirectoryId() and case-insensitive getName().
- Specified by:
equals
in interface DirectoryEntity
- Specified by:
equals
in class InternalEntity
- Parameters:
o
- object to compare to.
- Returns:
true
if and only if the directoryId
and name.toLowerCase() of the directory entities match.
hashCode
public int hashCode()
- Description copied from interface:
DirectoryEntity
- Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName().
- Specified by:
hashCode
in interface DirectoryEntity
- Specified by:
hashCode
in class InternalEntity
- Returns:
- hashcode.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.