org.musicbrainz.ns.mmd_2.Rating Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.04.12 at 04:01:25 PM CEST
//
package org.musicbrainz.ns.mmd_2;
import java.math.BigInteger;
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.XmlValue;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>float">
* <attribute name="votes-count" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
@XmlRootElement(name = "rating")
public class Rating {
@XmlValue
protected float value;
@XmlAttribute(name = "votes-count")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger votesCount;
/**
* Gets the value of the value property.
*
*/
public float getValue() {
return value;
}
/**
* Sets the value of the value property.
*
*/
public void setValue(float value) {
this.value = value;
}
/**
* Gets the value of the votesCount property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getVotesCount() {
return votesCount;
}
/**
* Sets the value of the votesCount property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setVotesCount(BigInteger value) {
this.votesCount = value;
}
}