Package org.hl7.fhir
Class TriggerDefinition
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.TriggerDefinition
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class TriggerDefinition extends Element implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensionsJava class for TriggerDefinition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TriggerDefinition"> <complexContent> <extension base="{http://hl7.org/fhir}Element"> <sequence> <element name="type" type="{http://hl7.org/fhir}TriggerType"/> <element name="eventName" type="{http://hl7.org/fhir}string" minOccurs="0"/> <choice minOccurs="0"> <element name="eventTimingTiming" type="{http://hl7.org/fhir}Timing"/> <element name="eventTimingReference" type="{http://hl7.org/fhir}Reference"/> <element name="eventTimingDate" type="{http://hl7.org/fhir}date"/> <element name="eventTimingDateTime" type="{http://hl7.org/fhir}dateTime"/> </choice> <element name="eventData" type="{http://hl7.org/fhir}DataRequirement" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected DataRequirementeventDataprotected StringeventNameprotected DateeventTimingDateprotected DateTimeeventTimingDateTimeprotected ReferenceeventTimingReferenceprotected TimingeventTimingTimingprotected TriggerTypetype
-
Constructor Summary
Constructors Constructor Description TriggerDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)DataRequirementgetEventData()Gets the value of the eventData property.StringgetEventName()Gets the value of the eventName property.DategetEventTimingDate()Gets the value of the eventTimingDate property.DateTimegetEventTimingDateTime()Gets the value of the eventTimingDateTime property.ReferencegetEventTimingReference()Gets the value of the eventTimingReference property.TiminggetEventTimingTiming()Gets the value of the eventTimingTiming property.TriggerTypegetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetEventData(DataRequirement value)Sets the value of the eventData property.voidsetEventName(String value)Sets the value of the eventName property.voidsetEventTimingDate(Date value)Sets the value of the eventTimingDate property.voidsetEventTimingDateTime(DateTime value)Sets the value of the eventTimingDateTime property.voidsetEventTimingReference(Reference value)Sets the value of the eventTimingReference property.voidsetEventTimingTiming(Timing value)Sets the value of the eventTimingTiming property.voidsetType(TriggerType value)Sets the value of the type property.java.lang.StringtoString()TriggerDefinitionwithEventData(DataRequirement value)TriggerDefinitionwithEventName(String value)TriggerDefinitionwithEventTimingDate(Date value)TriggerDefinitionwithEventTimingDateTime(DateTime value)TriggerDefinitionwithEventTimingReference(Reference value)TriggerDefinitionwithEventTimingTiming(Timing value)TriggerDefinitionwithExtension(java.util.Collection<Extension> values)TriggerDefinitionwithExtension(Extension... values)TriggerDefinitionwithId(java.lang.String value)TriggerDefinitionwithType(TriggerType value)-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
type
protected TriggerType type
-
eventName
protected String eventName
-
eventTimingTiming
protected Timing eventTimingTiming
-
eventTimingReference
protected Reference eventTimingReference
-
eventTimingDate
protected Date eventTimingDate
-
eventTimingDateTime
protected DateTime eventTimingDateTime
-
eventData
protected DataRequirement eventData
-
-
Method Detail
-
getType
public TriggerType getType()
Gets the value of the type property.- Returns:
- possible object is
TriggerType
-
setType
public void setType(TriggerType value)
Sets the value of the type property.- Parameters:
value- allowed object isTriggerType
-
getEventName
public String getEventName()
Gets the value of the eventName property.- Returns:
- possible object is
String
-
setEventName
public void setEventName(String value)
Sets the value of the eventName property.- Parameters:
value- allowed object isString
-
getEventTimingTiming
public Timing getEventTimingTiming()
Gets the value of the eventTimingTiming property.- Returns:
- possible object is
Timing
-
setEventTimingTiming
public void setEventTimingTiming(Timing value)
Sets the value of the eventTimingTiming property.- Parameters:
value- allowed object isTiming
-
getEventTimingReference
public Reference getEventTimingReference()
Gets the value of the eventTimingReference property.- Returns:
- possible object is
Reference
-
setEventTimingReference
public void setEventTimingReference(Reference value)
Sets the value of the eventTimingReference property.- Parameters:
value- allowed object isReference
-
getEventTimingDate
public Date getEventTimingDate()
Gets the value of the eventTimingDate property.- Returns:
- possible object is
Date
-
setEventTimingDate
public void setEventTimingDate(Date value)
Sets the value of the eventTimingDate property.- Parameters:
value- allowed object isDate
-
getEventTimingDateTime
public DateTime getEventTimingDateTime()
Gets the value of the eventTimingDateTime property.- Returns:
- possible object is
DateTime
-
setEventTimingDateTime
public void setEventTimingDateTime(DateTime value)
Sets the value of the eventTimingDateTime property.- Parameters:
value- allowed object isDateTime
-
getEventData
public DataRequirement getEventData()
Gets the value of the eventData property.- Returns:
- possible object is
DataRequirement
-
setEventData
public void setEventData(DataRequirement value)
Sets the value of the eventData property.- Parameters:
value- allowed object isDataRequirement
-
withType
public TriggerDefinition withType(TriggerType value)
-
withEventName
public TriggerDefinition withEventName(String value)
-
withEventTimingTiming
public TriggerDefinition withEventTimingTiming(Timing value)
-
withEventTimingReference
public TriggerDefinition withEventTimingReference(Reference value)
-
withEventTimingDate
public TriggerDefinition withEventTimingDate(Date value)
-
withEventTimingDateTime
public TriggerDefinition withEventTimingDateTime(DateTime value)
-
withEventData
public TriggerDefinition withEventData(DataRequirement value)
-
withExtension
public TriggerDefinition withExtension(Extension... values)
- Overrides:
withExtensionin classElement
-
withExtension
public TriggerDefinition withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classElement
-
withId
public TriggerDefinition withId(java.lang.String value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classElement
-
-