Package io.gs2.inventory.model
Class ItemModelMaster
java.lang.Object
io.gs2.inventory.model.ItemModelMaster
- All Implemented Interfaces:
IModel,Serializable,Comparable<ItemModelMaster>
public class ItemModelMaster
extends Object
implements IModel, Serializable, Comparable<ItemModelMaster>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic ItemModelMasterfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetAllowMultipleStacks(Boolean allowMultipleStacks) voidsetCreatedAt(Long createdAt) voidsetDescription(String description) voidsetInventoryName(String inventoryName) voidsetItemModelId(String itemModelId) voidsetMetadata(String metadata) voidvoidsetRevision(Long revision) voidsetSortValue(Integer sortValue) voidsetStackingLimit(Long stackingLimit) voidsetUpdatedAt(Long updatedAt) com.fasterxml.jackson.databind.JsonNodetoJson()withAllowMultipleStacks(Boolean allowMultipleStacks) withCreatedAt(Long createdAt) withDescription(String description) withInventoryName(String inventoryName) withItemModelId(String itemModelId) withMetadata(String metadata) withRevision(Long revision) withSortValue(Integer sortValue) withStackingLimit(Long stackingLimit) withUpdatedAt(Long updatedAt)
-
Constructor Details
-
ItemModelMaster
public ItemModelMaster()
-
-
Method Details
-
getItemModelId
-
setItemModelId
-
withItemModelId
-
getInventoryName
-
setInventoryName
-
withInventoryName
-
getName
-
setName
-
withName
-
getDescription
-
setDescription
-
withDescription
-
getMetadata
-
setMetadata
-
withMetadata
-
getStackingLimit
-
setStackingLimit
-
withStackingLimit
-
getAllowMultipleStacks
-
setAllowMultipleStacks
-
withAllowMultipleStacks
-
getSortValue
-
setSortValue
-
withSortValue
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<ItemModelMaster>
-
hashCode
public int hashCode() -
equals
-