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