//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-147
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.01.25 at 12:49:31 �� EET
//
package org.openiot.commons.sparql.result.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element ref="{http://www.w3.org/2007/SPARQL/results#}uri"/>
* <element ref="{http://www.w3.org/2007/SPARQL/results#}bnode"/>
* <element ref="{http://www.w3.org/2007/SPARQL/results#}literal"/>
* </choice>
* <attGroup ref="{http://www.w3.org/2007/SPARQL/results#}nameAttr"/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"uri",
"bnode",
"literal"
})
@XmlRootElement(name = "binding")
public class Binding {
protected String uri;
protected String bnode;
protected Literal literal;
@XmlAttribute(name = "name", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String name;
/**
* Gets the value of the uri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUri() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUri(String value) {
this.uri = value;
}
/**
* Gets the value of the bnode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBnode() {
return bnode;
}
/**
* Sets the value of the bnode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBnode(String value) {
this.bnode = value;
}
/**
* Gets the value of the literal property.
*
* @return
* possible object is
* {@link Literal }
*
*/
public Literal getLiteral() {
return literal;
}
/**
* Sets the value of the literal property.
*
* @param value
* allowed object is
* {@link Literal }
*
*/
public void setLiteral(Literal value) {
this.literal = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
}