public class ItemModel extends Object implements IModel, Serializable, Comparable<ItemModel>
| Constructor and Description |
|---|
ItemModel() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ItemModel o) |
boolean |
equals(Object o) |
static ItemModel |
fromJson(com.fasterxml.jackson.databind.JsonNode data) |
Boolean |
getAllowMultipleStacks() |
String |
getItemModelId() |
String |
getMetadata() |
String |
getName() |
Integer |
getSortValue() |
Long |
getStackingLimit() |
int |
hashCode() |
void |
setAllowMultipleStacks(Boolean allowMultipleStacks) |
void |
setItemModelId(String itemModelId) |
void |
setMetadata(String metadata) |
void |
setName(String name) |
void |
setSortValue(Integer sortValue) |
void |
setStackingLimit(Long stackingLimit) |
com.fasterxml.jackson.databind.JsonNode |
toJson() |
ItemModel |
withAllowMultipleStacks(Boolean allowMultipleStacks) |
ItemModel |
withItemModelId(String itemModelId) |
ItemModel |
withMetadata(String metadata) |
ItemModel |
withName(String name) |
ItemModel |
withSortValue(Integer sortValue) |
ItemModel |
withStackingLimit(Long stackingLimit) |
public String getItemModelId()
public void setItemModelId(String itemModelId)
public String getName()
public void setName(String name)
public String getMetadata()
public void setMetadata(String metadata)
public Long getStackingLimit()
public void setStackingLimit(Long stackingLimit)
public Boolean getAllowMultipleStacks()
public void setAllowMultipleStacks(Boolean allowMultipleStacks)
public Integer getSortValue()
public void setSortValue(Integer sortValue)
public static ItemModel fromJson(com.fasterxml.jackson.databind.JsonNode data)
public com.fasterxml.jackson.databind.JsonNode toJson()
public int compareTo(ItemModel o)
compareTo in interface Comparable<ItemModel>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.