public class

Duration

extends Object
java.lang.Object
   ↳ com.clarizen.api.Duration

Class Overview

Java class for Duration complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Duration">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="DurationType" type="{http://clarizen.com/api}DurationType" minOccurs="0"/>
         <element name="Unit" type="{http://clarizen.com/api}DurationUnit"/>
         <element name="Value" type="{http://www.w3.org/2001/XMLSchema}double"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected DurationType durationType
protected DurationUnit unit
protected double value
Public Constructors
Duration()
Public Methods
DurationType getDurationType()
Gets the value of the durationType property.
DurationUnit getUnit()
Gets the value of the unit property.
double getValue()
Gets the value of the value property.
void setDurationType(DurationType value)
Sets the value of the durationType property.
void setUnit(DurationUnit value)
Sets the value of the unit property.
void setValue(double value)
Sets the value of the value property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected DurationType durationType

protected DurationUnit unit

protected double value

Public Constructors

public Duration ()

Public Methods

public DurationType getDurationType ()

Gets the value of the durationType property.

Returns

public DurationUnit getUnit ()

Gets the value of the unit property.

Returns

public double getValue ()

Gets the value of the value property.

public void setDurationType (DurationType value)

Sets the value of the durationType property.

Parameters
value Allowed object is DurationType

public void setUnit (DurationUnit value)

Sets the value of the unit property.

Parameters
value Allowed object is DurationUnit

public void setValue (double value)

Sets the value of the value property.

Parameters
value