Record Class DataSourcePermissionDto
java.lang.Object
java.lang.Record
com.suncode.pwfl.datasource.DataSourcePermissionDto
-
Constructor Summary
ConstructorsConstructorDescriptionDataSourcePermissionDto(Long id, String dataSourceId, String userName, String groupName, DataSourcePermissionType permissionType) Creates an instance of aDataSourcePermissionDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataSourceIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegroupNamerecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of thepermissionTyperecord component.final StringtoString()Returns a string representation of this record class.userName()Returns the value of theuserNamerecord component.
-
Constructor Details
-
DataSourcePermissionDto
public DataSourcePermissionDto(Long id, String dataSourceId, String userName, String groupName, DataSourcePermissionType permissionType) Creates an instance of aDataSourcePermissionDtorecord class.- Parameters:
id- the value for theidrecord componentdataSourceId- the value for thedataSourceIdrecord componentuserName- the value for theuserNamerecord componentgroupName- the value for thegroupNamerecord componentpermissionType- the value for thepermissionTyperecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
dataSourceId
Returns the value of thedataSourceIdrecord component.- Returns:
- the value of the
dataSourceIdrecord component
-
userName
Returns the value of theuserNamerecord component.- Returns:
- the value of the
userNamerecord component
-
groupName
Returns the value of thegroupNamerecord component.- Returns:
- the value of the
groupNamerecord component
-
permissionType
Returns the value of thepermissionTyperecord component.- Returns:
- the value of the
permissionTyperecord component
-