All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.labs64.netlicensing.schema.context.Netlicensing Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


package com.labs64.netlicensing.schema.context;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.datatype.XMLGregorianCalendar;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import org.w3._2000._09.xmldsig_.SignatureType;


/**
 * 

Java class for anonymous complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *                 
 *                 
 *                 
 *                 
 *                 
 *               
 *             
 *           
 *         
 *       
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "signature", "infos", "items" }) @XmlRootElement(name = "netlicensing") public class Netlicensing implements Serializable { private static final long serialVersionUID = 1L; /** * XML Signature element. * */ @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") protected SignatureType signature; protected Netlicensing.Infos infos; protected Netlicensing.Items items; /** * Request unique identifier. * */ @XmlAttribute(name = "id") protected String id; /** * Time To Live - time stamp that determines the validity span of the response. * If not provided, the response should not be cached. * */ @XmlAttribute(name = "ttl") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar ttl; /** * Default no-arg constructor * */ public Netlicensing() { super(); } /** * Fully-initialising value constructor * */ public Netlicensing(final SignatureType signature, final Netlicensing.Infos infos, final Netlicensing.Items items, final String id, final XMLGregorianCalendar ttl) { this.signature = signature; this.infos = infos; this.items = items; this.id = id; this.ttl = ttl; } /** * XML Signature element. * * @return * possible object is * {@link SignatureType } * */ public SignatureType getSignature() { return signature; } /** * Sets the value of the signature property. * * @param value * allowed object is * {@link SignatureType } * * @see #getSignature() */ public void setSignature(SignatureType value) { this.signature = value; } /** * Gets the value of the infos property. * * @return * possible object is * {@link Netlicensing.Infos } * */ public Netlicensing.Infos getInfos() { return infos; } /** * Sets the value of the infos property. * * @param value * allowed object is * {@link Netlicensing.Infos } * */ public void setInfos(Netlicensing.Infos value) { this.infos = value; } /** * Gets the value of the items property. * * @return * possible object is * {@link Netlicensing.Items } * */ public Netlicensing.Items getItems() { return items; } /** * Sets the value of the items property. * * @param value * allowed object is * {@link Netlicensing.Items } * */ public void setItems(Netlicensing.Items value) { this.items = value; } /** * Request unique identifier. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * * @see #getId() */ public void setId(String value) { this.id = value; } /** * Time To Live - time stamp that determines the validity span of the response. * If not provided, the response should not be cached. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getTtl() { return ttl; } /** * Sets the value of the ttl property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * * @see #getTtl() */ public void setTtl(XMLGregorianCalendar value) { this.ttl = value; } /** * Collection of the infos for the caller (information, warnings, errors * etc.) * *

Java class for anonymous complex type

. * *

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

* *
{@code
     * 
     *   
     *     
     *       
     *         
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "info" }) public static class Infos implements Serializable { private static final long serialVersionUID = 1L; protected List info; /** * Default no-arg constructor * */ public Infos() { super(); } /** * Fully-initialising value constructor * */ public Infos(final List info) { this.info = info; } /** * Gets the value of the info 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 info property.

* *

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

*
         * getInfo().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Info } *

* * * @return * The value of the info property. */ public List getInfo() { if (info == null) { info = new ArrayList<>(); } return this.info; } } /** * Collection of the items * *

Java class for anonymous complex type

. * *

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

* *
{@code
     * 
     *   
     *     
     *       
     *         
     *       
     *       
     *       
     *       
     *       
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "item" }) public static class Items implements Serializable { private static final long serialVersionUID = 1L; protected List item; /** * Page number * */ @XmlAttribute(name = "pagenumber") protected String pagenumber; /** * Items number on page * */ @XmlAttribute(name = "itemsnumber") protected String itemsnumber; /** * Total pages of the list * */ @XmlAttribute(name = "totalpages") protected String totalpages; /** * Total items of the list * */ @XmlAttribute(name = "totalitems") protected String totalitems; /** * Shows if page has a next page * */ @XmlAttribute(name = "hasnext") protected String hasnext; /** * Default no-arg constructor * */ public Items() { super(); } /** * Fully-initialising value constructor * */ public Items(final List item, final String pagenumber, final String itemsnumber, final String totalpages, final String totalitems, final String hasnext) { this.item = item; this.pagenumber = pagenumber; this.itemsnumber = itemsnumber; this.totalpages = totalpages; this.totalitems = totalitems; this.hasnext = hasnext; } /** * Gets the value of the item 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 item property.

* *

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

*
         * getItem().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Item } *

* * * @return * The value of the item property. */ public List getItem() { if (item == null) { item = new ArrayList<>(); } return this.item; } /** * Page number * * @return * possible object is * {@link String } * */ public String getPagenumber() { return pagenumber; } /** * Sets the value of the pagenumber property. * * @param value * allowed object is * {@link String } * * @see #getPagenumber() */ public void setPagenumber(String value) { this.pagenumber = value; } /** * Items number on page * * @return * possible object is * {@link String } * */ public String getItemsnumber() { return itemsnumber; } /** * Sets the value of the itemsnumber property. * * @param value * allowed object is * {@link String } * * @see #getItemsnumber() */ public void setItemsnumber(String value) { this.itemsnumber = value; } /** * Total pages of the list * * @return * possible object is * {@link String } * */ public String getTotalpages() { return totalpages; } /** * Sets the value of the totalpages property. * * @param value * allowed object is * {@link String } * * @see #getTotalpages() */ public void setTotalpages(String value) { this.totalpages = value; } /** * Total items of the list * * @return * possible object is * {@link String } * */ public String getTotalitems() { return totalitems; } /** * Sets the value of the totalitems property. * * @param value * allowed object is * {@link String } * * @see #getTotalitems() */ public void setTotalitems(String value) { this.totalitems = value; } /** * Shows if page has a next page * * @return * possible object is * {@link String } * */ public String getHasnext() { return hasnext; } /** * Sets the value of the hasnext property. * * @param value * allowed object is * {@link String } * * @see #getHasnext() */ public void setHasnext(String value) { this.hasnext = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy