public class CustomerEvent extends Object
Constructor and Description |
---|
CustomerEvent() |
CustomerEvent(EnumWithCustomOfEventCategory category,
Date date)
Initializes a new instance of the CustomerEvent
|
Modifier and Type | Method and Description |
---|---|
CustomerEvent |
category(EnumWithCustomOfEventCategory category) |
CustomerEvent |
date(Date date) |
boolean |
equals(Object o) |
EnumWithCustomOfEventCategory |
getCategory()
Event category.
|
Date |
getDate()
Event date.
|
int |
hashCode() |
void |
setCategory(EnumWithCustomOfEventCategory category) |
void |
setDate(Date date) |
String |
toString() |
public CustomerEvent()
public CustomerEvent(EnumWithCustomOfEventCategory category, Date date)
category
- Event category.date
- Event date.public CustomerEvent category(EnumWithCustomOfEventCategory category)
public EnumWithCustomOfEventCategory getCategory()
public void setCategory(EnumWithCustomOfEventCategory category)
public CustomerEvent date(Date date)
public Date getDate()
public void setDate(Date date)
Copyright © 2020. All rights reserved.