java.lang.Object
java.lang.Record
com.iamsoft.fixparser.CodeSetItemInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecodeSetName
record component.Returns the value of thedescription
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.label()
Returns the value of thelabel
record component.pedigree()
Returns the value of thepedigree
record component.section()
Returns the value of thesection
record component.final String
toString()
Returns a string representation of this record class.value()
Returns the value of thevalue
record component.
-
Constructor Details
-
CodeSetItemInfo
public CodeSetItemInfo(String codeSetName, String value, String label, String description, String pedigree, String section) Creates an instance of aCodeSetItemInfo
record class.- Parameters:
codeSetName
- the value for thecodeSetName
record componentvalue
- the value for thevalue
record componentlabel
- the value for thelabel
record componentdescription
- the value for thedescription
record componentpedigree
- the value for thepedigree
record componentsection
- the value for thesection
record component
-
-
Method Details
-
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)
. -
codeSetName
Returns the value of thecodeSetName
record component.- Returns:
- the value of the
codeSetName
record component
-
value
Returns the value of thevalue
record component.- Returns:
- the value of the
value
record component
-
label
Returns the value of thelabel
record component.- Returns:
- the value of the
label
record component
-
description
Returns the value of thedescription
record component.- Returns:
- the value of the
description
record component
-
pedigree
Returns the value of thepedigree
record component.- Returns:
- the value of the
pedigree
record component
-
section
Returns the value of thesection
record component.- Returns:
- the value of the
section
record component
-