public class Policies extends Object implements Serializable
| Constructor and Description | 
|---|
| Policies() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPolicyManage(int index,
               PolicyManage vPolicyManage) | 
| void | addPolicyManage(PolicyManage vPolicyManage) | 
| Enumeration<PolicyManage> | enumeratePolicyManage()Method enumeratePolicyManage. | 
| boolean | equals(Object obj)Overrides the java.lang.Object.equals method. | 
| PolicyManage[] | getPolicyManage()Method getPolicyManage.Returns the contents of the
 collection in an Array. | 
| PolicyManage | getPolicyManage(int index)Method getPolicyManage. | 
| List<PolicyManage> | getPolicyManageCollection()Method getPolicyManageCollection.Returns a reference to
 '_policyManageList'. | 
| int | getPolicyManageCount()Method getPolicyManageCount. | 
| int | hashCode()Overrides the java.lang.Object.hashCode method. | 
| boolean | isValid()Method isValid. | 
| Iterator<PolicyManage> | iteratePolicyManage()Method iteratePolicyManage. | 
| void | marshal(ContentHandler handler) | 
| void | marshal(Writer out) | 
| void | removeAllPolicyManage() | 
| boolean | removePolicyManage(PolicyManage vPolicyManage)Method removePolicyManage. | 
| PolicyManage | removePolicyManageAt(int index)Method removePolicyManageAt. | 
| void | setPolicyManage(int index,
               PolicyManage vPolicyManage) | 
| void | setPolicyManage(List<PolicyManage> vPolicyManageList)Sets the value of '_policyManageList' by copying the given
 Vector. | 
| void | setPolicyManage(PolicyManage[] vPolicyManageArray) | 
| void | setPolicyManageCollection(List<PolicyManage> policyManageList)Deprecated.   | 
| static Policies | unmarshal(Reader reader)Method unmarshal. | 
| void | validate() | 
public void addPolicyManage(PolicyManage vPolicyManage) throws IndexOutOfBoundsException
vPolicyManage - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void addPolicyManage(int index,
                            PolicyManage vPolicyManage)
                     throws IndexOutOfBoundsException
index - vPolicyManage - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic Enumeration<PolicyManage> enumeratePolicyManage()
public boolean equals(Object obj)
public PolicyManage getPolicyManage(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic PolicyManage[] getPolicyManage()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<PolicyManage> getPolicyManageCollection()
public int getPolicyManageCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<PolicyManage> iteratePolicyManage()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalException - if object is
 null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler - IOException - if an IOException occurs during
 marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException - if object is
 null or if any SAXException is thrown during marshalingpublic void removeAllPolicyManage()
public boolean removePolicyManage(PolicyManage vPolicyManage)
vPolicyManage - public PolicyManage removePolicyManageAt(int index)
index - public void setPolicyManage(int index,
                            PolicyManage vPolicyManage)
                     throws IndexOutOfBoundsException
index - vPolicyManage - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void setPolicyManage(PolicyManage[] vPolicyManageArray)
vPolicyManageArray - public void setPolicyManage(List<PolicyManage> vPolicyManageList)
vPolicyManageList - the Vector to copy.public void setPolicyManageCollection(List<PolicyManage> policyManageList)
policyManageList - the Vector to set.public static Policies unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalException - if object is
 null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemapublic void validate()
              throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.