public class DomainRoleEntry extends Object implements Serializable, JoynrType
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Constructor and Description |
|---|
DomainRoleEntry()
Default Constructor
|
DomainRoleEntry(DomainRoleEntry domainRoleEntryObj)
Copy constructor
|
DomainRoleEntry(String uid,
String[] domains,
Role role)
Parameterized constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Check for equality
|
String[] |
getDomains()
Gets Domains
|
Role |
getRole()
Gets Role
|
String |
getUid()
Gets Uid
|
int |
hashCode()
Calculate code for hashing based on member contents
|
void |
setDomains(String[] domains)
Sets Domains
|
void |
setRole(Role role)
Sets Role
|
void |
setUid(String uid)
Sets Uid
|
String |
toString()
Stringifies the class
|
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public DomainRoleEntry()
public DomainRoleEntry(DomainRoleEntry domainRoleEntryObj)
domainRoleEntryObj - reference to the object to be copiedpublic DomainRoleEntry(String uid, String[] domains, Role role)
uid - The unique user ID (UID) this entry applies to.domains - A list of domains this entry applies to. A domain might also contain the wildcard character (asterisk sign) to refer to all (sub-) domains.role - The role that is assigned to the specified user for the specified domains.public String getUid()
public void setUid(String uid)
uid - The unique user ID (UID) this entry applies to.public String[] getDomains()
public void setDomains(String[] domains)
domains - A list of domains this entry applies to. A domain might also contain the wildcard character (asterisk sign) to refer to all (sub-) domains.public Role getRole()
public void setRole(Role role)
role - The role that is assigned to the specified user for the specified domains.public String toString()
public boolean equals(Object obj)
Copyright © 2021. All rights reserved.