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 run-asType specifies the run-as identity to be
025: * used for the execution of a component. It contains an
026: * optional description, and the name of a security role.
027: *
028: *
029: *
030: * <p>Java class for run-asType complex type.
031: *
032: * <p>The following schema fragment specifies the expected content contained within this class.
033: *
034: * <pre>
035: * <complexType name="run-asType">
036: * <complexContent>
037: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
038: * <sequence>
039: * <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
040: * <element name="role-name" type="{http://java.sun.com/xml/ns/javaee}role-nameType"/>
041: * </sequence>
042: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
043: * </restriction>
044: * </complexContent>
045: * </complexType>
046: * </pre>
047: *
048: *
049: */
050: @XmlAccessorType(XmlAccessType.FIELD)
051: @XmlType(name="run-asType",propOrder={"description","roleName"})
052: public class RunAsType {
053:
054: protected List<DescriptionType> description;
055: @XmlElement(name="role-name",required=true)
056: protected RoleNameType roleName;
057: @XmlAttribute
058: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
059: @XmlID
060: protected java.lang.String id;
061:
062: /**
063: * Gets the value of the description property.
064: *
065: * <p>
066: * This accessor method returns a reference to the live list,
067: * not a snapshot. Therefore any modification you make to the
068: * returned list will be present inside the JAXB object.
069: * This is why there is not a <CODE>set</CODE> method for the description property.
070: *
071: * <p>
072: * For example, to add a new item, do as follows:
073: * <pre>
074: * getDescription().add(newItem);
075: * </pre>
076: *
077: *
078: * <p>
079: * Objects of the following type(s) are allowed in the list
080: * {@link DescriptionType }
081: *
082: *
083: */
084: public List<DescriptionType> getDescription() {
085: if (description == null) {
086: description = new ArrayList<DescriptionType>();
087: }
088: return this .description;
089: }
090:
091: /**
092: * Gets the value of the roleName property.
093: *
094: * @return
095: * possible object is
096: * {@link RoleNameType }
097: *
098: */
099: public RoleNameType getRoleName() {
100: return roleName;
101: }
102:
103: /**
104: * Sets the value of the roleName property.
105: *
106: * @param value
107: * allowed object is
108: * {@link RoleNameType }
109: *
110: */
111: public void setRoleName(RoleNameType value) {
112: this .roleName = value;
113: }
114:
115: /**
116: * Gets the value of the id property.
117: *
118: * @return
119: * possible object is
120: * {@link java.lang.String }
121: *
122: */
123: public java.lang.String getId() {
124: return id;
125: }
126:
127: /**
128: * Sets the value of the id property.
129: *
130: * @param value
131: * allowed object is
132: * {@link java.lang.String }
133: *
134: */
135: public void setId(java.lang.String value) {
136: this.id = value;
137: }
138:
139: }
|