public class AuthConstraintType extends Object
Java class for auth-constraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="auth-constraintType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
<element name="role-name" type="{http://java.sun.com/xml/ns/javaee}role-nameType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<DescriptionType> |
description |
protected String |
id |
protected List<RoleNameType> |
roleName |
| Constructor and Description |
|---|
AuthConstraintType() |
| Modifier and Type | Method and Description |
|---|---|
List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
String |
getId()
Gets the value of the id property.
|
List<RoleNameType> |
getRoleName()
Gets the value of the roleName property.
|
void |
setId(String value)
Sets the value of the id property.
|
AuthConstraintType |
withDescription(Collection<DescriptionType> values) |
AuthConstraintType |
withDescription(DescriptionType... values) |
AuthConstraintType |
withId(String value) |
AuthConstraintType |
withRoleName(Collection<RoleNameType> values) |
AuthConstraintType |
withRoleName(RoleNameType... values) |
protected List<DescriptionType> description
protected List<RoleNameType> roleName
protected String id
public List<DescriptionType> getDescription()
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 description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public List<RoleNameType> getRoleName()
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 roleName property.
For example, to add a new item, do as follows:
getRoleName().add(newItem);
Objects of the following type(s) are allowed in the list
RoleNameType
public void setId(String value)
value - allowed object is
Stringpublic AuthConstraintType withDescription(DescriptionType... values)
public AuthConstraintType withDescription(Collection<DescriptionType> values)
public AuthConstraintType withRoleName(RoleNameType... values)
public AuthConstraintType withRoleName(Collection<RoleNameType> values)
public AuthConstraintType withId(String value)
Copyright © 2020. All rights reserved.