Class InstancesResponse

java.lang.Object
org.bedework.util.misc.response.Response
org.bedework.calfacade.responses.InstancesResponse
All Implemented Interfaces:
Serializable

public class InstancesResponse extends org.bedework.util.misc.response.Response
Container for fetching instances.
Author:
Mike Douglass douglm - spherical cow
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
    Collection<net.fortuna.ical4j.model.Period>
     
    boolean
     
    void
    setInstances(Collection<net.fortuna.ical4j.model.Period> val)
     
    void
    setTruncated(boolean val)
    The result may be truncated if there are too many instances or they are too far in the past or future.
    void
    toStringSegment(org.bedework.util.misc.ToString ts)
     

    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

    • InstancesResponse

      public InstancesResponse()
  • Method Details

    • setInstances

      public void setInstances(Collection<net.fortuna.ical4j.model.Period> val)
      Parameters:
      val - collection of instances
    • getInstances

      public Collection<net.fortuna.ical4j.model.Period> getInstances()
      Returns:
      collection of instances
    • setTruncated

      public void setTruncated(boolean val)
      The result may be truncated if there are too many instances or they are too far in the past or future.
      Parameters:
      val - true if result truncated
    • getTruncated

      public boolean getTruncated()
      Returns:
      true if result truncated
    • toStringSegment

      public void toStringSegment(org.bedework.util.misc.ToString ts)
      Overrides:
      toStringSegment in class org.bedework.util.misc.response.Response