com.labs64.netlicensing.schema.context.Netlicensing Maven / Gradle / Ivy
Show all versions of netlicensing-client Show documentation
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 generiert
// Siehe https://javaee.github.io/jaxb-v2/
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2019.02.12 um 08:06:28 PM CET
//
package com.labs64.netlicensing.schema.context;
import java.io.Serializable;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.w3._2000._09.xmldsig_.SignatureType;
/**
* Java-Klasse für anonymous complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
* <element name="infos" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="info" type="{http://netlicensing.labs64.com/schema/context}info" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="items" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="item" type="{http://netlicensing.labs64.com/schema/context}item" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="pagenumber" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="itemsnumber" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="totalpages" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="totalitems" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="hasnext" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="id" type="{http://netlicensing.labs64.com/schema/context}id_type" />
* <attribute name="ttl" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"signature",
"infos",
"items"
})
@XmlRootElement(name = "netlicensing")
public class Netlicensing implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
protected SignatureType signature;
protected Netlicensing.Infos infos;
protected Netlicensing.Items items;
@XmlAttribute(name = "id")
protected String id;
@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;
}
/**
* Legt den Wert der signature-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link SignatureType }
*
*/
public void setSignature(SignatureType value) {
this.signature = value;
}
/**
* Ruft den Wert der infos-Eigenschaft ab.
*
* @return
* possible object is
* {@link Netlicensing.Infos }
*
*/
public Netlicensing.Infos getInfos() {
return infos;
}
/**
* Legt den Wert der infos-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link Netlicensing.Infos }
*
*/
public void setInfos(Netlicensing.Infos value) {
this.infos = value;
}
/**
* Ruft den Wert der items-Eigenschaft ab.
*
* @return
* possible object is
* {@link Netlicensing.Items }
*
*/
public Netlicensing.Items getItems() {
return items;
}
/**
* Legt den Wert der items-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link Netlicensing.Items }
*
*/
public void setItems(Netlicensing.Items value) {
this.items = value;
}
/**
* Ruft den Wert der id-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Legt den Wert der id-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Ruft den Wert der ttl-Eigenschaft ab.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTtl() {
return ttl;
}
/**
* Legt den Wert der ttl-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTtl(XMLGregorianCalendar value) {
this.ttl = value;
}
/**
* Collection of the infos for the caller (information, warnings, errors
* etc.)
*
*
* Java-Klasse für anonymous complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="info" type="{http://netlicensing.labs64.com/schema/context}info" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"info"
})
public static class Infos implements Serializable
{
private final static 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 }
*
*
*/
public List getInfo() {
if (info == null) {
info = new ArrayList();
}
return this.info;
}
}
/**
* Collection of the items
*
* Java-Klasse für anonymous complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="item" type="{http://netlicensing.labs64.com/schema/context}item" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="pagenumber" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="itemsnumber" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="totalpages" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="totalitems" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="hasnext" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"item"
})
public static class Items implements Serializable
{
private final static long serialVersionUID = 1L;
protected List- item;
@XmlAttribute(name = "pagenumber")
protected String pagenumber;
@XmlAttribute(name = "itemsnumber")
protected String itemsnumber;
@XmlAttribute(name = "totalpages")
protected String totalpages;
@XmlAttribute(name = "totalitems")
protected String totalitems;
@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 }
*
*
*/
public List- getItem() {
if (item == null) {
item = new ArrayList
- ();
}
return this.item;
}
/**
* Ruft den Wert der pagenumber-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPagenumber() {
return pagenumber;
}
/**
* Legt den Wert der pagenumber-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPagenumber(String value) {
this.pagenumber = value;
}
/**
* Ruft den Wert der itemsnumber-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getItemsnumber() {
return itemsnumber;
}
/**
* Legt den Wert der itemsnumber-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setItemsnumber(String value) {
this.itemsnumber = value;
}
/**
* Ruft den Wert der totalpages-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTotalpages() {
return totalpages;
}
/**
* Legt den Wert der totalpages-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTotalpages(String value) {
this.totalpages = value;
}
/**
* Ruft den Wert der totalitems-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTotalitems() {
return totalitems;
}
/**
* Legt den Wert der totalitems-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTotalitems(String value) {
this.totalitems = value;
}
/**
* Ruft den Wert der hasnext-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHasnext() {
return hasnext;
}
/**
* Legt den Wert der hasnext-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHasnext(String value) {
this.hasnext = value;
}
}
}