Package dev.vality.damsel.accounter
Class PostingPlan
java.lang.Object
dev.vality.damsel.accounter.PostingPlan
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PostingPlan>,org.apache.thrift.TBase<PostingPlan,,PostingPlan._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class PostingPlan
extends Object
implements org.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>, Serializable, Cloneable, Comparable<PostingPlan>
* План проводок, состоит из набора батчей, который можно пополнить, подтвердить или отменить:
* id - идентификатор плана, уникален в рамках системы
* batch_list - набор батчей, связанный с данныс планом
- 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<PostingPlan._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPostingPlan(PostingPlan other) Performs a deep copy on other.PostingPlan(String id, List<PostingBatch> batch_list) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToBatchList(PostingBatch elem) voidclear()intcompareTo(PostingPlan other) deepCopy()booleanequals(PostingPlan that) booleanfieldForId(int fieldId) intMap<PostingPlan._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(PostingPlan._Fields field) getId()inthashCode()booleanisSet(PostingPlan._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field batch_list is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setBatchList(List<PostingBatch> batch_list) voidsetBatchListIsSet(boolean value) voidsetFieldValue(PostingPlan._Fields field, Object value) voidsetIdIsSet(boolean value) toString()voidvoidunsetId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
batch_list
-
metaDataMap
-
-
Constructor Details
-
PostingPlan
public PostingPlan() -
PostingPlan
-
PostingPlan
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._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) -
getBatchListSize
public int getBatchListSize() -
getBatchListIterator
-
addToBatchList
-
getBatchList
-
setBatchList
-
unsetBatchList
public void unsetBatchList() -
isSetBatchList
public boolean isSetBatchList()Returns true if field batch_list is set (has been assigned a value) and false otherwise -
setBatchListIsSet
public void setBatchListIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._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<PostingPlan,PostingPlan._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PostingPlan>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<PostingPlan,PostingPlan._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
-