public class SecurityConstraintType extends Object
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>
| Modifier and Type | Field and Description |
|---|---|
protected AuthConstraintType |
authConstraint |
protected List<DisplayNameType> |
displayName |
protected String |
id |
protected UserDataConstraintType |
userDataConstraint |
protected List<WebResourceCollectionType> |
webResourceCollection |
| Constructor and Description |
|---|
SecurityConstraintType() |
protected List<DisplayNameType> displayName
protected List<WebResourceCollectionType> webResourceCollection
protected AuthConstraintType authConstraint
protected UserDataConstraintType userDataConstraint
protected String id
public List<DisplayNameType> getDisplayName()
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
public List<WebResourceCollectionType> getWebResourceCollection()
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
public AuthConstraintType getAuthConstraint()
AuthConstraintTypepublic void setAuthConstraint(AuthConstraintType value)
value - allowed object is
AuthConstraintTypepublic UserDataConstraintType getUserDataConstraint()
UserDataConstraintTypepublic void setUserDataConstraint(UserDataConstraintType value)
value - allowed object is
UserDataConstraintTypepublic void setId(String value)
value - allowed object is
Stringpublic SecurityConstraintType withDisplayName(DisplayNameType... values)
public SecurityConstraintType withDisplayName(Collection<DisplayNameType> values)
public SecurityConstraintType withWebResourceCollection(WebResourceCollectionType... values)
public SecurityConstraintType withWebResourceCollection(Collection<WebResourceCollectionType> values)
public SecurityConstraintType withAuthConstraint(AuthConstraintType value)
public SecurityConstraintType withUserDataConstraint(UserDataConstraintType value)
public SecurityConstraintType withId(String value)
Copyright © 2019. All rights reserved.