com.labs64.netlicensing.schema.context.Item 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Item element describes a single business entity (product, license etc.)
*
*
* Java-Klasse für item complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType name="item">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="property" type="{http://netlicensing.labs64.com/schema/context}property" maxOccurs="unbounded" minOccurs="0"/>
* <element name="list" type="{http://netlicensing.labs64.com/schema/context}list" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "item", propOrder = {
"property",
"list"
})
public class Item implements Serializable
{
private final static long serialVersionUID = 1L;
protected java.util.List property;
protected java.util.List list;
@XmlAttribute(name = "type", required = true)
protected String type;
/**
* Default no-arg constructor
*
*/
public Item() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public Item(final java.util.List property, final java.util.List list, final String type) {
this.property = property;
this.list = list;
this.type = type;
}
/**
* Gets the value of the property 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 property property.
*
*
* For example, to add a new item, do as follows:
*
* getProperty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Property }
*
*
*/
public java.util.List getProperty() {
if (property == null) {
property = new ArrayList();
}
return this.property;
}
/**
* Gets the value of the list 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 list property.
*
*
* For example, to add a new item, do as follows:
*
* getList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link com.labs64.netlicensing.schema.context.List }
*
*
*/
public java.util.List getList() {
if (list == null) {
list = new ArrayList();
}
return this.list;
}
/**
* Ruft den Wert der type-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Legt den Wert der type-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
}