Package com.onec.ui
Record Class UiLayoutBuilder.EntityRef
java.lang.Object
java.lang.Record
com.onec.ui.UiLayoutBuilder.EntityRef
- Enclosing class:
UiLayoutBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionConvenience constructor for callers that don't provide field hints.Convenience constructor for callers that provide hints but no explicit icon.Creates an instance of aEntityRefrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldHintsrecord component.final inthashCode()Returns a hash code value for this object.icon()Returns the value of theiconrecord component.Class<?> Returns the value of thejavaClassrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
EntityRef
Creates an instance of aEntityRefrecord class.- Parameters:
type- the value for thetyperecord componentjavaClass- the value for thejavaClassrecord componentfieldHints- the value for thefieldHintsrecord componenticon- the value for theiconrecord component
-
EntityRef
Convenience constructor for callers that don't provide field hints. -
EntityRef
Convenience constructor for callers that provide hints but no explicit icon.
-
-
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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
javaClass
Returns the value of thejavaClassrecord component.- Returns:
- the value of the
javaClassrecord component
-
fieldHints
Returns the value of thefieldHintsrecord component.- Returns:
- the value of the
fieldHintsrecord component
-
icon
Returns the value of theiconrecord component.- Returns:
- the value of the
iconrecord component
-