Package net.pricefx.domain
Record Class DMField.Conversion
- Enclosing class:
DMField
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionccyCode()
Returns the value of theccyCode
record component.ccyField()
Returns the value of theccyField
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.boolean
isVoid()
qtyField()
Returns the value of theqtyField
record component.skuField()
Returns the value of theskuField
record component.final String
toString()
Returns a string representation of this record class.uomCode()
Returns the value of theuomCode
record component.uomField()
Returns the value of theuomField
record component.
-
Constructor Details
-
Conversion
public Conversion(String skuField, String uomField, String ccyField, String qtyField, String uomCode, String ccyCode) Creates an instance of aConversion
record class.- Parameters:
skuField
- the value for theskuField
record componentuomField
- the value for theuomField
record componentccyField
- the value for theccyField
record componentqtyField
- the value for theqtyField
record componentuomCode
- the value for theuomCode
record componentccyCode
- the value for theccyCode
record component
-
-
Method Details
-
isVoid
public boolean isVoid() -
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)
. -
skuField
Returns the value of theskuField
record component.- Returns:
- the value of the
skuField
record component
-
uomField
Returns the value of theuomField
record component.- Returns:
- the value of the
uomField
record component
-
ccyField
Returns the value of theccyField
record component.- Returns:
- the value of the
ccyField
record component
-
qtyField
Returns the value of theqtyField
record component.- Returns:
- the value of the
qtyField
record component
-
uomCode
Returns the value of theuomCode
record component.- Returns:
- the value of the
uomCode
record component
-
ccyCode
Returns the value of theccyCode
record component.- Returns:
- the value of the
ccyCode
record component
-