Record Class DemoMetaData
java.lang.Object
java.lang.Record
ai.timefold.solver.service.definition.api.data.DemoMetaData
-
Constructor Summary
ConstructorsConstructorDescriptionDemoMetaData(String id) DemoMetaData(String id, String shortDescription) DemoMetaData(String id, String shortDescription, String longDescription, List<String> tags, List<DemoDataConfigEntry> config) Creates an instance of aDemoMetaDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of thelongDescriptionrecord component.Returns the value of theshortDescriptionrecord component.tags()Returns the value of thetagsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DemoMetaData
public DemoMetaData(String id, String shortDescription, String longDescription, List<String> tags, List<DemoDataConfigEntry> config) Creates an instance of aDemoMetaDatarecord class.- Parameters:
id- the value for theidrecord componentshortDescription- the value for theshortDescriptionrecord componentlongDescription- the value for thelongDescriptionrecord componenttags- the value for thetagsrecord componentconfig- the value for theconfigrecord component
-
DemoMetaData
-
DemoMetaData
-
-
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
shortDescription
Returns the value of theshortDescriptionrecord component.- Returns:
- the value of the
shortDescriptionrecord component
-
longDescription
Returns the value of thelongDescriptionrecord component.- Returns:
- the value of the
longDescriptionrecord component
-
tags
-
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-