org.eclipse.jst.j2ee.webapplication
Interface AuthConstraint

All Superinterfaces:
org.eclipse.emf.ecore.EObject, J2EEEObject, org.eclipse.emf.common.notify.Notifier

public interface AuthConstraint
extends J2EEEObject

The auth-constraint element indicates the user roles that should be permitted access to this resource collection. The role used here must appear in a security-role-ref element.

Since:
1.0

Method Summary
 java.lang.String getDescription()
           
 org.eclipse.emf.common.util.EList getDescriptions()
          Returns the value of the 'Descriptions' containment reference list.
 org.eclipse.emf.common.util.EList getRoles()
           
 SecurityConstraint getSecConstraint()
           
 void setDescription(java.lang.String value)
           
 void setSecConstraint(SecurityConstraint value)
           
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getDescription

java.lang.String getDescription()
Returns:
The value of the Description attribute A description of the auth constraint.

setDescription

void setDescription(java.lang.String value)
Parameters:
value - The new value of the Description attribute

getRoles

org.eclipse.emf.common.util.EList getRoles()
Returns:
The value of the Roles attribute A list of role names for the auth constraint. Each element specifies the name of a security role (a String).

getSecConstraint

SecurityConstraint getSecConstraint()
Returns:
The SecConstraint reference

setSecConstraint

void setSecConstraint(SecurityConstraint value)
Parameters:
value - the new value of the SecConstraint reference

getDescriptions

org.eclipse.emf.common.util.EList getDescriptions()
Returns the value of the 'Descriptions' containment reference list. The list contents are of type Description.

If the meaning of the 'Descriptions' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Descriptions' containment reference list.
See Also:
WebapplicationPackage.getAuthConstraint_Descriptions()