@Entity public class Item extends BaseEntity
Constructor and Description |
---|
Item() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getAlertThreshold()
Gets alertThreshold
|
Category |
getCategory()
Gets category
|
int |
getCurrentCount()
Gets currentCount
|
String |
getDescription()
Gets description
|
long |
getEan()
Gets ean
|
String |
getName()
Gets name
|
String |
getUnit()
Gets unit
|
int |
hashCode() |
void |
setAlertThreshold(Integer alertThreshold)
Sets alertThreshold
|
void |
setCategory(Category category)
Sets category
|
void |
setCurrentCount(int currentCount)
Sets currentCount
|
void |
setDescription(String description)
Sets description
|
void |
setEan(long ean)
Sets ean
|
void |
setName(String name)
Sets name
|
void |
setUnit(String unit)
Sets unit
|
getId, setId
public String getName()
public void setName(String name)
name
- namepublic String getDescription()
public void setDescription(String description)
description
- descriptionpublic Category getCategory()
public void setCategory(Category category)
category
- categorypublic Integer getAlertThreshold()
public void setAlertThreshold(Integer alertThreshold)
alertThreshold
- alertThresholdpublic String getUnit()
public void setUnit(String unit)
unit
- unitpublic long getEan()
public void setEan(long ean)
ean
- eanpublic int getCurrentCount()
public void setCurrentCount(int currentCount)
currentCount
- currentCountCopyright © 2017 Pivotal Software, Inc.. All rights reserved.