Record Class VanSignalGen.TemplateBindings
java.lang.Object
java.lang.Record
dev.vanengine.core.compile.VanSignalGen.TemplateBindings
- Enclosing class:
VanSignalGen
public static record VanSignalGen.TemplateBindings(List<VanSignalGen.EventBinding> events, List<VanSignalGen.TextBinding> texts, List<VanSignalGen.ShowBinding> shows, List<VanSignalGen.HtmlDirectiveBinding> htmls, List<VanSignalGen.TextDirectiveBinding> textDirectives, List<VanSignalGen.ClassBinding> classes, List<VanSignalGen.StyleBinding> styles, List<VanSignalGen.ModelBinding> models, List<VanSignalGen.DynamicAttrBinding> dynamicAttrs, List<VanSignalGen.DynamicEventBinding> dynamicEvents, List<VanSignalGen.TeleportBinding> teleports)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTemplateBindings(List<VanSignalGen.EventBinding> events, List<VanSignalGen.TextBinding> texts, List<VanSignalGen.ShowBinding> shows, List<VanSignalGen.HtmlDirectiveBinding> htmls, List<VanSignalGen.TextDirectiveBinding> textDirectives, List<VanSignalGen.ClassBinding> classes, List<VanSignalGen.StyleBinding> styles, List<VanSignalGen.ModelBinding> models, List<VanSignalGen.DynamicAttrBinding> dynamicAttrs, List<VanSignalGen.DynamicEventBinding> dynamicEvents, List<VanSignalGen.TeleportBinding> teleports) Creates an instance of aTemplateBindingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclasses()Returns the value of theclassesrecord component.Returns the value of thedynamicAttrsrecord component.Returns the value of thedynamicEventsrecord component.final booleanIndicates whether some other object is "equal to" this one.events()Returns the value of theeventsrecord component.final inthashCode()Returns a hash code value for this object.htmls()Returns the value of thehtmlsrecord component.models()Returns the value of themodelsrecord component.shows()Returns the value of theshowsrecord component.styles()Returns the value of thestylesrecord component.Returns the value of theteleportsrecord component.Returns the value of thetextDirectivesrecord component.texts()Returns the value of thetextsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TemplateBindings
public TemplateBindings(List<VanSignalGen.EventBinding> events, List<VanSignalGen.TextBinding> texts, List<VanSignalGen.ShowBinding> shows, List<VanSignalGen.HtmlDirectiveBinding> htmls, List<VanSignalGen.TextDirectiveBinding> textDirectives, List<VanSignalGen.ClassBinding> classes, List<VanSignalGen.StyleBinding> styles, List<VanSignalGen.ModelBinding> models, List<VanSignalGen.DynamicAttrBinding> dynamicAttrs, List<VanSignalGen.DynamicEventBinding> dynamicEvents, List<VanSignalGen.TeleportBinding> teleports) Creates an instance of aTemplateBindingsrecord class.- Parameters:
events- the value for theeventsrecord componenttexts- the value for thetextsrecord componentshows- the value for theshowsrecord componenthtmls- the value for thehtmlsrecord componenttextDirectives- the value for thetextDirectivesrecord componentclasses- the value for theclassesrecord componentstyles- the value for thestylesrecord componentmodels- the value for themodelsrecord componentdynamicAttrs- the value for thedynamicAttrsrecord componentdynamicEvents- the value for thedynamicEventsrecord componentteleports- the value for theteleportsrecord 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). -
events
Returns the value of theeventsrecord component.- Returns:
- the value of the
eventsrecord component
-
texts
Returns the value of thetextsrecord component.- Returns:
- the value of the
textsrecord component
-
shows
Returns the value of theshowsrecord component.- Returns:
- the value of the
showsrecord component
-
htmls
Returns the value of thehtmlsrecord component.- Returns:
- the value of the
htmlsrecord component
-
textDirectives
Returns the value of thetextDirectivesrecord component.- Returns:
- the value of the
textDirectivesrecord component
-
classes
Returns the value of theclassesrecord component.- Returns:
- the value of the
classesrecord component
-
styles
Returns the value of thestylesrecord component.- Returns:
- the value of the
stylesrecord component
-
models
Returns the value of themodelsrecord component.- Returns:
- the value of the
modelsrecord component
-
dynamicAttrs
Returns the value of thedynamicAttrsrecord component.- Returns:
- the value of the
dynamicAttrsrecord component
-
dynamicEvents
Returns the value of thedynamicEventsrecord component.- Returns:
- the value of the
dynamicEventsrecord component
-
teleports
Returns the value of theteleportsrecord component.- Returns:
- the value of the
teleportsrecord component
-