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

com.cyc.baseclient.xml.cycml.Sentence 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.baseclient.xml.cycml;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
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">
 *       <choice maxOccurs="unbounded">
 *         <element ref="{http://www.opencyc.org/xml/cycML/}sentence"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}and"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}or"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}xor"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}equiv"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}implies"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}not"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}thereExistAtLeast"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}thereExistAtMost"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}thereExistExactly"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}thereExists"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}forAll"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}variable"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}function"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}predicate"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}constant"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}number"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}string"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}symbol"/>
 *       </choice>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "sentenceOrAndOrOr" }) @XmlRootElement(name = "sentence") public class Sentence { @XmlElementRefs({ @XmlElementRef(name = "equiv", namespace = "http://www.opencyc.org/xml/cycML/", type = Equiv.class, required = false), @XmlElementRef(name = "thereExistAtLeast", namespace = "http://www.opencyc.org/xml/cycML/", type = ThereExistAtLeast.class, required = false), @XmlElementRef(name = "thereExistExactly", namespace = "http://www.opencyc.org/xml/cycML/", type = ThereExistExactly.class, required = false), @XmlElementRef(name = "symbol", namespace = "http://www.opencyc.org/xml/cycML/", type = Symbol.class, required = false), @XmlElementRef(name = "and", namespace = "http://www.opencyc.org/xml/cycML/", type = And.class, required = false), @XmlElementRef(name = "not", namespace = "http://www.opencyc.org/xml/cycML/", type = Not.class, required = false), @XmlElementRef(name = "thereExists", namespace = "http://www.opencyc.org/xml/cycML/", type = ThereExists.class, required = false), @XmlElementRef(name = "forAll", namespace = "http://www.opencyc.org/xml/cycML/", type = ForAll.class, required = false), @XmlElementRef(name = "xor", namespace = "http://www.opencyc.org/xml/cycML/", type = Xor.class, required = false), @XmlElementRef(name = "function", namespace = "http://www.opencyc.org/xml/cycML/", type = Function.class, required = false), @XmlElementRef(name = "predicate", namespace = "http://www.opencyc.org/xml/cycML/", type = Predicate.class, required = false), @XmlElementRef(name = "thereExistAtMost", namespace = "http://www.opencyc.org/xml/cycML/", type = ThereExistAtMost.class, required = false), @XmlElementRef(name = "variable", namespace = "http://www.opencyc.org/xml/cycML/", type = Variable.class, required = false), @XmlElementRef(name = "sentence", namespace = "http://www.opencyc.org/xml/cycML/", type = Sentence.class, required = false), @XmlElementRef(name = "or", namespace = "http://www.opencyc.org/xml/cycML/", type = Or.class, required = false), @XmlElementRef(name = "string", namespace = "http://www.opencyc.org/xml/cycML/", type = JAXBElement.class, required = false), @XmlElementRef(name = "number", namespace = "http://www.opencyc.org/xml/cycML/", type = JAXBElement.class, required = false), @XmlElementRef(name = "implies", namespace = "http://www.opencyc.org/xml/cycML/", type = Implies.class, required = false), @XmlElementRef(name = "constant", namespace = "http://www.opencyc.org/xml/cycML/", type = Constant.class, required = false) }) protected List sentenceOrAndOrOr; /** * Gets the value of the sentenceOrAndOrOr 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 sentenceOrAndOrOr property. * *

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

     *    getSentenceOrAndOrOr().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Equiv } * {@link ThereExistAtLeast } * {@link ThereExistExactly } * {@link Symbol } * {@link And } * {@link Not } * {@link ThereExists } * {@link ForAll } * {@link Xor } * {@link Function } * {@link Predicate } * {@link ThereExistAtMost } * {@link Variable } * {@link Sentence } * {@link Or } * {@link JAXBElement }{@code <}{@link String }{@code >} * {@link JAXBElement }{@code <}{@link String }{@code >} * {@link Implies } * {@link Constant } * * */ public List getSentenceOrAndOrOr() { if (sentenceOrAndOrOr == null) { sentenceOrAndOrOr = new ArrayList(); } return this.sentenceOrAndOrOr; } }