Record Class GrammarTreeViewService.GrammarTreeView
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.web.service.GrammarTreeViewService.GrammarTreeView
- Enclosing class:
GrammarTreeViewService
public static record GrammarTreeViewService.GrammarTreeView(String runId, String representationType, String infix, String prefix, String latex, String dot, Map<String,Object> ast, Map<String,Object> metrics, List<Integer> decisionVector, List<Double> ercValues, String source)
extends Record
Tree visualization payload returned by API.
-
Constructor Summary
ConstructorsConstructorDescriptionGrammarTreeView(String runId, String representationType, String infix, String prefix, String latex, String dot, Map<String, Object> ast, Map<String, Object> metrics, List<Integer> decisionVector, List<Double> ercValues, String source) Creates an instance of aGrammarTreeViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionast()Returns the value of theastrecord component.Returns the value of thedecisionVectorrecord component.dot()Returns the value of thedotrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theercValuesrecord component.final inthashCode()Returns a hash code value for this object.infix()Returns the value of theinfixrecord component.latex()Returns the value of thelatexrecord component.metrics()Returns the value of themetricsrecord component.prefix()Returns the value of theprefixrecord component.Returns the value of therepresentationTyperecord component.runId()Returns the value of therunIdrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GrammarTreeView
public GrammarTreeView(String runId, String representationType, String infix, String prefix, String latex, String dot, Map<String, Object> ast, Map<String, Object> metrics, List<Integer> decisionVector, List<Double> ercValues, String source) Creates an instance of aGrammarTreeViewrecord class.- Parameters:
runId- the value for therunIdrecord componentrepresentationType- the value for therepresentationTyperecord componentinfix- the value for theinfixrecord componentprefix- the value for theprefixrecord componentlatex- the value for thelatexrecord componentdot- the value for thedotrecord componentast- the value for theastrecord componentmetrics- the value for themetricsrecord componentdecisionVector- the value for thedecisionVectorrecord componentercValues- the value for theercValuesrecord componentsource- the value for thesourcerecord 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). -
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
representationType
Returns the value of therepresentationTyperecord component.- Returns:
- the value of the
representationTyperecord component
-
infix
Returns the value of theinfixrecord component.- Returns:
- the value of the
infixrecord component
-
prefix
Returns the value of theprefixrecord component.- Returns:
- the value of the
prefixrecord component
-
latex
Returns the value of thelatexrecord component.- Returns:
- the value of the
latexrecord component
-
dot
Returns the value of thedotrecord component.- Returns:
- the value of the
dotrecord component
-
ast
-
metrics
-
decisionVector
-
ercValues
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-