public class TriggerDefinition extends Type implements ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
TriggerDefinition.TriggerType |
static class |
TriggerDefinition.TriggerTypeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected DataRequirement |
eventData
The triggering data of the event (if this is a data trigger).
|
protected StringType |
eventName
The name of the event (if this is a named-event trigger).
|
protected Type |
eventTiming
The timing of the event (if this is a period trigger).
|
protected Enumeration<TriggerDefinition.TriggerType> |
type
The type of triggering event.
|
| Constructor and Description |
|---|
TriggerDefinition()
Constructor
|
TriggerDefinition(Enumeration<TriggerDefinition.TriggerType> type)
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Enumeration<TriggerDefinition.TriggerType> type
protected StringType eventName
protected Type eventTiming
protected DataRequirement eventData
public TriggerDefinition()
public TriggerDefinition(Enumeration<TriggerDefinition.TriggerType> type)
public Enumeration<TriggerDefinition.TriggerType> getTypeElement()
type (The type of triggering event.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public TriggerDefinition setTypeElement(Enumeration<TriggerDefinition.TriggerType> value)
value - type (The type of triggering event.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic TriggerDefinition.TriggerType getType()
public TriggerDefinition setType(TriggerDefinition.TriggerType value)
value - The type of triggering event.public StringType getEventNameElement()
eventName (The name of the event (if this is a named-event trigger).). This is the underlying object with id, value and extensions. The accessor "getEventName" gives direct access to the valuepublic boolean hasEventNameElement()
public boolean hasEventName()
public TriggerDefinition setEventNameElement(StringType value)
value - eventName (The name of the event (if this is a named-event trigger).). This is the underlying object with id, value and extensions. The accessor "getEventName" gives direct access to the valuepublic String getEventName()
public TriggerDefinition setEventName(String value)
value - The name of the event (if this is a named-event trigger).public Type getEventTiming()
eventTiming (The timing of the event (if this is a period trigger).)public Timing getEventTimingTiming() throws FHIRException
eventTiming (The timing of the event (if this is a period trigger).)FHIRExceptionpublic boolean hasEventTimingTiming()
public Reference getEventTimingReference() throws FHIRException
eventTiming (The timing of the event (if this is a period trigger).)FHIRExceptionpublic boolean hasEventTimingReference()
public DateType getEventTimingDateType() throws FHIRException
eventTiming (The timing of the event (if this is a period trigger).)FHIRExceptionpublic boolean hasEventTimingDateType()
public DateTimeType getEventTimingDateTimeType() throws FHIRException
eventTiming (The timing of the event (if this is a period trigger).)FHIRExceptionpublic boolean hasEventTimingDateTimeType()
public boolean hasEventTiming()
public TriggerDefinition setEventTiming(Type value)
value - eventTiming (The timing of the event (if this is a period trigger).)public DataRequirement getEventData()
eventData (The triggering data of the event (if this is a data trigger).)public boolean hasEventData()
public TriggerDefinition setEventData(DataRequirement value)
value - eventData (The triggering data of the event (if this is a data trigger).)protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class ElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ElementFHIRExceptionpublic TriggerDefinition copy()
protected TriggerDefinition typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2017 University Health Network. All rights reserved.