blob: d8d86241e6ebfa643c5b62398871f191188026ee [file] [log] [blame]
/**
*/
package org.hl7.fhir;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Date</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates.
* If the element is present, it must have either a @value, an @id, or extensions
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.hl7.fhir.Date#getValue <em>Value</em>}</li>
* </ul>
*
* @see org.hl7.fhir.FhirPackage#getDate()
* @model extendedMetaData="name='date' kind='elementOnly'"
* @generated
*/
public interface Date extends Element {
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(XMLGregorianCalendar)
* @see org.hl7.fhir.FhirPackage#getDate_Value()
* @model dataType="org.hl7.fhir.DatePrimitive"
* extendedMetaData="kind='attribute' name='value'"
* @generated
*/
XMLGregorianCalendar getValue();
/**
* Sets the value of the '{@link org.hl7.fhir.Date#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
void setValue(XMLGregorianCalendar value);
} // Date