public final class DuplicateEntityException
extends org.fuin.objects4j.common.AbstractJaxbMarshallableException
implements org.fuin.objects4j.common.ExceptionShortIdentifable
| Modifier | Constructor and Description |
|---|---|
protected |
DuplicateEntityException()
JAX-B constructor.
|
|
DuplicateEntityException(@NotNull EntityIdPath parentIdPath,
@NotNull EntityId entityId)
Constructor with all data.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.lang.String |
getEntityId()
Returns the unique identifier of the entity.
|
@NotNull java.lang.String |
getParentIdPath()
Returns the path from root to parent.
|
java.lang.String |
getShortId() |
afterMarshal, afterUnmarshal, beforeMarshalprotected DuplicateEntityException()
public DuplicateEntityException(@NotNull
@NotNull EntityIdPath parentIdPath,
@NotNull
@NotNull EntityId entityId)
parentIdPath - Path from root to parent.entityId - Unique identifier of the entity that already existed.public final java.lang.String getShortId()
getShortId in interface org.fuin.objects4j.common.ExceptionShortIdentifable@NotNull public final @NotNull java.lang.String getParentIdPath()
@NotNull public final @NotNull java.lang.String getEntityId()
Copyright © 2019 fuin.org (Germany). All Rights Reserved.