Class Inventory

java.lang.Object
io.gs2.inventory.model.Inventory
All Implemented Interfaces:
IModel, Serializable, Comparable<Inventory>

public class Inventory extends Object implements IModel, Serializable, Comparable<Inventory>
See Also:
  • Constructor Details

    • Inventory

      public Inventory()
  • Method Details

    • getInventoryId

      public String getInventoryId()
    • setInventoryId

      public void setInventoryId(String inventoryId)
    • withInventoryId

      public Inventory withInventoryId(String inventoryId)
    • getInventoryName

      public String getInventoryName()
    • setInventoryName

      public void setInventoryName(String inventoryName)
    • withInventoryName

      public Inventory withInventoryName(String inventoryName)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • withUserId

      public Inventory withUserId(String userId)
    • getCurrentInventoryCapacityUsage

      public Integer getCurrentInventoryCapacityUsage()
    • setCurrentInventoryCapacityUsage

      public void setCurrentInventoryCapacityUsage(Integer currentInventoryCapacityUsage)
    • withCurrentInventoryCapacityUsage

      public Inventory withCurrentInventoryCapacityUsage(Integer currentInventoryCapacityUsage)
    • getCurrentInventoryMaxCapacity

      public Integer getCurrentInventoryMaxCapacity()
    • setCurrentInventoryMaxCapacity

      public void setCurrentInventoryMaxCapacity(Integer currentInventoryMaxCapacity)
    • withCurrentInventoryMaxCapacity

      public Inventory withCurrentInventoryMaxCapacity(Integer currentInventoryMaxCapacity)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public Inventory withCreatedAt(Long createdAt)
    • getUpdatedAt

      public Long getUpdatedAt()
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
    • withUpdatedAt

      public Inventory withUpdatedAt(Long updatedAt)
    • getRevision

      public Long getRevision()
    • setRevision

      public void setRevision(Long revision)
    • withRevision

      public Inventory withRevision(Long revision)
    • fromJson

      public static Inventory fromJson(com.fasterxml.jackson.databind.JsonNode data)
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
    • compareTo

      public int compareTo(Inventory o)
      Specified by:
      compareTo in interface Comparable<Inventory>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object