Package africa.absa.inception.security
Class UserDirectory
- java.lang.Object
-
- africa.absa.inception.security.UserDirectory
-
- All Implemented Interfaces:
Serializable
@Entity public class UserDirectory extends Object implements Serializable
The UserDirectory class holds the information for a user directory.- Author:
- Marcus Portmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserDirectory()Constructs a new UserDirectory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)Indicates whether some other object is "equal to" this one.StringgetConfiguration()Returns the XML configuration data for the user directory.LocalDateTimegetCreated()Returns the date and time the user directory was created.UUIDgetId()Returns the Universally Unique Identifier (UUID) for the user directory.StringgetName()Returns the name of the user directory.List<UserDirectoryParameter>getParameters()Returns the parameters for the user directory.Set<Tenant>getTenants()Returns the tenants the user directory is associated with.StringgetType()Returns the code for the user directory type.LocalDateTimegetUpdated()Returns the date and time the user directory was last updated.inthashCode()Returns a hash code value for the object.protected voidonCreate()protected voidonUpdate()voidsetConfiguration(String configuration)Set the XML configuration data for the user directory.voidsetId(UUID id)Set the Universally Unique Identifier (UUID) for the user directory.voidsetName(String name)Set the name of the user directory.voidsetParameters(List<UserDirectoryParameter> parameters)Set the parameters for the user directory.voidsetTenants(Set<Tenant> tenants)Set the tenants the user directory is associated with.voidsetType(String type)Set the code for the user directory type.
-
-
-
Method Detail
-
equals
public boolean equals(Object object)
Indicates whether some other object is "equal to" this one.
-
getConfiguration
public String getConfiguration()
Returns the XML configuration data for the user directory.- Returns:
- the XML configuration data for the user directory
-
getCreated
public LocalDateTime getCreated()
Returns the date and time the user directory was created.- Returns:
- the date and time the user directory was created
-
getId
public UUID getId()
Returns the Universally Unique Identifier (UUID) for the user directory.- Returns:
- the Universally Unique Identifier (UUID) for the user directory
-
getName
public String getName()
Returns the name of the user directory.- Returns:
- the name of the user directory
-
getParameters
public List<UserDirectoryParameter> getParameters()
Returns the parameters for the user directory.- Returns:
- the parameters for the user directory
-
getTenants
public Set<Tenant> getTenants()
Returns the tenants the user directory is associated with.- Returns:
- the tenants the user directory is associated with
-
getType
public String getType()
Returns the code for the user directory type.- Returns:
- the code for the user directory type
-
getUpdated
public LocalDateTime getUpdated()
Returns the date and time the user directory was last updated.- Returns:
- the date and time the user directory was last updated
-
hashCode
public int hashCode()
Returns a hash code value for the object.
-
setConfiguration
public void setConfiguration(String configuration) throws InvalidConfigurationException
Set the XML configuration data for the user directory.- Parameters:
configuration- the XML configuration data for the user directory- Throws:
InvalidConfigurationException- if the XML configuration data could not be set for the user directory
-
setId
public void setId(UUID id)
Set the Universally Unique Identifier (UUID) for the user directory.- Parameters:
id- the Universally Unique Identifier (UUID) for the user directory
-
setName
public void setName(String name)
Set the name of the user directory.- Parameters:
name- the name of the user directory
-
setParameters
public void setParameters(List<UserDirectoryParameter> parameters)
Set the parameters for the user directory.- Parameters:
parameters- the parameters for the user directory
-
setTenants
public void setTenants(Set<Tenant> tenants)
Set the tenants the user directory is associated with.- Parameters:
tenants- the tenants the user directory is associated with
-
setType
public void setType(String type)
Set the code for the user directory type.- Parameters:
type- the code for the user directory type
-
onCreate
protected void onCreate()
-
onUpdate
protected void onUpdate()
-
-