Record Class ExperimentDeletionResult
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.ExperimentDeletionResult
-
Constructor Summary
ConstructorsConstructorDescriptionExperimentDeletionResult(String experimentId, boolean deleted, int runsDeleted, int runObjectivesDeleted, int iterationsDeleted, int checkpointsDeleted, int eventsDeleted, int paramsDeleted) Creates an instance of aExperimentDeletionResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecheckpointsDeletedrecord component.booleandeleted()Returns the value of thedeletedrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theeventsDeletedrecord component.Returns the value of theexperimentIdrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of theiterationsDeletedrecord component.intReturns the value of theparamsDeletedrecord component.intReturns the value of therunObjectivesDeletedrecord component.intReturns the value of therunsDeletedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExperimentDeletionResult
public ExperimentDeletionResult(String experimentId, boolean deleted, int runsDeleted, int runObjectivesDeleted, int iterationsDeleted, int checkpointsDeleted, int eventsDeleted, int paramsDeleted) Creates an instance of aExperimentDeletionResultrecord class.- Parameters:
experimentId- the value for theexperimentIdrecord componentdeleted- the value for thedeletedrecord componentrunsDeleted- the value for therunsDeletedrecord componentrunObjectivesDeleted- the value for therunObjectivesDeletedrecord componentiterationsDeleted- the value for theiterationsDeletedrecord componentcheckpointsDeleted- the value for thecheckpointsDeletedrecord componenteventsDeleted- the value for theeventsDeletedrecord componentparamsDeleted- the value for theparamsDeletedrecord 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. -
experimentId
Returns the value of theexperimentIdrecord component.- Returns:
- the value of the
experimentIdrecord component
-
deleted
public boolean deleted()Returns the value of thedeletedrecord component.- Returns:
- the value of the
deletedrecord component
-
runsDeleted
public int runsDeleted()Returns the value of therunsDeletedrecord component.- Returns:
- the value of the
runsDeletedrecord component
-
runObjectivesDeleted
public int runObjectivesDeleted()Returns the value of therunObjectivesDeletedrecord component.- Returns:
- the value of the
runObjectivesDeletedrecord component
-
iterationsDeleted
public int iterationsDeleted()Returns the value of theiterationsDeletedrecord component.- Returns:
- the value of the
iterationsDeletedrecord component
-
checkpointsDeleted
public int checkpointsDeleted()Returns the value of thecheckpointsDeletedrecord component.- Returns:
- the value of the
checkpointsDeletedrecord component
-
eventsDeleted
public int eventsDeleted()Returns the value of theeventsDeletedrecord component.- Returns:
- the value of the
eventsDeletedrecord component
-
paramsDeleted
public int paramsDeleted()Returns the value of theparamsDeletedrecord component.- Returns:
- the value of the
paramsDeletedrecord component
-