public class AlertEntity extends Entity
Entity.Builder<T extends Entity,B extends Entity.Builder<T,B>>
Constructor and Description |
---|
AlertEntity()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getGroupId()
Returns the group id of the entity.
|
String |
getProduct()
Returns the product of the entity.
|
String |
getType()
Returns the entity type.
|
void |
setGroupId(long groupId)
Sets the group id of the entity.
|
void |
setProduct(Product product)
Sets the product of the entity.
|
void |
setProduct(String product)
Sets the product of the entity.
|
void |
setType(String type)
Sets the entity type.
|
String |
toString()
Returns a string representation of the object.
|
getName, setName
getId, setId
public void setType(String type)
public String getType()
public void setProduct(String product)
product
- The product of the entitypublic void setProduct(Product product)
product
- The product of the entitypublic String getProduct()
public void setGroupId(long groupId)
groupId
- The group id of the entitypublic long getGroupId()
Copyright © 2018. All rights reserved.