@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class DataThrift extends Object implements TBase<DataThrift,DataThrift._Fields>, Serializable, Cloneable, Comparable<DataThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
DataThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
String |
id
Exchange specific ID for the data provider.
|
static Map<DataThrift._Fields,FieldMetaData> |
metaDataMap |
String |
name
Data provider name.
|
List<SegmentThrift> |
segment
Array of segment objects.
|
| Constructor and Description |
|---|
DataThrift() |
DataThrift(DataThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToSegment(SegmentThrift elem) |
void |
clear() |
int |
compareTo(DataThrift other) |
DataThrift |
deepCopy() |
boolean |
equals(DataThrift that) |
boolean |
equals(Object that) |
DataThrift._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(DataThrift._Fields field) |
String |
getId()
Exchange specific ID for the data provider.
|
String |
getName()
Data provider name.
|
List<SegmentThrift> |
getSegment()
Array of segment objects.
|
Iterator<SegmentThrift> |
getSegmentIterator() |
int |
getSegmentSize() |
int |
hashCode() |
boolean |
isSet(DataThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise
|
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
isSetSegment()
Returns true if field segment is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
void |
setFieldValue(DataThrift._Fields field,
Object value) |
DataThrift |
setId(String id)
Exchange specific ID for the data provider.
|
void |
setIdIsSet(boolean value) |
DataThrift |
setName(String name)
Data provider name.
|
void |
setNameIsSet(boolean value) |
DataThrift |
setSegment(List<SegmentThrift> segment)
Array of segment objects.
|
void |
setSegmentIsSet(boolean value) |
String |
toString() |
void |
unsetId() |
void |
unsetName() |
void |
unsetSegment() |
void |
validate() |
void |
write(TProtocol oprot) |
public String id
public String name
public List<SegmentThrift> segment
public static final Map<DataThrift._Fields,FieldMetaData> metaDataMap
public DataThrift()
public DataThrift(DataThrift other)
public DataThrift deepCopy()
deepCopy in interface TBase<DataThrift,DataThrift._Fields>public void clear()
clear in interface TBase<DataThrift,DataThrift._Fields>public String getId()
public DataThrift setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getName()
public DataThrift setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public int getSegmentSize()
public Iterator<SegmentThrift> getSegmentIterator()
public void addToSegment(SegmentThrift elem)
public List<SegmentThrift> getSegment()
public DataThrift setSegment(List<SegmentThrift> segment)
public void unsetSegment()
public boolean isSetSegment()
public void setSegmentIsSet(boolean value)
public void setFieldValue(DataThrift._Fields field, Object value)
setFieldValue in interface TBase<DataThrift,DataThrift._Fields>public Object getFieldValue(DataThrift._Fields field)
getFieldValue in interface TBase<DataThrift,DataThrift._Fields>public boolean isSet(DataThrift._Fields field)
isSet in interface TBase<DataThrift,DataThrift._Fields>public boolean equals(DataThrift that)
public int compareTo(DataThrift other)
compareTo in interface Comparable<DataThrift>public DataThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<DataThrift,DataThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<DataThrift,DataThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<DataThrift,DataThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.