Class CashInfo

  • All Implemented Interfaces:
    com.github.fmjsjx.libcommon.bson.model.BsonModel

    public class CashInfo
    extends com.github.fmjsjx.libcommon.bson.model.ObjectModel<CashInfo>
    • Field Summary

      • Fields inherited from class com.github.fmjsjx.libcommon.bson.model.ObjectModel

        FULL, updatedFields
    • Constructor Summary

      Constructors 
      Constructor Description
      CashInfo​(Player parent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void appendFieldUpdates​(java.util.List<org.bson.conversions.Bson> updates)  
      protected int deletedSize()  
      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()  
      void load​(org.bson.BsonDocument src)  
      void load​(org.bson.Document src)  
      Player parent()  
      void reset()  
      protected void resetChildren()  
      org.bson.BsonDocument toBson()  
      java.util.Map<java.lang.Object,​java.lang.Object> toDelete()  
      org.bson.Document toDocument()  
      java.lang.String toString()  
      java.lang.Object toSubUpdate()  
      boolean updated()  
      com.github.fmjsjx.libcommon.bson.DotNotation xpath()  
      • Methods inherited from class com.github.fmjsjx.libcommon.bson.model.ObjectModel

        appendFullyUpdate, appendUpdates, fullyUpdate, fullyUpdate, resetStates, toUpdate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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:
        updated in interface com.github.fmjsjx.libcommon.bson.model.BsonModel
        Overrides:
        updated in class com.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:
        appendFieldUpdates in class com.github.fmjsjx.libcommon.bson.model.ObjectModel<CashInfo>
      • resetChildren

        protected void resetChildren()
      • toSubUpdate

        public java.lang.Object toSubUpdate()
        Specified by:
        toSubUpdate in class com.github.fmjsjx.libcommon.bson.model.ObjectModel<CashInfo>
      • toDelete

        public java.util.Map<java.lang.Object,​java.lang.Object> toDelete()
        Specified by:
        toDelete in interface com.github.fmjsjx.libcommon.bson.model.BsonModel
      • deletedSize

        protected int deletedSize()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • reset

        public void reset()
        Specified by:
        reset in interface com.github.fmjsjx.libcommon.bson.model.BsonModel