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

com.cyc.xml.query.CyclQuery Maven / Gradle / Ivy

Go to download

Query API implementation for requesting and handling answers to arbitrarily complex questions posed to a Cyc server.

There is a newer version: 1.2.2
Show 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: 2017.07.28 at 05:17:10 PM CDT 
//


package com.cyc.xml.query;

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.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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">
 *       <sequence>
 *         <element ref="{http://www.opencyc.org/xml/cyclQuery/}queryID"/>
 *         <element ref="{http://www.opencyc.org/xml/cyclQuery/}queryFormula"/>
 *         <element ref="{http://www.opencyc.org/xml/cyclQuery/}queryMt"/>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element ref="{http://www.opencyc.org/xml/cyclQuery/}queryComment"/>
 *           <element ref="{http://www.opencyc.org/xml/cyclQuery/}queryInferenceProperties"/>
 *           <element ref="{http://www.opencyc.org/xml/cyclQuery/}queryIndexicals"/>
 *         </choice>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "queryID", "queryFormula", "queryMt", "queryCommentOrQueryInferencePropertiesOrQueryIndexicals" }) @XmlRootElement(name = "cyclQuery", namespace = "http://www.opencyc.org/xml/cyclQuery/") public class CyclQuery { @XmlElement(namespace = "http://www.opencyc.org/xml/cyclQuery/", required = true) protected QueryID queryID; @XmlElement(namespace = "http://www.opencyc.org/xml/cyclQuery/", required = true) protected QueryFormula queryFormula; @XmlElement(namespace = "http://www.opencyc.org/xml/cyclQuery/", required = true) protected QueryMt queryMt; @XmlElements({ @XmlElement(name = "queryComment", namespace = "http://www.opencyc.org/xml/cyclQuery/", type = QueryComment.class), @XmlElement(name = "queryInferenceProperties", namespace = "http://www.opencyc.org/xml/cyclQuery/", type = QueryInferenceProperties.class), @XmlElement(name = "queryIndexicals", namespace = "http://www.opencyc.org/xml/cyclQuery/", type = QueryIndexicals.class) }) protected List queryCommentOrQueryInferencePropertiesOrQueryIndexicals; /** * Gets the value of the queryID property. * * @return * possible object is * {@link QueryID } * */ public QueryID getQueryID() { return queryID; } /** * Sets the value of the queryID property. * * @param value * allowed object is * {@link QueryID } * */ public void setQueryID(QueryID value) { this.queryID = value; } /** * Gets the value of the queryFormula property. * * @return * possible object is * {@link QueryFormula } * */ public QueryFormula getQueryFormula() { return queryFormula; } /** * Sets the value of the queryFormula property. * * @param value * allowed object is * {@link QueryFormula } * */ public void setQueryFormula(QueryFormula value) { this.queryFormula = value; } /** * Gets the value of the queryMt property. * * @return * possible object is * {@link QueryMt } * */ public QueryMt getQueryMt() { return queryMt; } /** * Sets the value of the queryMt property. * * @param value * allowed object is * {@link QueryMt } * */ public void setQueryMt(QueryMt value) { this.queryMt = value; } /** * Gets the value of the queryCommentOrQueryInferencePropertiesOrQueryIndexicals 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 queryCommentOrQueryInferencePropertiesOrQueryIndexicals property. * *

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

     *    getQueryCommentOrQueryInferencePropertiesOrQueryIndexicals().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link QueryComment } * {@link QueryInferenceProperties } * {@link QueryIndexicals } * * */ public List getQueryCommentOrQueryInferencePropertiesOrQueryIndexicals() { if (queryCommentOrQueryInferencePropertiesOrQueryIndexicals == null) { queryCommentOrQueryInferencePropertiesOrQueryIndexicals = new ArrayList(); } return this.queryCommentOrQueryInferencePropertiesOrQueryIndexicals; } }