public class OwnerAccessControlEntry extends OwnerControlEntry implements Serializable, JoynrType
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Constructor and Description |
|---|
OwnerAccessControlEntry()
Default Constructor
|
OwnerAccessControlEntry(OwnerAccessControlEntry ownerAccessControlEntryObj)
Copy constructor
|
OwnerAccessControlEntry(String uid,
String domain,
String interfaceName,
TrustLevel requiredTrustLevel,
TrustLevel requiredAceChangeTrustLevel,
String operation,
Permission consumerPermission)
Parameterized constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Check for equality
|
Permission |
getConsumerPermission()
Gets ConsumerPermission
|
String |
getOperation()
Gets Operation
|
int |
hashCode()
Calculate code for hashing based on member contents
|
void |
setConsumerPermission(Permission consumerPermission)
Sets ConsumerPermission
|
void |
setOperation(String operation)
Sets Operation
|
String |
toString()
Stringifies the class
|
getRequiredAceChangeTrustLevel, getRequiredTrustLevel, setRequiredAceChangeTrustLevel, setRequiredTrustLevelgetDomain, getInterfaceName, getUid, setDomain, setInterfaceName, setUidpublic static final int MAJOR_VERSION
public static final int MINOR_VERSION
public OwnerAccessControlEntry()
public OwnerAccessControlEntry(OwnerAccessControlEntry ownerAccessControlEntryObj)
ownerAccessControlEntryObj - reference to the object to be copiedpublic OwnerAccessControlEntry(String uid, String domain, String interfaceName, TrustLevel requiredTrustLevel, TrustLevel requiredAceChangeTrustLevel, String operation, Permission consumerPermission)
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.operation - The operation this Access Control Entry (ACE) applies to or the wildcard character (asterisk sign) if this ACE applies to all operations of the corresponding interface. ACEs that use the wildcard character are overruled by specific ones (if they exist).consumerPermission - The consumer permission that applies to the specified domain/interface/operation combination. The permission must be listed in possible consumer permissions of the corresponding Master ACE. Otherwise this constitutes a conflict.public String getOperation()
public void setOperation(String operation)
operation - The operation this Access Control Entry (ACE) applies to or the wildcard character (asterisk sign) if this ACE applies to all operations of the corresponding interface. ACEs that use the wildcard character are overruled by specific ones (if they exist).public Permission getConsumerPermission()
public void setConsumerPermission(Permission consumerPermission)
consumerPermission - The consumer permission that applies to the specified domain/interface/operation combination. The permission must be listed in possible consumer permissions of the corresponding Master ACE. Otherwise this constitutes a conflict.public String toString()
toString in class OwnerControlEntrypublic boolean equals(Object obj)
equals in class OwnerControlEntryobj - Reference to the object to compare topublic int hashCode()
hashCode in class OwnerControlEntryCopyright © 2021. All rights reserved.