public static class BeatApi.BeatResponse extends Object implements Serializable
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="beat" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="docid" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="mediaType" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="content" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="host" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="link" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
<element name="gender" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="location">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="country" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="locationString" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="influenceLevel" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="sentiment" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="tag" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="systemType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="tweetid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="tweetJsonLink" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
<element name="tweetHbLink" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
<element name="twitterFollowers" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="twitterFollowing" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="count" type="{http://www.w3.org/2001/XMLSchema}short"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
BeatApi.BeatResponse.Beat
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<BeatApi.BeatResponse.Beat> |
beat |
protected short |
count |
| Constructor and Description |
|---|
BeatResponse() |
| Modifier and Type | Method and Description |
|---|---|
List<BeatApi.BeatResponse.Beat> |
getBeat()
Gets the value of the beat property.
|
short |
getCount()
Gets the value of the count property.
|
void |
setCount(short value)
Sets the value of the count property.
|
protected List<BeatApi.BeatResponse.Beat> beat
protected short count
public List<BeatApi.BeatResponse.Beat> getBeat()
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 beat property.
For example, to add a new item, do as follows:
getBeat().add(newItem);
Objects of the following type(s) are allowed in the list
BeatApi.BeatResponse.Beat
public short getCount()
public void setCount(short value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.