Package com.kenshoo.pl.entity
Class EntityChangeResult<E extends EntityType<E>,ID extends Identifier<E>,C extends ChangeEntityCommand<E>>
- java.lang.Object
-
- com.kenshoo.pl.entity.EntityChangeResult<E,ID,C>
-
- Direct Known Subclasses:
EntityCreateResult,EntityDeleteResult,EntityInsertOnDuplicateUpdateResult,EntityUpdateResult
public abstract class EntityChangeResult<E extends EntityType<E>,ID extends Identifier<E>,C extends ChangeEntityCommand<E>> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EntityChangeResult(C command)EntityChangeResult(C command, java.lang.Iterable<ValidationError> errors)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description CgetCommand()java.util.Collection<ValidationError>getErrors()abstract IDgetIdentifier()booleanisSuccess()
-
-
-
Constructor Detail
-
EntityChangeResult
public EntityChangeResult(C command)
-
EntityChangeResult
public EntityChangeResult(C command, java.lang.Iterable<ValidationError> errors)
-
-
Method Detail
-
getCommand
public C getCommand()
-
isSuccess
public boolean isSuccess()
-
getErrors
public java.util.Collection<ValidationError> getErrors()
-
getIdentifier
public abstract ID getIdentifier()
-
-