Package com.onec.ui
Record Class UiIdentityLink
java.lang.Object
java.lang.Record
com.onec.ui.UiIdentityLink
- Record Components:
javaClass- the catalog class that acts as the user directoryloginField- the catalog field (by fieldName) compared to the login
Links an authenticated account to a domain catalog record (e.g. an Employee),
by matching the principal's login against a catalog field. Lets persona UIs
personalize for "the current person" without coupling the framework to any
specific domain class.
-
Constructor Summary
ConstructorsConstructorDescriptionUiIdentityLink(Class<?> javaClass, String loginField) Creates an instance of aUiIdentityLinkrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Class<?> Returns the value of thejavaClassrecord component.Returns the value of theloginFieldrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UiIdentityLink
Creates an instance of aUiIdentityLinkrecord class.- Parameters:
javaClass- the value for thejavaClassrecord componentloginField- the value for theloginFieldrecord 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). -
javaClass
Returns the value of thejavaClassrecord component.- Returns:
- the value of the
javaClassrecord component
-
loginField
Returns the value of theloginFieldrecord component.- Returns:
- the value of the
loginFieldrecord component
-