FileDocCategorySizeDatePackage
SecurityRoleDescriptor.javaAPI DocGlassfish v2 API3304Fri May 04 22:31:22 BST 2007None

SecurityRoleDescriptor

public class SecurityRoleDescriptor extends Descriptor implements com.sun.enterprise.deployment.web.SecurityRole
I am an abstract role..
author
Danny Coward

Fields Summary
Constructors Summary
public SecurityRoleDescriptor(String name, String description)
Construct a SecurityRoleDescriptor from the given role name and description.

	super(name, description);
    
public SecurityRoleDescriptor(com.sun.enterprise.deployment.Role role)
Construct a SecurityRoleDescriptor from the given role object.

	super(role.getName(), role.getDescription());
    
public SecurityRoleDescriptor()
Default constructor.

    
Methods Summary
public booleanequals(java.lang.Object other)
Equality on rolename.

	if (other instanceof SecurityRoleDescriptor &&
	    this.getName().equals( ((SecurityRoleDescriptor) other).getName() )) {
		return true;
	}
	return false;
    
public inthashCode()
My hashcode.

	return this.getName().hashCode();
    
public voidprint(java.lang.StringBuffer toStringBuffer)
Formatted string representing my state.

	toStringBuffer.append("SecurityRole ");
	super.print(toStringBuffer);