Package joynr.infrastructure.DacTypes
Class ControlEntry
- java.lang.Object
-
- joynr.infrastructure.DacTypes.ControlEntry
-
- All Implemented Interfaces:
JoynrType,Serializable
- Direct Known Subclasses:
MasterControlEntry,OwnerControlEntry
public class ControlEntry extends Object implements Serializable, JoynrType
The Control Entry (CE) stores access permissions of users for a domain/interface combination. It is the base class forMasterControlEntryandOwnerControlEntry.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intMAJOR_VERSIONstatic intMINOR_VERSION
-
Constructor Summary
Constructors Constructor Description ControlEntry()Default ConstructorControlEntry(String uid, String domain, String interfaceName)Parameterized constructorControlEntry(ControlEntry controlEntryObj)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Check for equalityStringgetDomain()Gets DomainStringgetInterfaceName()Gets InterfaceNameStringgetUid()Gets UidinthashCode()Calculate code for hashing based on member contentsvoidsetDomain(String domain)Sets DomainvoidsetInterfaceName(String interfaceName)Sets InterfaceNamevoidsetUid(String uid)Sets UidStringtoString()Stringifies the class
-
-
-
Field Detail
-
MAJOR_VERSION
public static final int MAJOR_VERSION
- See Also:
- Constant Field Values
-
MINOR_VERSION
public static final int MINOR_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ControlEntry
public ControlEntry()
Default Constructor
-
ControlEntry
public ControlEntry(ControlEntry controlEntryObj)
Copy constructor- Parameters:
controlEntryObj- reference to the object to be copied
-
ControlEntry
public ControlEntry(String uid, String domain, String interfaceName)
Parameterized constructor- Parameters:
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.
-
-
Method Detail
-
getUid
public String getUid()
Gets Uid- Returns:
- 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).
-
setUid
public void setUid(String uid)
Sets Uid- Parameters:
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).
-
getDomain
public String getDomain()
Gets Domain- Returns:
- The domain this Control Entry (CE) applies to.
-
setDomain
public void setDomain(String domain)
Sets Domain- Parameters:
domain- The domain this Control Entry (CE) applies to.
-
getInterfaceName
public String getInterfaceName()
Gets InterfaceName- Returns:
- The interface this Control Entry (CE) applies to.
-
setInterfaceName
public void setInterfaceName(String interfaceName)
Sets InterfaceName- Parameters:
interfaceName- The interface this Control Entry (CE) applies to.
-
toString
public String toString()
Stringifies the class
-
equals
public boolean equals(Object obj)
Check for equality
-
-