Package dev.vality.damsel.dominant.cache
Class Country
java.lang.Object
dev.vality.damsel.dominant.cache.Country
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Country>,org.apache.thrift.TBase<Country,Country._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-03-23")
public class Country
extends Object
implements org.apache.thrift.TBase<Country,Country._Fields>, Serializable, Cloneable, Comparable<Country>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCountry._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description static Map<Country._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameStringrefSet<String>trade_blocs -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidaddToTradeBlocs(String elem)voidclear()intcompareTo(Country other)CountrydeepCopy()booleanequals(Country that)booleanequals(Object that)Country._FieldsfieldForId(int fieldId)Map<Country._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Country._Fields[]getFields()ObjectgetFieldValue(Country._Fields field)StringgetName()StringgetRef()Set<String>getTradeBlocs()Iterator<String>getTradeBlocsIterator()intgetTradeBlocsSize()inthashCode()booleanisSet(Country._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisebooleanisSetRef()Returns true if field ref is set (has been assigned a value) and false otherwisebooleanisSetTradeBlocs()Returns true if field trade_blocs is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(Country._Fields field, Object value)CountrysetName(String name)voidsetNameIsSet(boolean value)CountrysetRef(String ref)voidsetRefIsSet(boolean value)CountrysetTradeBlocs(Set<String> trade_blocs)voidsetTradeBlocsIsSet(boolean value)StringtoString()voidunsetName()voidunsetRef()voidunsetTradeBlocs()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
ref
-
name
-
trade_blocs
-
metaDataMap
-
-
Constructor Details
-
Country
public Country() -
Country
-
Country
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Country,Country._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Country,Country._Fields>
-
getRef
-
setRef
-
unsetRef
public void unsetRef() -
isSetRef
public boolean isSetRef()Returns true if field ref is set (has been assigned a value) and false otherwise -
setRefIsSet
public void setRefIsSet(boolean value) -
getName
-
setName
-
unsetName
public void unsetName() -
isSetName
public boolean isSetName()Returns true if field name is set (has been assigned a value) and false otherwise -
setNameIsSet
public void setNameIsSet(boolean value) -
getTradeBlocsSize
public int getTradeBlocsSize() -
getTradeBlocsIterator
-
addToTradeBlocs
-
getTradeBlocs
-
setTradeBlocs
-
unsetTradeBlocs
public void unsetTradeBlocs() -
isSetTradeBlocs
public boolean isSetTradeBlocs()Returns true if field trade_blocs is set (has been assigned a value) and false otherwise -
setTradeBlocsIsSet
public void setTradeBlocsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Country,Country._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Country,Country._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<Country,Country._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Country>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Country,Country._Fields>
-
getFields
-
getFieldMetaData
-
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
-