Class accountModel
java.lang.Object
vn.edu.uit.csbu.software_design.software_design_backend.account.accountModel
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Account model.accountModel(String name, String password, String streamKey) Instantiates a new Account model.accountModel(String uuid, String name, String password, String streamKey) Instantiates a new Account model. -
Method Summary
Modifier and TypeMethodDescriptionGet description string.The function `getFollowerCount` returns the size of a collection named `follower` while being ignored during serialization.Get following stream id list.getId()Get id string.getName()Get name string.Get password string.Get stream key string.getTitle()Get title string.voidsetDescription(String description) Set description.voidSet id.voidSet name.voidsetPassword(String password) Set password.voidsetStreamKey(String streamKey) Set stream key.voidSet title.
-
Constructor Details
-
accountModel
public accountModel()Instantiates a new Account model. -
accountModel
-
accountModel
-
-
Method Details
-
getId
-
getName
-
getPassword
-
getStreamKey
-
getTitle
-
getDescription
-
setId
-
setName
-
setPassword
-
setStreamKey
-
setTitle
-
setDescription
Set description.- Parameters:
description- the description
-
getFollowingStreamId
-
getFollowerCount
The function `getFollowerCount` returns the size of a collection named `follower` while being ignored during serialization.- Returns:
- The `follower.size()` is being returned, which represents the number of elements in the `follower` collection.
-