Package io.gs2.inventory.model
Class Inventory
java.lang.Object
io.gs2.inventory.model.Inventory
- All Implemented Interfaces:
IModel,Serializable,Comparable<Inventory>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic InventoryfromJson(com.fasterxml.jackson.databind.JsonNode data) inthashCode()voidsetCreatedAt(Long createdAt) voidsetCurrentInventoryCapacityUsage(Integer currentInventoryCapacityUsage) voidsetCurrentInventoryMaxCapacity(Integer currentInventoryMaxCapacity) voidsetInventoryId(String inventoryId) voidsetInventoryName(String inventoryName) voidsetRevision(Long revision) voidsetUpdatedAt(Long updatedAt) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withCurrentInventoryCapacityUsage(Integer currentInventoryCapacityUsage) withCurrentInventoryMaxCapacity(Integer currentInventoryMaxCapacity) withInventoryId(String inventoryId) withInventoryName(String inventoryName) withRevision(Long revision) withUpdatedAt(Long updatedAt) withUserId(String userId)
-
Constructor Details
-
Inventory
public Inventory()
-
-
Method Details
-
getInventoryId
-
setInventoryId
-
withInventoryId
-
getInventoryName
-
setInventoryName
-
withInventoryName
-
getUserId
-
setUserId
-
withUserId
-
getCurrentInventoryCapacityUsage
-
setCurrentInventoryCapacityUsage
-
withCurrentInventoryCapacityUsage
-
getCurrentInventoryMaxCapacity
-
setCurrentInventoryMaxCapacity
-
withCurrentInventoryMaxCapacity
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Inventory>
-
hashCode
public int hashCode() -
equals
-