Package dev.vality.damsel.proxy_provider
Class Shop
java.lang.Object
dev.vality.damsel.proxy_provider.Shop
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Shop>,org.apache.thrift.TBase<Shop,,Shop._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class Shop
extends Object
implements org.apache.thrift.TBase<Shop,Shop._Fields>, Serializable, Cloneable, Comparable<Shop>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<Shop._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionShop()Performs a deep copy on other.Shop(String id, Category category, ShopDetails details, ShopLocation location) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) Map<Shop._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(Shop._Fields field) getId()inthashCode()booleanisSet(Shop._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field category is set (has been assigned a value) and false otherwisebooleanReturns true if field details is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanReturns true if field location is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCategory(Category category) voidsetCategoryIsSet(boolean value) setDetails(ShopDetails details) voidsetDetailsIsSet(boolean value) voidsetFieldValue(Shop._Fields field, Object value) voidsetIdIsSet(boolean value) setLocation(ShopLocation location) voidsetLocationIsSet(boolean value) toString()voidvoidvoidunsetId()voidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
category
-
details
-
location
-
metaDataMap
-
-
Constructor Details
-
Shop
public Shop() -
Shop
-
Shop
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
getId
-
setId
-
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getCategory
-
setCategory
-
unsetCategory
public void unsetCategory() -
isSetCategory
public boolean isSetCategory()Returns true if field category is set (has been assigned a value) and false otherwise -
setCategoryIsSet
public void setCategoryIsSet(boolean value) -
getDetails
-
setDetails
-
unsetDetails
public void unsetDetails() -
isSetDetails
public boolean isSetDetails()Returns true if field details is set (has been assigned a value) and false otherwise -
setDetailsIsSet
public void setDetailsIsSet(boolean value) -
getLocation
-
setLocation
-
unsetLocation
public void unsetLocation() -
isSetLocation
public boolean isSetLocation()Returns true if field location is set (has been assigned a value) and false otherwise -
setLocationIsSet
public void setLocationIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Shop>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException - Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-