Record Class CornersBlock
java.lang.Object
java.lang.Record
io.meeds.layout.model.CornersBlock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()Returns the value of theallrecord component.Returns the value of thebottomLeftrecord component.Returns the value of thebottomRightrecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.topLeft()Returns the value of thetopLeftrecord component.topRight()Returns the value of thetopRightrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CornersBlock
public CornersBlock(Boolean enabled, Integer all, Integer topLeft, Integer topRight, Integer bottomRight, Integer bottomLeft) Creates an instance of aCornersBlockrecord class.- Parameters:
enabled- the value for theenabledrecord componentall- the value for theallrecord componenttopLeft- the value for thetopLeftrecord componenttopRight- the value for thetopRightrecord componentbottomRight- the value for thebottomRightrecord componentbottomLeft- the value for thebottomLeftrecord 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). -
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
all
Returns the value of theallrecord component.- Returns:
- the value of the
allrecord component
-
topLeft
Returns the value of thetopLeftrecord component.- Returns:
- the value of the
topLeftrecord component
-
topRight
Returns the value of thetopRightrecord component.- Returns:
- the value of the
topRightrecord component
-
bottomRight
Returns the value of thebottomRightrecord component.- Returns:
- the value of the
bottomRightrecord component
-
bottomLeft
Returns the value of thebottomLeftrecord component.- Returns:
- the value of the
bottomLeftrecord component
-