cgl.narada.wsinfra.schemas.policy
Interface PolicyAttachmentDocument.PolicyAttachment

All Superinterfaces:
XmlObject, XmlTokenSource
All Known Implementing Classes:
PolicyAttachmentDocumentImpl.PolicyAttachmentImpl
Enclosing interface:
PolicyAttachmentDocument

public static interface PolicyAttachmentDocument.PolicyAttachment
extends XmlObject

An XML PolicyAttachment(@http://schemas.xmlsoap.org/ws/2004/09/policy). This is a complex type.


Nested Class Summary
static class PolicyAttachmentDocument.PolicyAttachment.Factory
          A factory class with static methods for creating instances of this type.
 
Field Summary
static SchemaType type
           
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Method Summary
 AppliesToDocument.AppliesTo addNewAppliesTo()
          Appends and returns a new empty "AppliesTo" element
 PolicyDocument.Policy addNewPolicy()
          Appends and returns a new empty value (as xml) as the last "Policy" element
 PolicyReferenceDocument.PolicyReference addNewPolicyReference()
          Appends and returns a new empty value (as xml) as the last "PolicyReference" element
 AppliesToDocument.AppliesTo getAppliesTo()
          Gets the "AppliesTo" element
 PolicyDocument.Policy[] getPolicyArray()
          Gets array of all "Policy" elements
 PolicyDocument.Policy getPolicyArray(int i)
          Gets ith "Policy" element
 PolicyReferenceDocument.PolicyReference[] getPolicyReferenceArray()
          Gets array of all "PolicyReference" elements
 PolicyReferenceDocument.PolicyReference getPolicyReferenceArray(int i)
          Gets ith "PolicyReference" element
 PolicyDocument.Policy insertNewPolicy(int i)
          Inserts and returns a new empty value (as xml) as the ith "Policy" element
 PolicyReferenceDocument.PolicyReference insertNewPolicyReference(int i)
          Inserts and returns a new empty value (as xml) as the ith "PolicyReference" element
 void removePolicy(int i)
          Removes the ith "Policy" element
 void removePolicyReference(int i)
          Removes the ith "PolicyReference" element
 void setAppliesTo(AppliesToDocument.AppliesTo appliesTo)
          Sets the "AppliesTo" element
 void setPolicyArray(int i, PolicyDocument.Policy policy)
          Sets ith "Policy" element
 void setPolicyArray(PolicyDocument.Policy[] policyArray)
          Sets array of all "Policy" element
 void setPolicyReferenceArray(int i, PolicyReferenceDocument.PolicyReference policyReference)
          Sets ith "PolicyReference" element
 void setPolicyReferenceArray(PolicyReferenceDocument.PolicyReference[] policyReferenceArray)
          Sets array of all "PolicyReference" element
 int sizeOfPolicyArray()
          Returns number of "Policy" element
 int sizeOfPolicyReferenceArray()
          Returns number of "PolicyReference" element
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Field Detail

type

public static final SchemaType type
Method Detail

getAppliesTo

public AppliesToDocument.AppliesTo getAppliesTo()
Gets the "AppliesTo" element


setAppliesTo

public void setAppliesTo(AppliesToDocument.AppliesTo appliesTo)
Sets the "AppliesTo" element


addNewAppliesTo

public AppliesToDocument.AppliesTo addNewAppliesTo()
Appends and returns a new empty "AppliesTo" element


getPolicyArray

public PolicyDocument.Policy[] getPolicyArray()
Gets array of all "Policy" elements


getPolicyArray

public PolicyDocument.Policy getPolicyArray(int i)
Gets ith "Policy" element


sizeOfPolicyArray

public int sizeOfPolicyArray()
Returns number of "Policy" element


setPolicyArray

public void setPolicyArray(PolicyDocument.Policy[] policyArray)
Sets array of all "Policy" element


setPolicyArray

public void setPolicyArray(int i,
                           PolicyDocument.Policy policy)
Sets ith "Policy" element


insertNewPolicy

public PolicyDocument.Policy insertNewPolicy(int i)
Inserts and returns a new empty value (as xml) as the ith "Policy" element


addNewPolicy

public PolicyDocument.Policy addNewPolicy()
Appends and returns a new empty value (as xml) as the last "Policy" element


removePolicy

public void removePolicy(int i)
Removes the ith "Policy" element


getPolicyReferenceArray

public PolicyReferenceDocument.PolicyReference[] getPolicyReferenceArray()
Gets array of all "PolicyReference" elements


getPolicyReferenceArray

public PolicyReferenceDocument.PolicyReference getPolicyReferenceArray(int i)
Gets ith "PolicyReference" element


sizeOfPolicyReferenceArray

public int sizeOfPolicyReferenceArray()
Returns number of "PolicyReference" element


setPolicyReferenceArray

public void setPolicyReferenceArray(PolicyReferenceDocument.PolicyReference[] policyReferenceArray)
Sets array of all "PolicyReference" element


setPolicyReferenceArray

public void setPolicyReferenceArray(int i,
                                    PolicyReferenceDocument.PolicyReference policyReference)
Sets ith "PolicyReference" element


insertNewPolicyReference

public PolicyReferenceDocument.PolicyReference insertNewPolicyReference(int i)
Inserts and returns a new empty value (as xml) as the ith "PolicyReference" element


addNewPolicyReference

public PolicyReferenceDocument.PolicyReference addNewPolicyReference()
Appends and returns a new empty value (as xml) as the last "PolicyReference" element


removePolicyReference

public void removePolicyReference(int i)
Removes the ith "PolicyReference" element