Class BulkPersistenceResponse.PersistenceFailure<F>
java.lang.Object
com.broadleafcommerce.data.tracking.core.service.BulkPersistenceResponse.PersistenceFailure<F>
- Enclosing class:
- BulkPersistenceResponse<P>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe entity which failed to persist.getType()The type of failure that this entity encountered.org.springframework.validation.ErrorsIftypewasBulkPersistenceResponse.PersistenceFailureType.VALIDATION, this object should contain the errors that the entity encountered.inthashCode()setFailedEntity(F failedEntity) The entity which failed to persist.The type of failure that this entity encountered.setValidationErrors(org.springframework.validation.Errors validationErrors) IftypewasBulkPersistenceResponse.PersistenceFailureType.VALIDATION, this object should contain the errors that the entity encountered.toString()
-
Constructor Details
-
PersistenceFailure
public PersistenceFailure()
-
-
Method Details
-
getFailedEntity
The entity which failed to persist. -
getType
The type of failure that this entity encountered. -
getValidationErrors
@Nullable public org.springframework.validation.Errors getValidationErrors()IftypewasBulkPersistenceResponse.PersistenceFailureType.VALIDATION, this object should contain the errors that the entity encountered. -
setFailedEntity
The entity which failed to persist.- Returns:
this.
-
setType
The type of failure that this entity encountered.- Returns:
this.- See Also:
-
setValidationErrors
public BulkPersistenceResponse.PersistenceFailure<F> setValidationErrors(@Nullable org.springframework.validation.Errors validationErrors) IftypewasBulkPersistenceResponse.PersistenceFailureType.VALIDATION, this object should contain the errors that the entity encountered.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-