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 |
getDescription()
get subscription's description
|
String |
getId()
get id
|
String |
getName()
get subscription name
|
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 |
setDescription(String _description)
set subscription's description
|
void |
setId(String strId)
set id
|
void |
setName(String strName)
set subscription name
|
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 getName()
public void setName(String strName)
strName - 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 - public void addDataItem(String strName, String strValue)
strName - strValue - public String getDescription()
public void setDescription(String _description)
description - Copyright © 2023 City of Paris. All rights reserved.