public class ViewsByMonth extends Object
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 name="view-by-month" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="date">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="year" type="{http://www.w3.org/2001/XMLSchema}short"/>
<element name="month" type="{http://www.w3.org/2001/XMLSchema}integer"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="clicks" type="{http://www.w3.org/2001/XMLSchema}integer"/>
<element name="likes" type="{http://www.w3.org/2001/XMLSchema}integer"/>
<element name="comments" type="{http://www.w3.org/2001/XMLSchema}integer"/>
<element name="shares" type="{http://www.w3.org/2001/XMLSchema}integer"/>
<element name="impressions" type="{http://www.w3.org/2001/XMLSchema}integer"/>
<element name="engagement" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="total" type="{http://www.w3.org/2001/XMLSchema}integer" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
total |
protected List<ViewByMonth> |
viewByMonth |
| Constructor and Description |
|---|
ViewsByMonth() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getTotal()
Gets the value of the total property.
|
List<ViewByMonth> |
getViewByMonth()
Gets the value of the viewByMonth property.
|
void |
setTotal(Long value)
Sets the value of the total property.
|
protected List<ViewByMonth> viewByMonth
protected Long total
public List<ViewByMonth> getViewByMonth()
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 viewByMonth property.
For example, to add a new item, do as follows:
getViewByMonth().add(newItem);
Objects of the following type(s) are allowed in the list
ViewByMonth
public Long getTotal()
StringApache Camel