Record Class XmlTableValueColumnDefinition
java.lang.Object
java.lang.Record
org.hibernate.sql.ast.tree.expression.XmlTableValueColumnDefinition
- All Implemented Interfaces:
XmlTableColumnDefinition, SqlAstNode
public record XmlTableValueColumnDefinition(String name, CastTarget type, @Nullable String xpath, @Nullable Expression defaultExpression)
extends Record
implements XmlTableColumnDefinition
- Since:
- 7.0
-
Constructor Summary
ConstructorsConstructorDescriptionXmlTableValueColumnDefinition(String name, CastTarget type, @Nullable String xpath, @Nullable Expression defaultExpression) Creates an instance of aXmlTableValueColumnDefinitionrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable ExpressionReturns the value of thedefaultExpressionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.@Nullable Stringxpath()Returns the value of thexpathrecord component.Methods inherited from interface XmlTableColumnDefinition
accept
-
Constructor Details
-
XmlTableValueColumnDefinition
public XmlTableValueColumnDefinition(String name, CastTarget type, @Nullable String xpath, @Nullable Expression defaultExpression) Creates an instance of aXmlTableValueColumnDefinitionrecord class.- Parameters:
name- the value for thenamerecord componenttype- the value for thetyperecord componentxpath- the value for thexpathrecord componentdefaultExpression- the value for thedefaultExpressionrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
xpath
Returns the value of thexpathrecord component.- Returns:
- the value of the
xpathrecord component
-
defaultExpression
Returns the value of thedefaultExpressionrecord component.- Returns:
- the value of the
defaultExpressionrecord component
-