Class Item
- All Implemented Interfaces:
Serializable
Java class for item complex type
.The following schema fragment specifies the expected content contained within this class.
<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>
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetList()
Group of properties or other lists Gets the value of the list property.Simple property direct item element Gets the value of the property property.getType()
Item type description (usually a business entity class name)void
Sets the value of the type property.
-
Field Details
-
property
Simple property direct item element -
list
Group of properties or other lists -
type
Item type description (usually a business entity class name)
-
-
Constructor Details
-
Item
public Item()Default no-arg constructor -
Item
Fully-initialising value constructor
-
-
Method Details
-
getProperty
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
Property
- Returns:
- The value of the property property.
-
getList
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
List
- Returns:
- The value of the list property.
-
getType
Item type description (usually a business entity class name)- Returns:
- possible object is
String
-
setType
Sets the value of the type property.
-