com.metsci.glimpse.dspl.schema
Class Topic

java.lang.Object
  extended by com.metsci.glimpse.dspl.schema.Topic

public class Topic
extends java.lang.Object

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

Topic

public Topic()
Method Detail

getInfo

public Info getInfo()
Gets the value of the info property.

Returns:
possible object is Info

setInfo

public void setInfo(Info value)
Sets the value of the info property.

Parameters:
value - allowed object is Info

getTopic

public java.util.List<Topic> getTopic()
Gets the value of the topic 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 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


getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getParentTopic

public javax.xml.namespace.QName getParentTopic()
Gets the value of the parentTopic property.

Returns:
possible object is QName

setParentTopic

public void setParentTopic(javax.xml.namespace.QName value)
Sets the value of the parentTopic property.

Parameters:
value - allowed object is QName


Copyright © 2012 Metron, Inc.. All Rights Reserved.