Package io.keikai.axyra.sheets.content
Record Class XmlMapBinding
java.lang.Object
java.lang.Record
io.keikai.axyra.sheets.content.XmlMapBinding
public record XmlMapBinding(String column, String xpath, String dataType, String tableName, String cellRef)
extends Record
One cell binding of an XML map (read-only): a worksheet-table column bound
to an XPath. Each binding names the bound column, its XPath and XML data
type, and the owning table's name and cell range.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncellRef()Returns the value of thecellRefrecord component.column()Returns the value of thecolumnrecord component.dataType()Returns the value of thedataTyperecord component.final booleanIndicates whether some other object is "equal to" this one.static XmlMapBindingBuilds a binding from a decoded JSON object.final inthashCode()Returns a hash code value for this object.Returns the value of thetableNamerecord component.final StringtoString()Returns a string representation of this record class.xpath()Returns the value of thexpathrecord component.
-
Constructor Details
-
XmlMapBinding
public XmlMapBinding(String column, String xpath, String dataType, String tableName, String cellRef) Creates an instance of aXmlMapBindingrecord class.- Parameters:
column- the value for thecolumnrecord componentxpath- the value for thexpathrecord componentdataType- the value for thedataTyperecord componenttableName- the value for thetableNamerecord componentcellRef- the value for thecellRefrecord component
-
-
Method Details
-
fromMap
Builds a binding from a decoded JSON object. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
column
Returns the value of thecolumnrecord component.- Returns:
- the value of the
columnrecord component
-
xpath
Returns the value of thexpathrecord component.- Returns:
- the value of the
xpathrecord component
-
dataType
Returns the value of thedataTyperecord component.- Returns:
- the value of the
dataTyperecord component
-
tableName
Returns the value of thetableNamerecord component.- Returns:
- the value of the
tableNamerecord component
-
cellRef
Returns the value of thecellRefrecord component.- Returns:
- the value of the
cellRefrecord component
-