Interface PolicyAttachmentType

  • All Known Subinterfaces:
    PolicyAttachmentElement
    All Known Implementing Classes:
    PolicyAttachmentElementImpl, PolicyAttachmentTypeImpl

    public interface PolicyAttachmentType
    Java content class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/allan/A-SVN/trunk/opensso/products/federation/library/xsd/wsfederation/ws-policy.xsd line 88)

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://schemas.xmlsoap.org/ws/2004/09/policy}AppliesTo"/>
             <choice maxOccurs="unbounded">
               <element ref="{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy"/>
               <element ref="{http://schemas.xmlsoap.org/ws/2004/09/policy}PolicyReference"/>
             </choice>
             <any/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Method Detail

      • getAny

        List getAny()
        Gets the value of the Any property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the Any property.

        For example, to add a new item, do as follows:

            getAny().add(newItem);
         

        Objects of the following type(s) are allowed in the list Object

      • getPolicyOrPolicyReference

        List getPolicyOrPolicyReference()
        Gets the value of the PolicyOrPolicyReference property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the PolicyOrPolicyReference property.

        For example, to add a new item, do as follows:

            getPolicyOrPolicyReference().add(newItem);
         

        Objects of the following type(s) are allowed in the list PolicyReferenceElement PolicyElement