java.lang.Object
java.lang.Record
com.iamsoft.fixparser.CodeSetInfo
-
Constructor Summary
ConstructorsConstructorDescriptionCodeSetInfo
(int id, String name, String dataType, String description, String pedigree, List<CodeSetItemInfo> items, List<String> usages) Creates an instance of aCodeSetInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptiondataType()
Returns the value of thedataType
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.int
id()
Returns the value of theid
record component.items()
Returns the value of theitems
record component.name()
Returns the value of thename
record component.pedigree()
Returns the value of thepedigree
record component.final String
toString()
Returns a string representation of this record class.usages()
Returns the value of theusages
record component.
-
Constructor Details
-
CodeSetInfo
public CodeSetInfo(int id, String name, String dataType, String description, String pedigree, List<CodeSetItemInfo> items, List<String> usages) Creates an instance of aCodeSetInfo
record class.- Parameters:
id
- the value for theid
record componentname
- the value for thename
record componentdataType
- the value for thedataType
record componentdescription
- the value for thedescription
record componentpedigree
- the value for thepedigree
record componentitems
- the value for theitems
record componentusages
- the value for theusages
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
id
public int id()Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
dataType
Returns the value of thedataType
record component.- Returns:
- the value of the
dataType
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
-
items
Returns the value of theitems
record component.- Returns:
- the value of the
items
record component
-
usages
Returns the value of theusages
record component.- Returns:
- the value of the
usages
record component
-