Record Class XsdValueUnparserResult
java.lang.Object
java.lang.Record
fr.inria.rules.integraal.model.logicalElements.impl.literals.types.XsdValueUnparserResult
- Record Components:
dataType- the datatype selected for the literallexicalForm- the rendered lexical form
A simple record holding the chosen XsdDataType and
the corresponding lexical string.
-
Constructor Summary
ConstructorsConstructorDescriptionXsdValueUnparserResult(XsdDataType dataType, String lexicalForm) Creates an instance of aXsdValueUnparserResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondataType()Returns the value of thedataTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelexicalFormrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
XsdValueUnparserResult
Creates an instance of aXsdValueUnparserResultrecord class.- Parameters:
dataType- the value for thedataTyperecord componentlexicalForm- the value for thelexicalFormrecord 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). -
dataType
-
lexicalForm
Returns the value of thelexicalFormrecord component.- Returns:
- the value of the
lexicalFormrecord component
-