Class DomainJson
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.json.BaseJson
-
- com.blackberry.workspaces.api.sdk.json.DomainJson
-
- All Implemented Interfaces:
Serializable
public class DomainJson extends BaseJson
A single domain's information- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DomainJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddress()
The domain addressInteger
getId()
The domain's idSet<String>
getRoles()
Roles associated with this domainvoid
setAddress(String address)
The domain addressvoid
setId(Integer id)
The domain's idvoid
setRoles(Set<String> roles)
Roles associated with this domain-
Methods inherited from class com.blackberry.workspaces.api.sdk.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getAddress
public String getAddress()
The domain address- Returns:
- The domain address
-
setAddress
public void setAddress(String address)
The domain address- Parameters:
address
- The domain address
-
getRoles
public Set<String> getRoles()
Roles associated with this domain- Returns:
- Roles associated with this domain
-
setRoles
public void setRoles(Set<String> roles)
Roles associated with this domain- Parameters:
roles
- Roles associated with this domain
-
getId
public Integer getId()
The domain's id- Returns:
- The domain's id
-
setId
public void setId(Integer id)
The domain's id- Parameters:
id
- The domain's id
-
-