Record Class SiteContainerDescription
java.lang.Object
java.lang.Record
io.meeds.layout.model.SiteContainerDescription
public record SiteContainerDescription(String containerId, SiteContainerOptions options, StylingDescription styling, List<ApplicationDescription> applications, List<SiteColumnDescription> columns)
extends Record
A site container: a sidebar lists its applications, a topbar or a bottom
bar lists its columns, each holding its application.
-
Constructor Summary
ConstructorsConstructorDescriptionSiteContainerDescription(String containerId, SiteContainerOptions options, StylingDescription styling, List<ApplicationDescription> applications) A sidebar, whose applications are listed in its one cellSiteContainerDescription(String containerId, SiteContainerOptions options, StylingDescription styling, List<ApplicationDescription> applications, List<SiteColumnDescription> columns) Creates an instance of aSiteContainerDescriptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationsrecord component.columns()Returns the value of thecolumnsrecord 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.options()Returns the value of theoptionsrecord component.styling()Returns the value of thestylingrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SiteContainerDescription
public SiteContainerDescription(String containerId, SiteContainerOptions options, StylingDescription styling, List<ApplicationDescription> applications) A sidebar, whose applications are listed in its one cell -
SiteContainerDescription
public SiteContainerDescription(String containerId, SiteContainerOptions options, StylingDescription styling, List<ApplicationDescription> applications, List<SiteColumnDescription> columns) Creates an instance of aSiteContainerDescriptionrecord class.- Parameters:
containerId- the value for thecontainerIdrecord componentoptions- the value for theoptionsrecord componentstyling- the value for thestylingrecord componentapplications- the value for theapplicationsrecord componentcolumns- the value for thecolumnsrecord 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). -
containerId
Returns the value of thecontainerIdrecord component.- Returns:
- the value of the
containerIdrecord component
-
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-
styling
Returns the value of thestylingrecord component.- Returns:
- the value of the
stylingrecord component
-
applications
Returns the value of theapplicationsrecord component.- Returns:
- the value of the
applicationsrecord component
-
columns
Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-