Class HvlNotificationSubCountModelBuilder
java.lang.Object
tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
tr.com.havelsan.javarch.dto.model.HvlModel
tr.com.havelsan.javarch.notification.polling.cloud.client.model.builder.HvlNotificationSubCountModelBuilder
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>
,tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
public class HvlNotificationSubCountModelBuilder
extends tr.com.havelsan.javarch.dto.model.HvlModel
The type is notification sub count model builder.
- See Also:
-
Constructor Summary
ConstructorDescriptionInstantiates a new Hvl notification sub count model builder. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build hvl notification sub count model.create()
Create HvlNotificationSubCountModelBuilder.withAnnouncementCount
(long announcementCount) With announcement count hvl notification sub count model builder.withGeneralAnnouncementCount
(long generalAnnouncementCount) With general announcement count hvl notification sub count model builder.withNotificationCount
(long notificationCount) With notification count hvl notification sub count model builder.Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlModel
getId, setId
Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlSimpleModel
compareTo, equals, getCreatedBy, getDateCreated, getDateUpdated, getDeleted, getDeletedDate, getUpdatedBy, getUuid, getVersion, hashCode, setCreatedBy, setDateCreated, setDateUpdated, setDeleted, setDeletedDate, setUpdatedBy, setUuid, setVersion
-
Constructor Details
-
HvlNotificationSubCountModelBuilder
public HvlNotificationSubCountModelBuilder()Instantiates a new Hvl notification sub count model builder.
-
-
Method Details
-
create
Create HvlNotificationSubCountModelBuilder.- Returns:
- the hvl notification sub count model builder
-
withNotificationCount
With notification count hvl notification sub count model builder.- Parameters:
notificationCount
- the notification count- Returns:
- the hvl notification sub count model builder
-
withAnnouncementCount
With announcement count hvl notification sub count model builder.- Parameters:
announcementCount
- the announcement count- Returns:
- the hvl notification sub count model builder
-
withGeneralAnnouncementCount
public HvlNotificationSubCountModelBuilder withGeneralAnnouncementCount(long generalAnnouncementCount) With general announcement count hvl notification sub count model builder.- Parameters:
generalAnnouncementCount
- the general announcement count- Returns:
- the hvl notification sub count model builder
-
build
Build hvl notification sub count model.- Returns:
- the hvl notification sub count model
-