public class ReportDuration extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Any report can be generated over a date range. API support few in-built date ranges. StartDate and EndDate elements are ignored if user select built-in durations. It also provides flexibility to provide user's custom dates. In such scenario StartDate and EndDate elements are mandatory.
Java class for ReportDuration complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReportDuration"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="duration" type="{http://service.aeris.com/reports/v1/basetype}Duration" minOccurs="0"/> <element name="startDate" type="{http://service.aeris.com/reports/v1/basetype}startDate" minOccurs="0"/> <element name="endDate" type="{http://service.aeris.com/reports/v1/basetype}endDate" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Duration |
duration |
protected Calendar |
endDate |
protected Calendar |
startDate |
Constructor and Description |
---|
ReportDuration() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Duration |
getDuration()
Gets the value of the duration property.
|
Calendar |
getEndDate()
Gets the value of the endDate property.
|
Calendar |
getStartDate()
Gets the value of the startDate property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDuration(Duration value)
Sets the value of the duration property.
|
void |
setEndDate(Calendar value)
Sets the value of the endDate property.
|
void |
setStartDate(Calendar value)
Sets the value of the startDate property.
|
String |
toString() |
protected Duration duration
protected Calendar startDate
protected Calendar endDate
public Duration getDuration()
Duration
public void setDuration(Duration value)
value
- allowed object is
Duration
public Calendar getStartDate()
String
public void setStartDate(Calendar value)
value
- allowed object is
String
public Calendar getEndDate()
String
public void setEndDate(Calendar value)
value
- allowed object is
String
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
Copyright © 2023. All rights reserved.