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

com.cyc.xml.query.FormulaTemplate 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.20 at 01:27:16 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/formulaTemplate/}id"/>
 *         <choice maxOccurs="2" minOccurs="0">
 *           <element ref="{http://www.opencyc.org/xml/cyclQuery/}cyclQuery"/>
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}formula"/>
 *         </choice>
 *         <element ref="{http://www.opencyc.org/xml/formulaTemplate/}elmt"/>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}focalTerm"/>
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}argPosition"/>
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}argPositions"/>
 *         </choice>
 *         <choice>
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}singleEntry"/>
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}multipleEntry"/>
 *         </choice>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}usageExamples"/>
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}excludeReplacementOptions"/>
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}followUps"/>
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}glossForTemplate"/>
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}reformulationSpecification"/>
 *           <element ref="{http://www.opencyc.org/xml/formulaTemplate/}argumentPositionDetails"/>
 *         </choice>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "id", "cyclQueryOrFormula", "elmt", "focalTermOrArgPositionOrArgPositions", "singleEntry", "multipleEntry", "usageExamplesOrExcludeReplacementOptionsOrFollowUps" }) @XmlRootElement(name = "formulaTemplate") public class FormulaTemplate { @XmlElement(required = true) protected Id id; @XmlElements({ @XmlElement(name = "cyclQuery", namespace = "http://www.opencyc.org/xml/cyclQuery/", type = CyclQuery.class), @XmlElement(name = "formula", type = Formula.class) }) protected List cyclQueryOrFormula; @XmlElement(required = true) protected Elmt elmt; @XmlElements({ @XmlElement(name = "focalTerm", type = FocalTerm.class), @XmlElement(name = "argPosition", type = ArgPosition.class), @XmlElement(name = "argPositions", type = ArgPositions.class) }) protected List focalTermOrArgPositionOrArgPositions; protected Object singleEntry; protected Object multipleEntry; @XmlElements({ @XmlElement(name = "usageExamples", type = UsageExamples.class), @XmlElement(name = "excludeReplacementOptions", type = ExcludeReplacementOptions.class), @XmlElement(name = "followUps", type = FollowUps.class), @XmlElement(name = "glossForTemplate", type = GlossForTemplate.class), @XmlElement(name = "reformulationSpecification", type = ReformulationSpecification.class), @XmlElement(name = "argumentPositionDetails", type = ArgumentPositionDetails.class) }) protected List usageExamplesOrExcludeReplacementOptionsOrFollowUps; /** * Gets the value of the id property. * * @return * possible object is * {@link Id } * */ public Id getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Id } * */ public void setId(Id value) { this.id = value; } /** * Gets the value of the cyclQueryOrFormula 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 cyclQueryOrFormula property. * *

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

     *    getCyclQueryOrFormula().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CyclQuery } * {@link Formula } * * */ public List getCyclQueryOrFormula() { if (cyclQueryOrFormula == null) { cyclQueryOrFormula = new ArrayList(); } return this.cyclQueryOrFormula; } /** * Gets the value of the elmt property. * * @return * possible object is * {@link Elmt } * */ public Elmt getElmt() { return elmt; } /** * Sets the value of the elmt property. * * @param value * allowed object is * {@link Elmt } * */ public void setElmt(Elmt value) { this.elmt = value; } /** * Gets the value of the focalTermOrArgPositionOrArgPositions 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 focalTermOrArgPositionOrArgPositions property. * *

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

     *    getFocalTermOrArgPositionOrArgPositions().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FocalTerm } * {@link ArgPosition } * {@link ArgPositions } * * */ public List getFocalTermOrArgPositionOrArgPositions() { if (focalTermOrArgPositionOrArgPositions == null) { focalTermOrArgPositionOrArgPositions = new ArrayList(); } return this.focalTermOrArgPositionOrArgPositions; } /** * Gets the value of the singleEntry property. * * @return * possible object is * {@link Object } * */ public Object getSingleEntry() { return singleEntry; } /** * Sets the value of the singleEntry property. * * @param value * allowed object is * {@link Object } * */ public void setSingleEntry(Object value) { this.singleEntry = value; } /** * Gets the value of the multipleEntry property. * * @return * possible object is * {@link Object } * */ public Object getMultipleEntry() { return multipleEntry; } /** * Sets the value of the multipleEntry property. * * @param value * allowed object is * {@link Object } * */ public void setMultipleEntry(Object value) { this.multipleEntry = value; } /** * Gets the value of the usageExamplesOrExcludeReplacementOptionsOrFollowUps 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 usageExamplesOrExcludeReplacementOptionsOrFollowUps property. * *

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

     *    getUsageExamplesOrExcludeReplacementOptionsOrFollowUps().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link UsageExamples } * {@link ExcludeReplacementOptions } * {@link FollowUps } * {@link GlossForTemplate } * {@link ReformulationSpecification } * {@link ArgumentPositionDetails } * * */ public List getUsageExamplesOrExcludeReplacementOptionsOrFollowUps() { if (usageExamplesOrExcludeReplacementOptionsOrFollowUps == null) { usageExamplesOrExcludeReplacementOptionsOrFollowUps = new ArrayList(); } return this.usageExamplesOrExcludeReplacementOptionsOrFollowUps; } }