Class EnsureEntityExistsResult<T>

java.lang.Object
org.bedework.util.misc.response.Response
org.bedework.util.misc.response.GetEntityResponse<T>
org.bedework.calfacade.svc.EnsureEntityExistsResult<T>
Type Parameters:
T - User: mike Date: 3/9/21 Time: 11:31
All Implemented Interfaces:
Serializable

public class EnsureEntityExistsResult<T> extends org.bedework.util.misc.response.GetEntityResponse<T>
Returned to show if an entity was added. entity is set to retrieved entity
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bedework.util.misc.response.Response

    org.bedework.util.misc.response.Response.Status
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Was added
    void
    setAdded(boolean added)
     

    Methods inherited from class org.bedework.util.misc.response.GetEntityResponse

    getEntity, setEntity, toStringSegment

    Methods inherited from class org.bedework.util.misc.response.Response

    error, error, fromResponse, getErrorTag, getException, getId, getMessage, getStatus, getWarnings, hasWarning, invalid, isError, isNotFound, isOk, notFound, notFound, notOk, notOk, notOk, ok, ok, ok, setErrorTag, setException, setId, setMessage, setStatus, toString, warning

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • EnsureEntityExistsResult

      public EnsureEntityExistsResult()
  • Method Details

    • isAdded

      public boolean isAdded()
      Was added
    • setAdded

      public void setAdded(boolean added)