public class ThriftAttribute extends Object implements org.apache.thrift.TBase<ThriftAttribute,ThriftAttribute._Fields>, Serializable, Cloneable, Comparable<ThriftAttribute>
| Modifier and Type | Class and Description |
|---|---|
static class |
ThriftAttribute._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
ThriftAttributeType |
attributeType |
static Map<ThriftAttribute._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
name |
| Constructor and Description |
|---|
ThriftAttribute() |
ThriftAttribute(ThriftAttribute other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(ThriftAttribute other) |
ThriftAttribute |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ThriftAttribute that) |
ThriftAttribute._Fields |
fieldForId(int fieldId) |
ThriftAttributeType |
getAttributeType() |
Object |
getFieldValue(ThriftAttribute._Fields field) |
String |
getName() |
int |
hashCode() |
boolean |
isSet(ThriftAttribute._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAttributeType()
Returns true if field attributeType 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
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ThriftAttribute |
setAttributeType(ThriftAttributeType attributeType) |
void |
setAttributeTypeIsSet(boolean value) |
void |
setFieldValue(ThriftAttribute._Fields field,
Object value) |
ThriftAttribute |
setName(String name) |
void |
setNameIsSet(boolean value) |
String |
toString() |
void |
unsetAttributeType() |
void |
unsetName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String name
public ThriftAttributeType attributeType
ThriftAttributeTypepublic static final Map<ThriftAttribute._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ThriftAttribute()
public ThriftAttribute(ThriftAttribute other)
public ThriftAttribute deepCopy()
deepCopy in interface org.apache.thrift.TBase<ThriftAttribute,ThriftAttribute._Fields>public void clear()
clear in interface org.apache.thrift.TBase<ThriftAttribute,ThriftAttribute._Fields>public String getName()
public ThriftAttribute setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public ThriftAttributeType getAttributeType()
ThriftAttributeTypepublic ThriftAttribute setAttributeType(ThriftAttributeType attributeType)
ThriftAttributeTypepublic void unsetAttributeType()
public boolean isSetAttributeType()
public void setAttributeTypeIsSet(boolean value)
public void setFieldValue(ThriftAttribute._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<ThriftAttribute,ThriftAttribute._Fields>public Object getFieldValue(ThriftAttribute._Fields field)
getFieldValue in interface org.apache.thrift.TBase<ThriftAttribute,ThriftAttribute._Fields>public boolean isSet(ThriftAttribute._Fields field)
isSet in interface org.apache.thrift.TBase<ThriftAttribute,ThriftAttribute._Fields>public boolean equals(ThriftAttribute that)
public int compareTo(ThriftAttribute other)
compareTo in interface Comparable<ThriftAttribute>public ThriftAttribute._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<ThriftAttribute,ThriftAttribute._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<ThriftAttribute,ThriftAttribute._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<ThriftAttribute,ThriftAttribute._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2017 WSO2. All rights reserved.