public class GroupInfo extends java.lang.Object implements PrincipalInfo
Group
,
Serialized FormConstructor and Description |
---|
GroupInfo(java.lang.String name)
Create a new instance with the specified name.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PrincipalInfo info) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName()
Returns the group name.
|
int |
hashCode() |
boolean |
isHidden() |
java.lang.String |
toString() |
public GroupInfo(java.lang.String name)
name
- the group name.public java.lang.String getName()
getName
in interface PrincipalInfo
public int compareTo(PrincipalInfo info)
compareTo
in interface java.lang.Comparable<PrincipalInfo>
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isHidden()
isHidden
in interface PrincipalInfo