public class MasterRegistrationControlEntry extends MasterControlEntry implements Serializable, JoynrType
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Constructor and Description |
|---|
MasterRegistrationControlEntry()
Default Constructor
|
MasterRegistrationControlEntry(MasterRegistrationControlEntry masterRegistrationControlEntryObj)
Copy constructor
|
MasterRegistrationControlEntry(String uid,
String domain,
String interfaceName,
TrustLevel defaultRequiredTrustLevel,
TrustLevel[] possibleRequiredTrustLevels,
TrustLevel defaultRequiredControlEntryChangeTrustLevel,
TrustLevel[] possibleRequiredControlEntryChangeTrustLevels,
Permission defaultProviderPermission,
Permission[] possibleProviderPermissions)
Parameterized constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Check for equality
|
Permission |
getDefaultProviderPermission()
Gets DefaultProviderPermission
|
Permission[] |
getPossibleProviderPermissions()
Gets PossibleProviderPermissions
|
int |
hashCode()
Calculate code for hashing based on member contents
|
void |
setDefaultProviderPermission(Permission defaultProviderPermission)
Sets DefaultProviderPermission
|
void |
setPossibleProviderPermissions(Permission[] possibleProviderPermissions)
Sets PossibleProviderPermissions
|
String |
toString()
Stringifies the class
|
getDefaultRequiredControlEntryChangeTrustLevel, getDefaultRequiredTrustLevel, getPossibleRequiredControlEntryChangeTrustLevels, getPossibleRequiredTrustLevels, setDefaultRequiredControlEntryChangeTrustLevel, setDefaultRequiredTrustLevel, setPossibleRequiredControlEntryChangeTrustLevels, setPossibleRequiredTrustLevelsgetDomain, getInterfaceName, getUid, setDomain, setInterfaceName, setUidpublic static final int MAJOR_VERSION
public static final int MINOR_VERSION
public MasterRegistrationControlEntry()
public MasterRegistrationControlEntry(MasterRegistrationControlEntry masterRegistrationControlEntryObj)
masterRegistrationControlEntryObj - reference to the object to be copiedpublic MasterRegistrationControlEntry(String uid, String domain, String interfaceName, TrustLevel defaultRequiredTrustLevel, TrustLevel[] possibleRequiredTrustLevels, TrustLevel defaultRequiredControlEntryChangeTrustLevel, TrustLevel[] possibleRequiredControlEntryChangeTrustLevels, Permission defaultProviderPermission, Permission[] possibleProviderPermissions)
uid - A unique user ID (UID) this Control Entry (CE) applies to or the wildcard character (asterisk sign) if this CE applies to all users. CEs that use the wildcard character are overruled by specific ones (if they exist).domain - The domain this Control Entry (CE) applies to.interfaceName - The interface this Control Entry (CE) applies to.defaultRequiredTrustLevel - The default required trusted level (TL). TL depends on used device and Authentication mechanism.possibleRequiredTrustLevels - A list of all possible Trust Levels that may be used in an owner CE to overwrite the default required TL.defaultRequiredControlEntryChangeTrustLevel - The default Trust Level (TL) that is needed by the requester in order to create, edit or delete a corresponding owner CE.possibleRequiredControlEntryChangeTrustLevels - A list of all possible Trust Levels (TLs) that may be used in an owner CE to override the default required CE change TL.defaultProviderPermission - The default provider permission that applies to the specified domain and interface combination if there does not exist a corresponding RCE in the Owner Registration Control List (Owner RCL).possibleProviderPermissions - A list of all possible provider permissions that may be used in an owner RCE to overwrite the default provider permission.public Permission getDefaultProviderPermission()
public void setDefaultProviderPermission(Permission defaultProviderPermission)
defaultProviderPermission - The default provider permission that applies to the specified domain and interface combination if there does not exist a corresponding RCE in the Owner Registration Control List (Owner RCL).public Permission[] getPossibleProviderPermissions()
public void setPossibleProviderPermissions(Permission[] possibleProviderPermissions)
possibleProviderPermissions - A list of all possible provider permissions that may be used in an owner RCE to overwrite the default provider permission.public String toString()
toString in class MasterControlEntrypublic boolean equals(Object obj)
equals in class MasterControlEntryobj - Reference to the object to compare topublic int hashCode()
hashCode in class MasterControlEntryCopyright © 2021. All rights reserved.