Record Class RoleAnalysisObjectDto.MarkedRelation
java.lang.Object
java.lang.Record
com.evolveum.midpoint.web.component.data.RoleAnalysisObjectDto.MarkedRelation
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RoleAnalysisObjectDto
public static record RoleAnalysisObjectDto.MarkedRelation(String userOid, String roleOid, String cssStyle, String cssClass)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMarkedRelation(String userOid, String roleOid, String cssStyle, String cssClass) Creates an instance of aMarkedRelationrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncssClass()Returns the value of thecssClassrecord component.cssStyle()Returns the value of thecssStylerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.roleOid()Returns the value of theroleOidrecord component.final StringtoString()Returns a string representation of this record class.userOid()Returns the value of theuserOidrecord component.
-
Constructor Details
-
MarkedRelation
Creates an instance of aMarkedRelationrecord class.- Parameters:
userOid- the value for theuserOidrecord componentroleOid- the value for theroleOidrecord componentcssStyle- the value for thecssStylerecord componentcssClass- the value for thecssClassrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
userOid
Returns the value of theuserOidrecord component.- Returns:
- the value of the
userOidrecord component
-
roleOid
Returns the value of theroleOidrecord component.- Returns:
- the value of the
roleOidrecord component
-
cssStyle
Returns the value of thecssStylerecord component.- Returns:
- the value of the
cssStylerecord component
-
cssClass
Returns the value of thecssClassrecord component.- Returns:
- the value of the
cssClassrecord component
-