Package com.sun.enterprise.deployment
Class SecurityRoleDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.SecurityRoleDescriptor
-
- All Implemented Interfaces:
SecurityRole
,WebDescriptor
,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 org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description SecurityRoleDescriptor()
Default constructor.SecurityRoleDescriptor(String name)
Construct a SecurityRoleDescriptor from the given role name.SecurityRoleDescriptor(String name, String description)
Construct a SecurityRoleDescriptor from the given role name and description.SecurityRoleDescriptor(Role role)
Construct a SecurityRoleDescriptor from the given role object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
Equality on rolename.int
hashCode()
My hashcode.void
print(StringBuilder toStringBuilder)
Formatted string representing my state.-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, 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 org.glassfish.deployment.common.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()
Default constructor.
-
SecurityRoleDescriptor
public SecurityRoleDescriptor(String name)
Construct a SecurityRoleDescriptor from the given role name.
-
SecurityRoleDescriptor
public SecurityRoleDescriptor(String name, 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.
-
-
Method Detail
-
print
public void print(StringBuilder toStringBuilder)
Formatted string representing my state.- Overrides:
print
in classDescriptor
-
-