Package net.pricefx.domain
Record Class DMField.Conversion
- Enclosing class:
DMField
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionccyCode()Returns the value of theccyCoderecord component.ccyField()Returns the value of theccyFieldrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisVoid()qtyField()Returns the value of theqtyFieldrecord component.skuField()Returns the value of theskuFieldrecord component.final StringtoString()Returns a string representation of this record class.uomCode()Returns the value of theuomCoderecord component.uomField()Returns the value of theuomFieldrecord component.
-
Constructor Details
-
Conversion
public Conversion(String skuField, String uomField, String ccyField, String qtyField, String uomCode, String ccyCode) Creates an instance of aConversionrecord class.- Parameters:
skuField- the value for theskuFieldrecord componentuomField- the value for theuomFieldrecord componentccyField- the value for theccyFieldrecord componentqtyField- the value for theqtyFieldrecord componentuomCode- the value for theuomCoderecord componentccyCode- the value for theccyCoderecord 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 theskuFieldrecord component.- Returns:
- the value of the
skuFieldrecord component
-
uomField
Returns the value of theuomFieldrecord component.- Returns:
- the value of the
uomFieldrecord component
-
ccyField
Returns the value of theccyFieldrecord component.- Returns:
- the value of the
ccyFieldrecord component
-
qtyField
Returns the value of theqtyFieldrecord component.- Returns:
- the value of the
qtyFieldrecord component
-
uomCode
Returns the value of theuomCoderecord component.- Returns:
- the value of the
uomCoderecord component
-
ccyCode
Returns the value of theccyCoderecord component.- Returns:
- the value of the
ccyCoderecord component
-