Package com.kenshoo.pl.entity
Class CreateEntityCommand<E extends EntityType<E>>
- java.lang.Object
-
- com.kenshoo.pl.entity.ChangeEntityCommand<E>
-
- com.kenshoo.pl.entity.CreateEntityCommand<E>
-
- All Implemented Interfaces:
EntityChange<E>,FieldsValueMap<E>,MutableCommand<E>
public class CreateEntityCommand<E extends EntityType<E>> extends ChangeEntityCommand<E>
-
-
Constructor Summary
Constructors Constructor Description CreateEntityCommand(E entityType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeOperationgetChangeOperation()Identifier<E>getIdentifier()voidsetIdentifier(Identifier<E> identifier)-
Methods inherited from class com.kenshoo.pl.entity.ChangeEntityCommand
add, addChild, containsField, get, getChangedFields, getChanges, getChildren, getChildren, getEntityType, getKeysToParent, getParent, isFieldChanged, set, set, set, set, set, updateOperator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.kenshoo.pl.entity.EntityChange
allowMissingEntity
-
Methods inherited from interface com.kenshoo.pl.entity.FieldsValueMap
safeGet
-
-
-
-
Constructor Detail
-
CreateEntityCommand
public CreateEntityCommand(E entityType)
-
-
Method Detail
-
getIdentifier
public Identifier<E> getIdentifier()
- Returns:
- the identifier of the entity being changed. Works only for update or delete changes, not for create
-
getChangeOperation
public ChangeOperation getChangeOperation()
- Returns:
- return change operation
-
setIdentifier
public void setIdentifier(Identifier<E> identifier)
-
-