1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2009.07.17 at 01:03:24 AM CST
6 //
7
8
9 package org.apache.geronimo.xml.ns.security_1;
10
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlType;
17
18
19 /**
20 * <p>Java class for distinguishedNameType complex type.
21 *
22 * <p>The following schema fragment specifies the expected content contained within this class.
23 *
24 * <pre>
25 * <complexType name="distinguishedNameType">
26 * <complexContent>
27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 * <sequence>
29 * <element name="description" type="{http://geronimo.apache.org/xml/ns/security-1.1}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
30 * </sequence>
31 * <attribute name="designated-run-as" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
32 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
33 * </restriction>
34 * </complexContent>
35 * </complexType>
36 * </pre>
37 *
38 *
39 */
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "distinguishedNameType", propOrder = {
42 "description"
43 })
44 public class DistinguishedNameType {
45
46 protected List<DescriptionType> description;
47 @XmlAttribute(name = "designated-run-as")
48 protected Boolean designatedRunAs;
49 @XmlAttribute(required = true)
50 protected String name;
51
52 /**
53 * Gets the value of the description property.
54 *
55 * <p>
56 * This accessor method returns a reference to the live list,
57 * not a snapshot. Therefore any modification you make to the
58 * returned list will be present inside the JAXB object.
59 * This is why there is not a <CODE>set</CODE> method for the description property.
60 *
61 * <p>
62 * For example, to add a new item, do as follows:
63 * <pre>
64 * getDescription().add(newItem);
65 * </pre>
66 *
67 *
68 * <p>
69 * Objects of the following type(s) are allowed in the list
70 * {@link DescriptionType }
71 *
72 *
73 */
74 public List<DescriptionType> getDescription() {
75 if (description == null) {
76 description = new ArrayList<DescriptionType>();
77 }
78 return this.description;
79 }
80
81 /**
82 * Gets the value of the designatedRunAs property.
83 *
84 * @return
85 * possible object is
86 * {@link Boolean }
87 *
88 */
89 public boolean isDesignatedRunAs() {
90 if (designatedRunAs == null) {
91 return false;
92 } else {
93 return designatedRunAs;
94 }
95 }
96
97 /**
98 * Sets the value of the designatedRunAs property.
99 *
100 * @param value
101 * allowed object is
102 * {@link Boolean }
103 *
104 */
105 public void setDesignatedRunAs(Boolean value) {
106 this.designatedRunAs = value;
107 }
108
109 /**
110 * Gets the value of the name property.
111 *
112 * @return
113 * possible object is
114 * {@link String }
115 *
116 */
117 public String getName() {
118 return name;
119 }
120
121 /**
122 * Sets the value of the name property.
123 *
124 * @param value
125 * allowed object is
126 * {@link String }
127 *
128 */
129 public void setName(String value) {
130 this.name = value;
131 }
132
133 }