public class Subscription extends Object
Constructor and Description |
---|
Subscription() |
Modifier and Type | Method and Description |
---|---|
void |
addDataItem(String strName,
String strValue)
add a data
|
Map<String,String> |
getData()
returns specific additionnal data
|
String |
getId()
get id
|
String |
getType()
get type
|
String |
getUserId()
get user id
|
String |
getUserName()
get user name
|
boolean |
isActive()
test if active
|
void |
setActive(boolean isActive)
set active state
|
void |
setData(Map<String,String> data)
set specific datas for the subscription
|
void |
setId(String strId)
set id
|
void |
setType(String type)
set type
|
void |
setUserId(String userId)
set user id
|
void |
setUserName(String userName)
set user name
|
public String getId()
public void setId(String strId)
strId
- public String getUserId()
public void setUserId(String userId)
userId
- public String getUserName()
public void setUserName(String userName)
userName
- public String getType()
public void setType(String type)
type
- public boolean isActive()
public void setActive(boolean isActive)
isActive
- public void setData(Map<String,String> data)
data
- Copyright © 2020 City of Paris. All rights reserved.