net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.javaee
Interface SecurityConstraintType

All Known Implementing Classes:
SecurityConstraintTypeImpl

public interface SecurityConstraintType

The security-constraintType is used to associate security constraints with one or more web resource collections Used in: web-app

Java class for security-constraintType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="security-constraintType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="display-name" type="{http://java.sun.com/xml/ns/javaee}display-nameType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="web-resource-collection" type="{http://java.sun.com/xml/ns/javaee}web-resource-collectionType" maxOccurs="unbounded"/>
         <element name="auth-constraint" type="{http://java.sun.com/xml/ns/javaee}auth-constraintType" minOccurs="0"/>
         <element name="user-data-constraint" type="{http://java.sun.com/xml/ns/javaee}user-data-constraintType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 AuthConstraintType getAuthConstraint()
          Gets the value of the authConstraint property.
 List<DisplayNameType> getDisplayName()
          Gets the value of the displayName property.
 String getId()
          Gets the value of the id property.
 UserDataConstraintType getUserDataConstraint()
          Gets the value of the userDataConstraint property.
 List<WebResourceCollectionType> getWebResourceCollection()
          Gets the value of the webResourceCollection property.
 void setAuthConstraint(AuthConstraintType value)
          Sets the value of the authConstraint property.
 void setId(String value)
          Sets the value of the id property.
 void setUserDataConstraint(UserDataConstraintType value)
          Sets the value of the userDataConstraint property.
 

Method Detail

getDisplayName

List<DisplayNameType> getDisplayName()
Gets the value of the displayName property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the displayName property.

For example, to add a new item, do as follows:

    getDisplayName().add(newItem);
 

Objects of the following type(s) are allowed in the list DisplayNameType


getWebResourceCollection

List<WebResourceCollectionType> getWebResourceCollection()
Gets the value of the webResourceCollection property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the webResourceCollection property.

For example, to add a new item, do as follows:

    getWebResourceCollection().add(newItem);
 

Objects of the following type(s) are allowed in the list WebResourceCollectionType


getAuthConstraint

AuthConstraintType getAuthConstraint()
Gets the value of the authConstraint property.

Returns:
possible object is AuthConstraintType

setAuthConstraint

void setAuthConstraint(AuthConstraintType value)
Sets the value of the authConstraint property.

Parameters:
value - allowed object is AuthConstraintType

getUserDataConstraint

UserDataConstraintType getUserDataConstraint()
Gets the value of the userDataConstraint property.

Returns:
possible object is UserDataConstraintType

setUserDataConstraint

void setUserDataConstraint(UserDataConstraintType value)
Sets the value of the userDataConstraint property.

Parameters:
value - allowed object is UserDataConstraintType

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.