public class OwnerControlEntry extends ControlEntry implements Serializable, JoynrType
OwnerAccessControlEntry and OwnerRegistrationControlEntry.| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Constructor and Description |
|---|
OwnerControlEntry()
Default Constructor
|
OwnerControlEntry(OwnerControlEntry ownerControlEntryObj)
Copy constructor
|
OwnerControlEntry(String uid,
String domain,
String interfaceName,
TrustLevel requiredTrustLevel,
TrustLevel requiredAceChangeTrustLevel)
Parameterized constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Check for equality
|
TrustLevel |
getRequiredAceChangeTrustLevel()
Gets RequiredAceChangeTrustLevel
|
TrustLevel |
getRequiredTrustLevel()
Gets RequiredTrustLevel
|
int |
hashCode()
Calculate code for hashing based on member contents
|
void |
setRequiredAceChangeTrustLevel(TrustLevel requiredAceChangeTrustLevel)
Sets RequiredAceChangeTrustLevel
|
void |
setRequiredTrustLevel(TrustLevel requiredTrustLevel)
Sets RequiredTrustLevel
|
String |
toString()
Stringifies the class
|
getDomain, getInterfaceName, getUid, setDomain, setInterfaceName, setUidpublic static final int MAJOR_VERSION
public static final int MINOR_VERSION
public OwnerControlEntry()
public OwnerControlEntry(OwnerControlEntry ownerControlEntryObj)
ownerControlEntryObj - reference to the object to be copiedpublic OwnerControlEntry(String uid, String domain, String interfaceName, TrustLevel requiredTrustLevel, TrustLevel requiredAceChangeTrustLevel)
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.requiredTrustLevel - The Trust Level (TL) that is needed by the requester in order to get the permission defined in this CE. The TL must be listed in the possible required TLs of the corresponding Master CE. Otherwise this constitutes a conflict.requiredAceChangeTrustLevel - The Trust Level (TL) that is needed by the requester in order to create, edit or delete an Owner ACE. The TL must be listed in the possible required CE Change TLs of the corresponding Master CE. Otherwise this constitutes a conflict.public TrustLevel getRequiredTrustLevel()
public void setRequiredTrustLevel(TrustLevel requiredTrustLevel)
requiredTrustLevel - The Trust Level (TL) that is needed by the requester in order to get the permission defined in this CE. The TL must be listed in the possible required TLs of the corresponding Master CE. Otherwise this constitutes a conflict.public TrustLevel getRequiredAceChangeTrustLevel()
public void setRequiredAceChangeTrustLevel(TrustLevel requiredAceChangeTrustLevel)
requiredAceChangeTrustLevel - The Trust Level (TL) that is needed by the requester in order to create, edit or delete an Owner ACE. The TL must be listed in the possible required CE Change TLs of the corresponding Master CE. Otherwise this constitutes a conflict.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.