Class ModificationUnit
java.lang.Object
dev.vality.damsel.claim_management.ModificationUnit
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ModificationUnit>,org.apache.thrift.TBase<ModificationUnit,ModificationUnit._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class ModificationUnit
extends Object
implements org.apache.thrift.TBase<ModificationUnit,ModificationUnit._Fields>, Serializable, Cloneable, Comparable<ModificationUnit>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModificationUnit._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Stringchanged_atStringcreated_atstatic Map<ModificationUnit._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapModificationmodificationlongmodification_idStringremoved_atUserInfouser_info -
Constructor Summary
Constructors Constructor Description ModificationUnit()ModificationUnit(long modification_id, String created_at, Modification modification, UserInfo user_info)ModificationUnit(ModificationUnit other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ModificationUnit other)ModificationUnitdeepCopy()booleanequals(ModificationUnit that)booleanequals(Object that)ModificationUnit._FieldsfieldForId(int fieldId)StringgetChangedAt()StringgetCreatedAt()Map<ModificationUnit._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ModificationUnit._Fields[]getFields()ObjectgetFieldValue(ModificationUnit._Fields field)ModificationgetModification()longgetModificationId()StringgetRemovedAt()UserInfogetUserInfo()inthashCode()booleanisSet(ModificationUnit._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetChangedAt()Returns true if field changed_at is set (has been assigned a value) and false otherwisebooleanisSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwisebooleanisSetModification()Returns true if field modification is set (has been assigned a value) and false otherwisebooleanisSetModificationId()Returns true if field modification_id is set (has been assigned a value) and false otherwisebooleanisSetRemovedAt()Returns true if field removed_at is set (has been assigned a value) and false otherwisebooleanisSetUserInfo()Returns true if field user_info is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ModificationUnitsetChangedAt(String changed_at)voidsetChangedAtIsSet(boolean value)ModificationUnitsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)voidsetFieldValue(ModificationUnit._Fields field, Object value)ModificationUnitsetModification(Modification modification)ModificationUnitsetModificationId(long modification_id)voidsetModificationIdIsSet(boolean value)voidsetModificationIsSet(boolean value)ModificationUnitsetRemovedAt(String removed_at)voidsetRemovedAtIsSet(boolean value)ModificationUnitsetUserInfo(UserInfo user_info)voidsetUserInfoIsSet(boolean value)StringtoString()voidunsetChangedAt()voidunsetCreatedAt()voidunsetModification()voidunsetModificationId()voidunsetRemovedAt()voidunsetUserInfo()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
modification_id
public long modification_id -
created_at
-
modification
-
user_info
-
changed_at
-
removed_at
-
metaDataMap
public static final Map<ModificationUnit._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ModificationUnit
public ModificationUnit() -
ModificationUnit
public ModificationUnit(long modification_id, String created_at, Modification modification, UserInfo user_info) -
ModificationUnit
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ModificationUnit,ModificationUnit._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ModificationUnit,ModificationUnit._Fields>
-
getModificationId
public long getModificationId() -
setModificationId
-
unsetModificationId
public void unsetModificationId() -
isSetModificationId
public boolean isSetModificationId()Returns true if field modification_id is set (has been assigned a value) and false otherwise -
setModificationIdIsSet
public void setModificationIdIsSet(boolean value) -
getCreatedAt
-
setCreatedAt
-
unsetCreatedAt
public void unsetCreatedAt() -
isSetCreatedAt
public boolean isSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwise -
setCreatedAtIsSet
public void setCreatedAtIsSet(boolean value) -
getModification
-
setModification
-
unsetModification
public void unsetModification() -
isSetModification
public boolean isSetModification()Returns true if field modification is set (has been assigned a value) and false otherwise -
setModificationIsSet
public void setModificationIsSet(boolean value) -
getUserInfo
-
setUserInfo
-
unsetUserInfo
public void unsetUserInfo() -
isSetUserInfo
public boolean isSetUserInfo()Returns true if field user_info is set (has been assigned a value) and false otherwise -
setUserInfoIsSet
public void setUserInfoIsSet(boolean value) -
getChangedAt
-
setChangedAt
-
unsetChangedAt
public void unsetChangedAt() -
isSetChangedAt
public boolean isSetChangedAt()Returns true if field changed_at is set (has been assigned a value) and false otherwise -
setChangedAtIsSet
public void setChangedAtIsSet(boolean value) -
getRemovedAt
-
setRemovedAt
-
unsetRemovedAt
public void unsetRemovedAt() -
isSetRemovedAt
public boolean isSetRemovedAt()Returns true if field removed_at is set (has been assigned a value) and false otherwise -
setRemovedAtIsSet
public void setRemovedAtIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ModificationUnit,ModificationUnit._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ModificationUnit,ModificationUnit._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<ModificationUnit,ModificationUnit._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ModificationUnit>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ModificationUnit,ModificationUnit._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ModificationUnit,ModificationUnit._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ModificationUnit,ModificationUnit._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
-