public class MasterControlEntry extends ControlEntry implements Serializable, JoynrType
MasterAccessControlEntry and MasterRegistrationControlEntry.| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Constructor and Description |
|---|
MasterControlEntry()
Default Constructor
|
MasterControlEntry(MasterControlEntry masterControlEntryObj)
Copy constructor
|
MasterControlEntry(String uid,
String domain,
String interfaceName,
TrustLevel defaultRequiredTrustLevel,
TrustLevel[] possibleRequiredTrustLevels,
TrustLevel defaultRequiredControlEntryChangeTrustLevel,
TrustLevel[] possibleRequiredControlEntryChangeTrustLevels)
Parameterized constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Check for equality
|
TrustLevel |
getDefaultRequiredControlEntryChangeTrustLevel()
Gets DefaultRequiredControlEntryChangeTrustLevel
|
TrustLevel |
getDefaultRequiredTrustLevel()
Gets DefaultRequiredTrustLevel
|
TrustLevel[] |
getPossibleRequiredControlEntryChangeTrustLevels()
Gets PossibleRequiredControlEntryChangeTrustLevels
|
TrustLevel[] |
getPossibleRequiredTrustLevels()
Gets PossibleRequiredTrustLevels
|
int |
hashCode()
Calculate code for hashing based on member contents
|
void |
setDefaultRequiredControlEntryChangeTrustLevel(TrustLevel defaultRequiredControlEntryChangeTrustLevel)
Sets DefaultRequiredControlEntryChangeTrustLevel
|
void |
setDefaultRequiredTrustLevel(TrustLevel defaultRequiredTrustLevel)
Sets DefaultRequiredTrustLevel
|
void |
setPossibleRequiredControlEntryChangeTrustLevels(TrustLevel[] possibleRequiredControlEntryChangeTrustLevels)
Sets PossibleRequiredControlEntryChangeTrustLevels
|
void |
setPossibleRequiredTrustLevels(TrustLevel[] possibleRequiredTrustLevels)
Sets PossibleRequiredTrustLevels
|
String |
toString()
Stringifies the class
|
getDomain, getInterfaceName, getUid, setDomain, setInterfaceName, setUidpublic static final int MAJOR_VERSION
public static final int MINOR_VERSION
public MasterControlEntry()
public MasterControlEntry(MasterControlEntry masterControlEntryObj)
masterControlEntryObj - reference to the object to be copiedpublic MasterControlEntry(String uid, String domain, String interfaceName, TrustLevel defaultRequiredTrustLevel, TrustLevel[] possibleRequiredTrustLevels, TrustLevel defaultRequiredControlEntryChangeTrustLevel, TrustLevel[] possibleRequiredControlEntryChangeTrustLevels)
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.public TrustLevel getDefaultRequiredTrustLevel()
public void setDefaultRequiredTrustLevel(TrustLevel defaultRequiredTrustLevel)
defaultRequiredTrustLevel - The default required trusted level (TL). TL depends on used device and Authentication mechanism.public TrustLevel[] getPossibleRequiredTrustLevels()
public void setPossibleRequiredTrustLevels(TrustLevel[] possibleRequiredTrustLevels)
possibleRequiredTrustLevels - A list of all possible Trust Levels that may be used in an owner CE to overwrite the default required TL.public TrustLevel getDefaultRequiredControlEntryChangeTrustLevel()
public void setDefaultRequiredControlEntryChangeTrustLevel(TrustLevel defaultRequiredControlEntryChangeTrustLevel)
defaultRequiredControlEntryChangeTrustLevel - The default Trust Level (TL) that is needed by the requester in order to create, edit or delete a corresponding owner CE.public TrustLevel[] getPossibleRequiredControlEntryChangeTrustLevels()
public void setPossibleRequiredControlEntryChangeTrustLevels(TrustLevel[] possibleRequiredControlEntryChangeTrustLevels)
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.public String toString()
toString in class ControlEntrypublic boolean equals(Object obj)
equals in class ControlEntryobj - Reference to the object to compare topublic int hashCode()
hashCode in class ControlEntryCopyright © 2021. All rights reserved.