Package org.compiere.model
Record Class MOrder.MatchingRecord
java.lang.Object
java.lang.Record
org.compiere.model.MOrder.MatchingRecord
- Enclosing class:
- MOrder
public static record MOrder.MatchingRecord(int C_Order_ID, String documentNo, Timestamp documentDate, String businessPartnerName, int C_BPartner_ID, int line, int C_OrderLine_ID, String productName, int M_Product_ID, BigDecimal qtyOrdered, BigDecimal matchedQty, String organizationName, int AD_Org_ID)
extends Record
record for matchings
-
Constructor Summary
ConstructorsConstructorDescriptionMatchingRecord(int C_Order_ID, String documentNo, Timestamp documentDate, String businessPartnerName, int C_BPartner_ID, int line, int C_OrderLine_ID, String productName, int M_Product_ID, BigDecimal qtyOrdered, BigDecimal matchedQty, String organizationName, int AD_Org_ID) Creates an instance of aMatchingRecordrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theAD_Org_IDrecord component.Returns the value of thebusinessPartnerNamerecord component.intReturns the value of theC_BPartner_IDrecord component.intReturns the value of theC_Order_IDrecord component.intReturns the value of theC_OrderLine_IDrecord component.Returns the value of thedocumentDaterecord component.Returns the value of thedocumentNorecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intline()Returns the value of thelinerecord component.intReturns the value of theM_Product_IDrecord component.Returns the value of thematchedQtyrecord component.Returns the value of theorganizationNamerecord component.Returns the value of theproductNamerecord component.Returns the value of theqtyOrderedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MatchingRecord
public MatchingRecord(int C_Order_ID, String documentNo, Timestamp documentDate, String businessPartnerName, int C_BPartner_ID, int line, int C_OrderLine_ID, String productName, int M_Product_ID, BigDecimal qtyOrdered, BigDecimal matchedQty, String organizationName, int AD_Org_ID) Creates an instance of aMatchingRecordrecord class.- Parameters:
C_Order_ID- the value for theC_Order_IDrecord componentdocumentNo- the value for thedocumentNorecord componentdocumentDate- the value for thedocumentDaterecord componentbusinessPartnerName- the value for thebusinessPartnerNamerecord componentC_BPartner_ID- the value for theC_BPartner_IDrecord componentline- the value for thelinerecord componentC_OrderLine_ID- the value for theC_OrderLine_IDrecord componentproductName- the value for theproductNamerecord componentM_Product_ID- the value for theM_Product_IDrecord componentqtyOrdered- the value for theqtyOrderedrecord componentmatchedQty- the value for thematchedQtyrecord componentorganizationName- the value for theorganizationNamerecord componentAD_Org_ID- the value for theAD_Org_IDrecord 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 '=='. -
C_Order_ID
public int C_Order_ID()Returns the value of theC_Order_IDrecord component.- Returns:
- the value of the
C_Order_IDrecord component
-
documentNo
Returns the value of thedocumentNorecord component.- Returns:
- the value of the
documentNorecord component
-
documentDate
Returns the value of thedocumentDaterecord component.- Returns:
- the value of the
documentDaterecord component
-
businessPartnerName
Returns the value of thebusinessPartnerNamerecord component.- Returns:
- the value of the
businessPartnerNamerecord component
-
C_BPartner_ID
public int C_BPartner_ID()Returns the value of theC_BPartner_IDrecord component.- Returns:
- the value of the
C_BPartner_IDrecord component
-
line
public int line()Returns the value of thelinerecord component.- Returns:
- the value of the
linerecord component
-
C_OrderLine_ID
public int C_OrderLine_ID()Returns the value of theC_OrderLine_IDrecord component.- Returns:
- the value of the
C_OrderLine_IDrecord component
-
productName
Returns the value of theproductNamerecord component.- Returns:
- the value of the
productNamerecord component
-
M_Product_ID
public int M_Product_ID()Returns the value of theM_Product_IDrecord component.- Returns:
- the value of the
M_Product_IDrecord component
-
qtyOrdered
Returns the value of theqtyOrderedrecord component.- Returns:
- the value of the
qtyOrderedrecord component
-
matchedQty
Returns the value of thematchedQtyrecord component.- Returns:
- the value of the
matchedQtyrecord component
-
organizationName
Returns the value of theorganizationNamerecord component.- Returns:
- the value of the
organizationNamerecord component
-
AD_Org_ID
public int AD_Org_ID()Returns the value of theAD_Org_IDrecord component.- Returns:
- the value of the
AD_Org_IDrecord component
-