Record Class DeviceImportService.Result
java.lang.Object
java.lang.Record
org.bgerp.plugin.inventoru.sync1c.service.DeviceImportService.Result
- Enclosing class:
DeviceImportService
public static record DeviceImportService.Result(int created, int updated, List<DeviceImportService.Row> skipped)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResult(int created, int updated, List<DeviceImportService.Row> skipped) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcreated()Returns the value of thecreatedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.skipped()Returns the value of theskippedrecord component.final StringtoString()Returns a string representation of this record class.intupdated()Returns the value of theupdatedrecord component.
-
Constructor Details
-
Result
Creates an instance of aResultrecord class.- Parameters:
created- the value for thecreatedrecord componentupdated- the value for theupdatedrecord componentskipped- the value for theskippedrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
created
public int created()Returns the value of thecreatedrecord component.- Returns:
- the value of the
createdrecord component
-
updated
public int updated()Returns the value of theupdatedrecord component.- Returns:
- the value of the
updatedrecord component
-
skipped
Returns the value of theskippedrecord component.- Returns:
- the value of the
skippedrecord component
-