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

fr.inria.edelweiss.rif.xml.schema.Frame Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2009.08.24 at 10:15:40 AM CEST 
//


package fr.inria.edelweiss.rif.xml.schema;

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

import fr.inria.edelweiss.rif.ast.Annotation;


/**
 * 

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>
 *         <group ref="{http://www.w3.org/2007/rif#}IRIMETA" minOccurs="0"/>
 *         <element ref="{http://www.w3.org/2007/rif#}object"/>
 *         <element name="slot" type="{http://www.w3.org/2007/rif#}slot-Frame.type" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "id", "meta", "object", "slot" }) @XmlRootElement(name = "Frame") public class Frame { protected Id id; protected Meta meta; @XmlElement(required = true) protected Object object; protected List slot; /** * 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 meta property. * * @return * possible object is * {@link Meta } * */ public Meta getMeta() { return meta; } /** * Sets the value of the meta property. * * @param value * allowed object is * {@link Meta } * */ public void setMeta(Meta value) { this.meta = value; } /** * Gets the value of the object property. * * @return * possible object is * {@link Object } * */ public Object getObject() { return object; } /** * Sets the value of the object property. * * @param value * allowed object is * {@link Object } * */ public void setObject(Object value) { this.object = value; } /** * Gets the value of the slot 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 slot property. * *

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

     *    getSlot().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SlotFrameType } * * */ public List getSlot() { if (slot == null) { slot = new ArrayList(); } return this.slot; } public fr.inria.edelweiss.rif.ast.Frame XML2AST() { fr.inria.edelweiss.rif.ast.Frame frame = fr.inria.edelweiss.rif.ast.Frame.create(this.getObject().XML2AST()) ; for(SlotFrameType slot : this.getSlot()) { //frame.addAttValPair(slot.getContent().get(0), slot.getContent().get(1)) ; } return null; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy