All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencyc.ws.xsd.lightweightresultset.ResultSet Maven / Gradle / Ivy

Go to download

JAXB bindings for lightweightresultset.xsd: a schema for terse, minimal result sets. It was originally developed to provide auto-completion suggestions for partially-typed concept NL/constants in the Cyc browser, but has proven to be generally useful.

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.02.04 at 05:13:36 PM CST 
//


package org.opencyc.ws.xsd.lightweightresultset;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for ResultSet complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="ResultSet">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Term" type="{http://ws.opencyc.org/xsd/LightWeightResultSet}Term" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ResultSet", propOrder = { "term" }) public class ResultSet implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Term") protected List term; /** * Gets the value of the term 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 term property. * *

* For example, to add a new item, do as follows: *

     *    getTerm().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Term } * * */ public List getTerm() { if (term == null) { term = new ArrayList(); } return this.term; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy