001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.10.31 at 10:25:50 AM GMT+08:00
006: //
007:
008: package org.apache.cxf.jaxws.javaee;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAttribute;
015: import javax.xml.bind.annotation.XmlElement;
016: import javax.xml.bind.annotation.XmlID;
017: import javax.xml.bind.annotation.XmlType;
018: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020:
021: /**
022: *
023: *
024: * The security-role-refType contains the declaration of a
025: * security role reference in a component's or a
026: * Deployment Component's code. The declaration consists of an
027: * optional description, the security role name used in the
028: * code, and an optional link to a security role. If the
029: * security role is not specified, the Deployer must choose an
030: * appropriate security role.
031: *
032: *
033: *
034: * <p>Java class for security-role-refType complex type.
035: *
036: * <p>The following schema fragment specifies the expected content contained within this class.
037: *
038: * <pre>
039: * <complexType name="security-role-refType">
040: * <complexContent>
041: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
042: * <sequence>
043: * <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
044: * <element name="role-name" type="{http://java.sun.com/xml/ns/javaee}role-nameType"/>
045: * <element name="role-link" type="{http://java.sun.com/xml/ns/javaee}role-nameType" minOccurs="0"/>
046: * </sequence>
047: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
048: * </restriction>
049: * </complexContent>
050: * </complexType>
051: * </pre>
052: *
053: *
054: */
055: @XmlAccessorType(XmlAccessType.FIELD)
056: @XmlType(name="security-role-refType",propOrder={"description","roleName","roleLink"})
057: public class SecurityRoleRefType {
058:
059: protected List<DescriptionType> description;
060: @XmlElement(name="role-name",required=true)
061: protected RoleNameType roleName;
062: @XmlElement(name="role-link")
063: protected RoleNameType roleLink;
064: @XmlAttribute
065: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
066: @XmlID
067: protected java.lang.String id;
068:
069: /**
070: * Gets the value of the description property.
071: *
072: * <p>
073: * This accessor method returns a reference to the live list,
074: * not a snapshot. Therefore any modification you make to the
075: * returned list will be present inside the JAXB object.
076: * This is why there is not a <CODE>set</CODE> method for the description property.
077: *
078: * <p>
079: * For example, to add a new item, do as follows:
080: * <pre>
081: * getDescription().add(newItem);
082: * </pre>
083: *
084: *
085: * <p>
086: * Objects of the following type(s) are allowed in the list
087: * {@link DescriptionType }
088: *
089: *
090: */
091: public List<DescriptionType> getDescription() {
092: if (description == null) {
093: description = new ArrayList<DescriptionType>();
094: }
095: return this .description;
096: }
097:
098: /**
099: * Gets the value of the roleName property.
100: *
101: * @return
102: * possible object is
103: * {@link RoleNameType }
104: *
105: */
106: public RoleNameType getRoleName() {
107: return roleName;
108: }
109:
110: /**
111: * Sets the value of the roleName property.
112: *
113: * @param value
114: * allowed object is
115: * {@link RoleNameType }
116: *
117: */
118: public void setRoleName(RoleNameType value) {
119: this .roleName = value;
120: }
121:
122: /**
123: * Gets the value of the roleLink property.
124: *
125: * @return
126: * possible object is
127: * {@link RoleNameType }
128: *
129: */
130: public RoleNameType getRoleLink() {
131: return roleLink;
132: }
133:
134: /**
135: * Sets the value of the roleLink property.
136: *
137: * @param value
138: * allowed object is
139: * {@link RoleNameType }
140: *
141: */
142: public void setRoleLink(RoleNameType value) {
143: this .roleLink = value;
144: }
145:
146: /**
147: * Gets the value of the id property.
148: *
149: * @return
150: * possible object is
151: * {@link java.lang.String }
152: *
153: */
154: public java.lang.String getId() {
155: return id;
156: }
157:
158: /**
159: * Sets the value of the id property.
160: *
161: * @param value
162: * allowed object is
163: * {@link java.lang.String }
164: *
165: */
166: public void setId(java.lang.String value) {
167: this.id = value;
168: }
169:
170: }
|