Record Class ApplicationPosition
java.lang.Object
java.lang.Record
io.meeds.layout.model.ApplicationPosition
public record ApplicationPosition(String sectionId, String containerId, Integer column, Integer row, Integer index, String before, String after)
extends Record
Where move_layout_application puts an application, as the read numbers
it, every number counting from 1: in a dynamic section, the section, its
column and, at most one of them, the index among the column's applications
or the application it goes before or after, the end of the column
otherwise; in a grid section, the section and the row and column of the
cell; in a site container, the container and, at most one of them, the
index, before or after, the end of the container otherwise
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafter()Returns the value of theafterrecord component.before()Returns the value of thebeforerecord component.column()Returns the value of thecolumnrecord component.Returns the value of thecontainerIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.index()Returns the value of theindexrecord component.row()Returns the value of therowrecord component.Returns the value of thesectionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ApplicationPosition
public ApplicationPosition(String sectionId, String containerId, Integer column, Integer row, Integer index, String before, String after) Creates an instance of aApplicationPositionrecord class.- Parameters:
sectionId- the value for thesectionIdrecord componentcontainerId- the value for thecontainerIdrecord componentcolumn- the value for thecolumnrecord componentrow- the value for therowrecord componentindex- the value for theindexrecord componentbefore- the value for thebeforerecord componentafter- the value for theafterrecord 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). -
sectionId
Returns the value of thesectionIdrecord component.- Returns:
- the value of the
sectionIdrecord component
-
containerId
Returns the value of thecontainerIdrecord component.- Returns:
- the value of the
containerIdrecord component
-
column
Returns the value of thecolumnrecord component.- Returns:
- the value of the
columnrecord component
-
row
Returns the value of therowrecord component.- Returns:
- the value of the
rowrecord component
-
index
Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-
before
Returns the value of thebeforerecord component.- Returns:
- the value of the
beforerecord component
-
after
Returns the value of theafterrecord component.- Returns:
- the value of the
afterrecord component
-