Package africa.absa.inception.security
Class TenantUserDirectory
java.lang.Object
africa.absa.inception.security.TenantUserDirectory
- All Implemented Interfaces:
Serializable
The TenantUserDirectory class holds the information for a tenant user directory.
- Author:
- Marcus Portmann
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new TenantUserDirectory.TenantUserDirectory(UUID tenantId, UUID userDirectoryId) Constructs a new TenantUserDirectory. -
Method Summary
Modifier and TypeMethodDescriptionReturns the ID for the tenant.Returns the ID for the user directory.voidsetTenantId(UUID tenantId) Set the ID for the tenant.voidsetUserDirectoryId(UUID userDirectoryId) Set the ID for the user directory.
-
Constructor Details
-
TenantUserDirectory
public TenantUserDirectory()Constructs a new TenantUserDirectory. -
TenantUserDirectory
Constructs a new TenantUserDirectory.- Parameters:
tenantId- the ID for the tenantuserDirectoryId- the ID for the user directory
-
-
Method Details
-
getTenantId
Returns the ID for the tenant.- Returns:
- the ID for the tenant
-
getUserDirectoryId
Returns the ID for the user directory.- Returns:
- the ID for the user directory
-
setTenantId
Set the ID for the tenant.- Parameters:
tenantId- the ID for the tenant
-
setUserDirectoryId
Set the ID for the user directory.- Parameters:
userDirectoryId- the ID for the user directory
-