org.tolven.ccr
Class DateTimeType

java.lang.Object
  extended by org.tolven.ccr.DateTimeType
Direct Known Subclasses:
Direction.AdministrationTiming

public class DateTimeType
extends java.lang.Object

Java class for DateTimeType complex type.


Nested Class Summary
static class DateTimeType.DateTimeRange
          Java class for anonymous complex type.
 
Constructor Summary
DateTimeType()
           
 
Method Summary
 MeasureType getAge()
          Gets the value of the age property.
 int getAgeInYears(java.util.Date now)
           
 CodedDescriptionType getApproximateDateTime()
          Gets the value of the approximateDateTime property.
 java.util.List<DateTimeType.DateTimeRange> getDateTimeRange()
          Gets the value of the dateTimeRange property.
 java.util.Date getDateTimeValue()
           
 java.util.Date getDateValue()
           
 java.lang.String getExactDateTime()
          Gets the value of the exactDateTime property.
 CodedDescriptionType getType()
          Gets the value of the type property.
 void setAge(MeasureType value)
          Sets the value of the age property.
 void setApproximateDateTime(CodedDescriptionType value)
          Sets the value of the approximateDateTime property.
 void setDateTimeValue(java.util.Date date)
           
 void setDateValue(java.util.Date date)
           
 void setExactDateTime(java.lang.String value)
          Sets the value of the exactDateTime property.
 void setType(CodedDescriptionType value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeType

public DateTimeType()
Method Detail

getType

public CodedDescriptionType getType()
Gets the value of the type property.

Returns:
possible object is CodedDescriptionType

setType

public void setType(CodedDescriptionType value)
Sets the value of the type property.

Parameters:
value - allowed object is CodedDescriptionType

getDateValue

public java.util.Date getDateValue()
                            throws java.text.ParseException
Throws:
java.text.ParseException

getDateTimeValue

public java.util.Date getDateTimeValue()
                                throws java.text.ParseException
Throws:
java.text.ParseException

setDateTimeValue

public void setDateTimeValue(java.util.Date date)

setDateValue

public void setDateValue(java.util.Date date)

getExactDateTime

public java.lang.String getExactDateTime()
Gets the value of the exactDateTime property.

Returns:
possible object is String

setExactDateTime

public void setExactDateTime(java.lang.String value)
Sets the value of the exactDateTime property.

Parameters:
value - allowed object is String

getAge

public MeasureType getAge()
Gets the value of the age property.

Returns:
possible object is MeasureType

getAgeInYears

public int getAgeInYears(java.util.Date now)
                  throws java.text.ParseException
Throws:
java.text.ParseException

setAge

public void setAge(MeasureType value)
Sets the value of the age property.

Parameters:
value - allowed object is MeasureType

getApproximateDateTime

public CodedDescriptionType getApproximateDateTime()
Gets the value of the approximateDateTime property.

Returns:
possible object is CodedDescriptionType

setApproximateDateTime

public void setApproximateDateTime(CodedDescriptionType value)
Sets the value of the approximateDateTime property.

Parameters:
value - allowed object is CodedDescriptionType

getDateTimeRange

public java.util.List<DateTimeType.DateTimeRange> getDateTimeRange()
Gets the value of the dateTimeRange property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the dateTimeRange property.

For example, to add a new item, do as follows:

    getDateTimeRange().add(newItem);
 

Objects of the following type(s) are allowed in the list DateTimeType.DateTimeRange