public class ExtensionRating extends Object
Java class for ExtensionRating complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExtensionRating"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="totalVotes" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="averageVote" type="{http://www.w3.org/2001/XMLSchema}float"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected float |
averageVote |
protected int |
totalVotes |
Constructor and Description |
---|
ExtensionRating() |
Modifier and Type | Method and Description |
---|---|
float |
getAverageVote()
Gets the value of the averageVote property.
|
int |
getTotalVotes()
Gets the value of the totalVotes property.
|
void |
setAverageVote(float value)
Sets the value of the averageVote property.
|
void |
setTotalVotes(int value)
Sets the value of the totalVotes property.
|
ExtensionRating |
withAverageVote(float value) |
ExtensionRating |
withTotalVotes(int value) |
public int getTotalVotes()
public void setTotalVotes(int value)
public float getAverageVote()
public void setAverageVote(float value)
public ExtensionRating withTotalVotes(int value)
public ExtensionRating withAverageVote(float value)
Copyright © 2004–2021 XWiki. All rights reserved.