Package org.bedework.calfacade.responses
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 -
Method Summary
Modifier and TypeMethodDescriptionCollection<net.fortuna.ical4j.model.Period>booleanvoidsetInstances(Collection<net.fortuna.ical4j.model.Period> val) voidsetTruncated(boolean val) The result may be truncated if there are too many instances or they are too far in the past or future.voidtoStringSegment(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
-
Constructor Details
-
InstancesResponse
public InstancesResponse()
-
-
Method Details
-
setInstances
- Parameters:
val- collection of instances
-
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:
toStringSegmentin classorg.bedework.util.misc.response.Response
-