001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
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.02.24 at 05:55:09 PM PST
006: //
007:
008: package com.sun.xml.ws.policy.impl.bindings;
009:
010: import javax.xml.bind.annotation.XmlAccessType;
011: import javax.xml.bind.annotation.XmlAccessorType;
012: import javax.xml.bind.annotation.XmlAttribute;
013: import javax.xml.bind.annotation.XmlID;
014: import javax.xml.bind.annotation.XmlRootElement;
015: import javax.xml.bind.annotation.XmlType;
016: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
017: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
018: import com.sun.xml.ws.policy.impl.bindings.OperatorContentType;
019: import com.sun.xml.ws.policy.impl.bindings.Policy;
020:
021: /**
022: * <p>Java class for Policy element declaration.
023: *
024: * <p>The following schema fragment specifies the expected content contained within this class.
025: *
026: * <pre>
027: * <element name="Policy">
028: * <complexType>
029: * <complexContent>
030: * <extension base="{http://schemas.xmlsoap.org/ws/2004/09/policy}OperatorContentType">
031: * <attribute name="TargetNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
032: * <attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
033: * </extension>
034: * </complexContent>
035: * </complexType>
036: * </element>
037: * </pre>
038: *
039: *
040: */
041: @XmlAccessorType(XmlAccessType.FIELD)
042: @XmlType(name="")
043: @XmlRootElement(name="Policy")
044: public class Policy extends OperatorContentType {
045:
046: @XmlAttribute(name="TargetNamespace")
047: protected String targetNamespace;
048: @XmlAttribute(name="Id",namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
049: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
050: @XmlID
051: protected String id;
052:
053: /**
054: * Gets the value of the targetNamespace property.
055: *
056: * @return
057: * possible object is
058: * {@link String }
059: *
060: */
061: public String getTargetNamespace() {
062: return targetNamespace;
063: }
064:
065: /**
066: * Sets the value of the targetNamespace property.
067: *
068: * @param value
069: * allowed object is
070: * {@link String }
071: *
072: */
073: public void setTargetNamespace(String value) {
074: this .targetNamespace = value;
075: }
076:
077: /**
078: * Gets the value of the id property.
079: *
080: * @return
081: * possible object is
082: * {@link String }
083: *
084: */
085: public String getId() {
086: return id;
087: }
088:
089: /**
090: * Sets the value of the id property.
091: *
092: * @param value
093: * allowed object is
094: * {@link String }
095: *
096: */
097: public void setId(String value) {
098: this.id = value;
099: }
100:
101: }
|