com.sun.enterprise.deployment
Class SecurityRoleDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.SecurityRoleDescriptor
All Implemented Interfaces:
SecurityRole, WebDescriptor, java.io.Serializable

public class SecurityRoleDescriptor
extends Descriptor
implements SecurityRole

I am an abstract role..

Author:
Danny Coward
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
SecurityRoleDescriptor()
          Default constructor.
SecurityRoleDescriptor(Role role)
          Construct a SecurityRoleDescriptor from the given role object.
SecurityRoleDescriptor(java.lang.String name, java.lang.String description)
          Construct a SecurityRoleDescriptor from the given role name and description.
 
Method Summary
 boolean equals(java.lang.Object other)
          Equality on rolename.
 int hashCode()
          My hashcode.
 void print(java.lang.StringBuffer toStringBuffer)
          Formatted string representing my state.
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
 
Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.enterprise.deployment.web.WebDescriptor
getDescription, getLargeIconUri, getName, getSmallIconUri, setDescription, setLargeIconUri, setName, setSmallIconUri
 

Constructor Detail

SecurityRoleDescriptor

public SecurityRoleDescriptor(java.lang.String name,
                              java.lang.String description)
Construct a SecurityRoleDescriptor from the given role name and description.


SecurityRoleDescriptor

public SecurityRoleDescriptor(Role role)
Construct a SecurityRoleDescriptor from the given role object.


SecurityRoleDescriptor

public SecurityRoleDescriptor()
Default constructor.

Method Detail

equals

public boolean equals(java.lang.Object other)
Equality on rolename.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
My hashcode.

Overrides:
hashCode in class java.lang.Object

print

public void print(java.lang.StringBuffer toStringBuffer)
Formatted string representing my state.

Overrides:
print in class Descriptor


Copyright © 2012 GlassFish Community. All Rights Reserved.