org.apache.pluto.portalImpl.om.common.impl
Class SecurityRoleSetImpl
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet
org.apache.pluto.portalImpl.om.common.impl.SecurityRoleSetImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.Set
public class SecurityRoleSetImpl
- extends java.util.HashSet
- implements java.io.Serializable
- See Also:
- Serialized Form
Method Summary |
SecurityRole |
add(SecurityRole securityRole)
|
SecurityRole |
add(java.lang.String roleName,
java.lang.String description)
|
SecurityRole |
get(java.lang.String roleName)
|
void |
remove(SecurityRole securityRole)
|
SecurityRole |
remove(java.lang.String roleName)
|
java.lang.String |
toString()
|
java.lang.String |
toString(int indent)
|
Methods inherited from class java.util.HashSet |
clear, clone, contains, isEmpty, iterator, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
SecurityRoleSetImpl
public SecurityRoleSetImpl()
get
public SecurityRole get(java.lang.String roleName)
add
public SecurityRole add(SecurityRole securityRole)
- Specified by:
add
in interface java.util.Collection
- Specified by:
add
in interface java.util.Set
- Overrides:
add
in class java.util.HashSet
add
public SecurityRole add(java.lang.String roleName,
java.lang.String description)
remove
public void remove(SecurityRole securityRole)
- Specified by:
remove
in interface java.util.Collection
- Specified by:
remove
in interface java.util.Set
remove
public SecurityRole remove(java.lang.String roleName)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.AbstractCollection
toString
public java.lang.String toString(int indent)