|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.dspl.schema.Topic
public class Topic
A topic is a label that can be attached to concepts. Topics are organized hierarchically.
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 Summary | |
---|---|
Topic()
|
Method Summary | |
---|---|
java.lang.String |
getId()
Gets the value of the id property. |
Info |
getInfo()
Gets the value of the info property. |
javax.xml.namespace.QName |
getParentTopic()
Gets the value of the parentTopic property. |
java.util.List<Topic> |
getTopic()
Gets the value of the topic property. |
void |
setId(java.lang.String value)
Sets the value of the id property. |
void |
setInfo(Info value)
Sets the value of the info property. |
void |
setParentTopic(javax.xml.namespace.QName value)
Sets the value of the parentTopic property. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Topic()
Method Detail |
---|
public Info getInfo()
Info
public void setInfo(Info value)
value
- allowed object is
Info
public java.util.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 java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String
public javax.xml.namespace.QName getParentTopic()
QName
public void setParentTopic(javax.xml.namespace.QName value)
value
- allowed object is
QName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |