Apache CXF API

org.apache.cxf.ws.policy.v200409
Class Policy

java.lang.Object
  extended by org.apache.cxf.ws.policy.v200409.OperatorContentType
      extended by org.apache.cxf.ws.policy.v200409.Policy

public class Policy
extends OperatorContentType

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <extension base="{http://schemas.xmlsoap.org/ws/2004/09/policy}OperatorContentType">
       <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
       <anyAttribute processContents='lax'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String id
           
protected  String name
           
 
Fields inherited from class org.apache.cxf.ws.policy.v200409.OperatorContentType
policyOrAllOrExactlyOne
 
Constructor Summary
Policy()
           
 
Method Summary
 String getId()
          Gets the value of the id property.
 String getName()
          Gets the value of the name property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 void setId(String value)
          Sets the value of the id property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class org.apache.cxf.ws.policy.v200409.OperatorContentType
getPolicyOrAllOrExactlyOne
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

id

protected String id
Constructor Detail

Policy

public Policy()
Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null

Apache CXF API

Apache CXF