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

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

There is a newer version: 2.10.1-jdk17
Show 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 jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;


/**
 * Item element describes a single business entity (product, license etc.)
 * 
 * 

Java class for item complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "item", propOrder = { "property", "list" }) public class Item implements Serializable { private static final long serialVersionUID = 1L; /** * Simple property direct item element * */ protected java.util.List property; /** * Group of properties or other lists * */ protected java.util.List list; /** * Item type description (usually a business entity class name) * */ @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; } /** * Simple property direct item element * * 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 } *

* * * @return * The value of the property property. */ public java.util.List getProperty() { if (property == null) { property = new ArrayList<>(); } return this.property; } /** * Group of properties or other lists * * 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 } *

* * * @return * The value of the list property. */ public java.util.List getList() { if (list == null) { list = new ArrayList<>(); } return this.list; } /** * Item type description (usually a business entity class name) * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * * @see #getType() */ public void setType(String value) { this.type = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy