java.lang.Object
java.lang.Record
com.iamsoft.fixparser.FieldInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabbrName()
Returns the value of theabbrName
record component.Returns the value of thecodeSetName
record component.Returns the value of thecomponents
record component.dataType()
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.Returns the value of thefieldName
record component.final int
hashCode()
Returns a hash code value for this object.pedigree()
Returns the value of thepedigree
record component.int
tag()
Returns the value of thetag
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theunionDataType
record component.withComponents
(List<ComponentInfo> pComponents)
-
Constructor Details
-
FieldInfo
public FieldInfo(int tag, String fieldName, String abbrName, String dataType, String unionDataType, String description, String pedigree, String codeSetName, List<ComponentInfo> components) Creates an instance of aFieldInfo
record class.- Parameters:
tag
- the value for thetag
record componentfieldName
- the value for thefieldName
record componentabbrName
- the value for theabbrName
record componentdataType
- the value for thedataType
record componentunionDataType
- the value for theunionDataType
record componentdescription
- the value for thedescription
record componentpedigree
- the value for thepedigree
record componentcodeSetName
- the value for thecodeSetName
record componentcomponents
- the value for thecomponents
record component
-
-
Method Details
-
withComponents
-
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 '=='. -
tag
public int tag()Returns the value of thetag
record component.- Returns:
- the value of the
tag
record component
-
fieldName
Returns the value of thefieldName
record component.- Returns:
- the value of the
fieldName
record component
-
abbrName
Returns the value of theabbrName
record component.- Returns:
- the value of the
abbrName
record component
-
dataType
Returns the value of thedataType
record component.- Returns:
- the value of the
dataType
record component
-
unionDataType
Returns the value of theunionDataType
record component.- Returns:
- the value of the
unionDataType
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
-
codeSetName
Returns the value of thecodeSetName
record component.- Returns:
- the value of the
codeSetName
record component
-
components
Returns the value of thecomponents
record component.- Returns:
- the value of the
components
record component
-