public class Topic extends Object
Java class for Topic complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Topic"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="info" type="{http://schemas.google.com/dspl/2010}Info"/> <element name="topic" type="{http://schemas.google.com/dspl/2010}Topic" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://schemas.google.com/dspl/2010}Id" /> <attribute name="parentTopic" type="{http://www.w3.org/2001/XMLSchema}QName" /> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
Topic() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the value of the id property.
|
Info |
getInfo()
Gets the value of the info property.
|
QName |
getParentTopic()
Gets the value of the parentTopic property.
|
List<Topic> |
getTopic()
Gets the value of the topic property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setInfo(Info value)
Sets the value of the info property.
|
void |
setParentTopic(QName value)
Sets the value of the parentTopic property.
|
public void setInfo(Info value)
value
- allowed object is
Info
public List<Topic> getTopic()
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 topic property.
For example, to add a new item, do as follows:
getTopic().add(newItem);
Objects of the following type(s) are allowed in the list
Topic
public void setId(String value)
value
- allowed object is
String
public QName getParentTopic()
QName
Copyright © 2016 Metron, Inc.. All rights reserved.