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

com.cyc.baseclient.xml.cycml.ThereExistExactly 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">
 *       <sequence>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}constant"/>
 *         <choice>
 *           <element ref="{http://www.opencyc.org/xml/cycML/}variable"/>
 *           <element ref="{http://www.opencyc.org/xml/cycML/}number"/>
 *         </choice>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}variable"/>
 *         <element ref="{http://www.opencyc.org/xml/cycML/}sentence"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) @XmlRootElement(name = "thereExistExactly") public class ThereExistExactly { @XmlElementRefs({ @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 = "number", namespace = "http://www.opencyc.org/xml/cycML/", type = JAXBElement.class, required = false), @XmlElementRef(name = "constant", namespace = "http://www.opencyc.org/xml/cycML/", type = Constant.class, required = false) }) protected List content; /** * Gets the rest of the content model. * *

* You are getting this "catch-all" property because of the following reason: * The field name "Variable" is used by two different parts of a schema. See: * line 253 of http://dev.cyc.com/xsd/cycml.xsd * line 250 of http://dev.cyc.com/xsd/cycml.xsd *

* To get rid of this property, apply a property customization to one * of both of the following declarations to change their names: * Gets the value of the content 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 content property. * *

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

     *    getContent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Variable } * {@link JAXBElement }{@code <}{@link String }{@code >} * {@link Sentence } * {@link Constant } * * */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } }