Class CashInfo
- java.lang.Object
-
- com.github.fmjsjx.libcommon.bson.model.ObjectModel<CashInfo>
-
- com.github.fmjsjx.libcommon.example.bson.model.CashInfo
-
- All Implemented Interfaces:
com.github.fmjsjx.libcommon.bson.model.BsonModel
public class CashInfo extends com.github.fmjsjx.libcommon.bson.model.ObjectModel<CashInfo>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappendFieldUpdates(java.util.List<org.bson.conversions.Bson> updates)protected intdeletedSize()com.github.fmjsjx.libcommon.bson.model.SimpleListModel<java.lang.Integer,CashInfo>getCards()com.github.fmjsjx.libcommon.bson.model.SimpleListModel<java.lang.Integer,CashInfo>getOrderIds()com.github.fmjsjx.libcommon.bson.model.SimpleMapModel<java.lang.Integer,java.lang.Integer,CashInfo>getStages()voidload(org.bson.BsonDocument src)voidload(org.bson.Document src)Playerparent()voidreset()protected voidresetChildren()org.bson.BsonDocumenttoBson()java.util.Map<java.lang.Object,java.lang.Object>toDelete()org.bson.DocumenttoDocument()java.lang.StringtoString()java.lang.ObjecttoSubUpdate()booleanupdated()com.github.fmjsjx.libcommon.bson.DotNotationxpath()
-
-
-
Constructor Detail
-
CashInfo
public CashInfo(Player parent)
-
-
Method Detail
-
getStages
public com.github.fmjsjx.libcommon.bson.model.SimpleMapModel<java.lang.Integer,java.lang.Integer,CashInfo> getStages()
-
getCards
public com.github.fmjsjx.libcommon.bson.model.SimpleListModel<java.lang.Integer,CashInfo> getCards()
-
getOrderIds
public com.github.fmjsjx.libcommon.bson.model.SimpleListModel<java.lang.Integer,CashInfo> getOrderIds()
-
parent
public Player parent()
-
xpath
public com.github.fmjsjx.libcommon.bson.DotNotation xpath()
-
updated
public boolean updated()
- Specified by:
updatedin interfacecom.github.fmjsjx.libcommon.bson.model.BsonModel- Overrides:
updatedin classcom.github.fmjsjx.libcommon.bson.model.ObjectModel<CashInfo>
-
toBson
public org.bson.BsonDocument toBson()
-
toDocument
public org.bson.Document toDocument()
-
load
public void load(org.bson.Document src)
-
load
public void load(org.bson.BsonDocument src)
-
appendFieldUpdates
protected void appendFieldUpdates(java.util.List<org.bson.conversions.Bson> updates)
- Specified by:
appendFieldUpdatesin classcom.github.fmjsjx.libcommon.bson.model.ObjectModel<CashInfo>
-
resetChildren
protected void resetChildren()
-
toSubUpdate
public java.lang.Object toSubUpdate()
- Specified by:
toSubUpdatein classcom.github.fmjsjx.libcommon.bson.model.ObjectModel<CashInfo>
-
toDelete
public java.util.Map<java.lang.Object,java.lang.Object> toDelete()
- Specified by:
toDeletein interfacecom.github.fmjsjx.libcommon.bson.model.BsonModel
-
deletedSize
protected int deletedSize()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
reset
public void reset()
- Specified by:
resetin interfacecom.github.fmjsjx.libcommon.bson.model.BsonModel
-
-