// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.02.10 at 10:02:26 PM CET // package ietf.params.xml.ns.keyprov.pskc; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * <p>Java class for PolicyType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="PolicyType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="ExpiryDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="PINPolicy" type="{urn:ietf:params:xml:ns:keyprov:pskc}PINPolicyType" minOccurs="0"/> * <element name="KeyUsage" type="{urn:ietf:params:xml:ns:keyprov:pskc}KeyUsageType" maxOccurs="unbounded" minOccurs="0"/> * <element name="NumberOfTransactions" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PolicyType", propOrder = { "startDate", "expiryDate", "pinPolicy", "keyUsage", "numberOfTransactions", "any" }) public class PolicyType { @XmlElement(name = "StartDate") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar startDate; @XmlElement(name = "ExpiryDate") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar expiryDate; @XmlElement(name = "PINPolicy") protected PINPolicyType pinPolicy; @XmlElement(name = "KeyUsage") protected List<KeyUsageType> keyUsage; @XmlElement(name = "NumberOfTransactions") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger numberOfTransactions; @XmlAnyElement(lax = true) protected List<Object> any; /** * Gets the value of the startDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getStartDate() { return startDate; } /** * Sets the value of the startDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setStartDate(XMLGregorianCalendar value) { this.startDate = value; } /** * Gets the value of the expiryDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getExpiryDate() { return expiryDate; } /** * Sets the value of the expiryDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setExpiryDate(XMLGregorianCalendar value) { this.expiryDate = value; } /** * Gets the value of the pinPolicy property. * * @return * possible object is * {@link PINPolicyType } * */ public PINPolicyType getPINPolicy() { return pinPolicy; } /** * Sets the value of the pinPolicy property. * * @param value * allowed object is * {@link PINPolicyType } * */ public void setPINPolicy(PINPolicyType value) { this.pinPolicy = value; } /** * Gets the value of the keyUsage property. * * <p> * 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 <CODE>set</CODE> method for the keyUsage property. * * <p> * For example, to add a new item, do as follows: * <pre> * getKeyUsage().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link KeyUsageType } * * */ public List<KeyUsageType> getKeyUsage() { if (keyUsage == null) { keyUsage = new ArrayList<KeyUsageType>(); } return this.keyUsage; } /** * Gets the value of the numberOfTransactions property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNumberOfTransactions() { return numberOfTransactions; } /** * Sets the value of the numberOfTransactions property. * * @param value * allowed object is * {@link BigInteger } * */ public void setNumberOfTransactions(BigInteger value) { this.numberOfTransactions = value; } /** * Gets the value of the any property. * * <p> * 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 <CODE>set</CODE> method for the any property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAny().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Object } * * */ public List<Object> getAny() { if (any == null) { any = new ArrayList<Object>(); } return this.any; } }