Record Class MovementDAO.UnitPlace
java.lang.Object
java.lang.Record
org.bgerp.plugin.inventoru.dao.MovementDAO.UnitPlace
- Enclosing class:
MovementDAO
Where the unit with a serial stands, and how many rows carry that serial.
-
Constructor Summary
ConstructorsConstructorDescriptionUnitPlace(int itemId, int storeId, int count) Creates an instance of aUnitPlacerecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intitemId()Returns the value of theitemIdrecord component.intstoreId()Returns the value of thestoreIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UnitPlace
public UnitPlace(int itemId, int storeId, int count) Creates an instance of aUnitPlacerecord class.- Parameters:
itemId- the value for theitemIdrecord componentstoreId- the value for thestoreIdrecord componentcount- the value for thecountrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 with thecomparemethod from their corresponding wrapper classes. -
itemId
public int itemId()Returns the value of theitemIdrecord component.- Returns:
- the value of the
itemIdrecord component
-
storeId
public int storeId()Returns the value of thestoreIdrecord component.- Returns:
- the value of the
storeIdrecord component
-
count
public int count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-