@Generated(value="Autogenerated by Thrift Compiler (0.9.2)", date="2015-2-3") public class IntDTO extends Object implements org.apache.thrift.TBase<IntDTO,IntDTO._Fields>, Serializable, Cloneable, Comparable<IntDTO>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
IntDTO._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| 限定符和类型 | 字段和说明 |
|---|---|
String |
code |
int |
id |
static Map<IntDTO._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
success |
| 构造器和说明 |
|---|
IntDTO() |
IntDTO(IntDTO other)
Performs a deep copy on other.
|
IntDTO(int id,
String code,
boolean success) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
int |
compareTo(IntDTO other) |
IntDTO |
deepCopy() |
boolean |
equals(IntDTO that) |
boolean |
equals(Object that) |
IntDTO._Fields |
fieldForId(int fieldId) |
String |
getCode() |
Object |
getFieldValue(IntDTO._Fields field) |
int |
getId() |
int |
hashCode() |
boolean |
isSet(IntDTO._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCode()
Returns true if field code 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 |
isSetSuccess()
Returns true if field success is set (has been assigned a value) and false otherwise
|
boolean |
isSuccess() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
IntDTO |
setCode(String code) |
void |
setCodeIsSet(boolean value) |
void |
setFieldValue(IntDTO._Fields field,
Object value) |
IntDTO |
setId(int id) |
void |
setIdIsSet(boolean value) |
IntDTO |
setSuccess(boolean success) |
void |
setSuccessIsSet(boolean value) |
String |
toString() |
void |
unsetCode() |
void |
unsetId() |
void |
unsetSuccess() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int id
public String code
public boolean success
public static final Map<IntDTO._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public IntDTO()
public IntDTO(int id,
String code,
boolean success)
public IntDTO(IntDTO other)
public IntDTO deepCopy()
deepCopy 在接口中 org.apache.thrift.TBase<IntDTO,IntDTO._Fields>public void clear()
clear 在接口中 org.apache.thrift.TBase<IntDTO,IntDTO._Fields>public int getId()
public IntDTO setId(int id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getCode()
public void unsetCode()
public boolean isSetCode()
public void setCodeIsSet(boolean value)
public boolean isSuccess()
public IntDTO setSuccess(boolean success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public void setFieldValue(IntDTO._Fields field, Object value)
setFieldValue 在接口中 org.apache.thrift.TBase<IntDTO,IntDTO._Fields>public Object getFieldValue(IntDTO._Fields field)
getFieldValue 在接口中 org.apache.thrift.TBase<IntDTO,IntDTO._Fields>public boolean isSet(IntDTO._Fields field)
isSet 在接口中 org.apache.thrift.TBase<IntDTO,IntDTO._Fields>public boolean equals(IntDTO that)
public int compareTo(IntDTO other)
compareTo 在接口中 Comparable<IntDTO>public IntDTO._Fields fieldForId(int fieldId)
fieldForId 在接口中 org.apache.thrift.TBase<IntDTO,IntDTO._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read 在接口中 org.apache.thrift.TBase<IntDTO,IntDTO._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write 在接口中 org.apache.thrift.TBase<IntDTO,IntDTO._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2018. All rights reserved.