public class Item extends Object implements Findable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{}fieldref"/> <element ref="{}msgref"/> <element ref="{}blockref" minOccurs="0"/> </choice> <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
content |
protected String |
id |
protected String |
val |
Constructor and Description |
---|
Item() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o) |
List<Object> |
getContent()
Gets the value of the content property.
|
String |
getId()
Gets the value of the id property.
|
String |
getVal()
Gets the value of the val property.
|
int |
hashCode() |
void |
setId(String value)
Sets the value of the id property.
|
void |
setVal(String value)
Sets the value of the val property.
|
String |
toString() |
public List<Object> getContent()
set
method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
String
Blockref
Msgref
Fieldref
public String getVal()
String
public void setVal(String value)
value
- allowed object is
String
public void setId(String value)
value
- allowed object is
String
public int compareTo(Object o)
compareTo
in interface Comparable
Copyright © 2000–2022 EPAM Systems. All rights reserved.