Class SimpleInventory

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

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

    • SimpleInventory

      public SimpleInventory()
  • Method Details

    • getInventoryId

      public String getInventoryId()
    • setInventoryId

      public void setInventoryId(String inventoryId)
    • withInventoryId

      public SimpleInventory withInventoryId(String inventoryId)
    • getInventoryName

      public String getInventoryName()
    • setInventoryName

      public void setInventoryName(String inventoryName)
    • withInventoryName

      public SimpleInventory withInventoryName(String inventoryName)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • withUserId

      public SimpleInventory withUserId(String userId)
    • getSimpleItems

      public List<SimpleItem> getSimpleItems()
    • setSimpleItems

      public void setSimpleItems(List<SimpleItem> simpleItems)
    • withSimpleItems

      public SimpleInventory withSimpleItems(List<SimpleItem> simpleItems)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public SimpleInventory withCreatedAt(Long createdAt)
    • getUpdatedAt

      public Long getUpdatedAt()
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
    • withUpdatedAt

      public SimpleInventory withUpdatedAt(Long updatedAt)
    • getRevision

      public Long getRevision()
    • setRevision

      public void setRevision(Long revision)
    • withRevision

      public SimpleInventory withRevision(Long revision)
    • fromJson

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

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

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

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

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