Package dev.vality.identity
Class Identity
java.lang.Object
dev.vality.identity.Identity
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Identity>,org.apache.thrift.TBase<Identity,Identity._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-01-15")
public class Identity
extends Object
implements org.apache.thrift.TBase<Identity,Identity._Fields>, Serializable, Cloneable, Comparable<Identity>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentity._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description StringidIdentificationLevellevelstatic Map<Identity._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringowner_id -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Identity other)IdentitydeepCopy()booleanequals(Identity that)booleanequals(Object that)Identity._FieldsfieldForId(int fieldId)Map<Identity._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Identity._Fields[]getFields()ObjectgetFieldValue(Identity._Fields field)StringgetId()IdentificationLevelgetLevel()StringgetOwnerId()inthashCode()booleanisSet(Identity._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetLevel()Returns true if field level is set (has been assigned a value) and false otherwisebooleanisSetOwnerId()Returns true if field owner_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(Identity._Fields field, Object value)IdentitysetId(String id)voidsetIdIsSet(boolean value)IdentitysetLevel(IdentificationLevel level)voidsetLevelIsSet(boolean value)IdentitysetOwnerId(String owner_id)voidsetOwnerIdIsSet(boolean value)StringtoString()voidunsetId()voidunsetLevel()voidunsetOwnerId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
owner_id
-
level
-
metaDataMap
-
-
Constructor Details
-
Identity
public Identity() -
Identity
-
Identity
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Identity,Identity._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Identity,Identity._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) -
getOwnerId
-
setOwnerId
-
unsetOwnerId
public void unsetOwnerId() -
isSetOwnerId
public boolean isSetOwnerId()Returns true if field owner_id is set (has been assigned a value) and false otherwise -
setOwnerIdIsSet
public void setOwnerIdIsSet(boolean value) -
getLevel
-
setLevel
-
unsetLevel
public void unsetLevel() -
isSetLevel
public boolean isSetLevel()Returns true if field level is set (has been assigned a value) and false otherwise -
setLevelIsSet
public void setLevelIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Identity,Identity._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Identity,Identity._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<Identity,Identity._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Identity>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Identity,Identity._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
-