Package org.hl7.fhir.dstu2016may.model
Class ActionDefinition.ActionDefinitionRelatedActionComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.Element
-
- org.hl7.fhir.dstu2016may.model.ActionDefinition.ActionDefinitionRelatedActionComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatypeElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions
- Enclosing class:
- ActionDefinition
public static class ActionDefinition.ActionDefinitionRelatedActionComponent extends Element implements org.hl7.fhir.instance.model.api.IBaseDatatypeElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected IdentifieractionIdentifierThe unique identifier of the related action.protected Enumeration<ActionDefinition.ActionRelationshipAnchor>anchorAn optional indicator for how the relationship is anchored to the related action.protected TypeoffsetA duration or range of durations to apply to the relationship.protected Enumeration<ActionDefinition.ActionRelationshipType>relationshipThe relationship of this action to the related action.
-
Constructor Summary
Constructors Constructor Description ActionDefinitionRelatedActionComponent()ConstructorActionDefinitionRelatedActionComponent(Identifier actionIdentifier, Enumeration<ActionDefinition.ActionRelationshipType> relationship)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
actionIdentifier
protected Identifier actionIdentifier
The unique identifier of the related action.
-
relationship
protected Enumeration<ActionDefinition.ActionRelationshipType> relationship
The relationship of this action to the related action.
-
offset
protected Type offset
A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.
-
anchor
protected Enumeration<ActionDefinition.ActionRelationshipAnchor> anchor
An optional indicator for how the relationship is anchored to the related action. For example "before the start" or "before the end" of the related action.
-
-
Constructor Detail
-
ActionDefinitionRelatedActionComponent
public ActionDefinitionRelatedActionComponent()
Constructor
-
ActionDefinitionRelatedActionComponent
public ActionDefinitionRelatedActionComponent(Identifier actionIdentifier, Enumeration<ActionDefinition.ActionRelationshipType> relationship)
Constructor
-
-
Method Detail
-
getActionIdentifier
public Identifier getActionIdentifier()
- Returns:
actionIdentifier(The unique identifier of the related action.)
-
hasActionIdentifier
public boolean hasActionIdentifier()
-
setActionIdentifier
public ActionDefinition.ActionDefinitionRelatedActionComponent setActionIdentifier(Identifier value)
- Parameters:
value-actionIdentifier(The unique identifier of the related action.)
-
getRelationshipElement
public Enumeration<ActionDefinition.ActionRelationshipType> getRelationshipElement()
- Returns:
relationship(The relationship of this action to the related action.). This is the underlying object with id, value and extensions. The accessor "getRelationship" gives direct access to the value
-
hasRelationshipElement
public boolean hasRelationshipElement()
-
hasRelationship
public boolean hasRelationship()
-
setRelationshipElement
public ActionDefinition.ActionDefinitionRelatedActionComponent setRelationshipElement(Enumeration<ActionDefinition.ActionRelationshipType> value)
- Parameters:
value-relationship(The relationship of this action to the related action.). This is the underlying object with id, value and extensions. The accessor "getRelationship" gives direct access to the value
-
getRelationship
public ActionDefinition.ActionRelationshipType getRelationship()
- Returns:
- The relationship of this action to the related action.
-
setRelationship
public ActionDefinition.ActionDefinitionRelatedActionComponent setRelationship(ActionDefinition.ActionRelationshipType value)
- Parameters:
value- The relationship of this action to the related action.
-
getOffset
public Type getOffset()
- Returns:
offset(A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.)
-
getOffsetDuration
public Duration getOffsetDuration() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
offset(A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOffsetDuration
public boolean hasOffsetDuration()
-
getOffsetRange
public Range getOffsetRange() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
offset(A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOffsetRange
public boolean hasOffsetRange()
-
hasOffset
public boolean hasOffset()
-
setOffset
public ActionDefinition.ActionDefinitionRelatedActionComponent setOffset(Type value)
- Parameters:
value-offset(A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.)
-
getAnchorElement
public Enumeration<ActionDefinition.ActionRelationshipAnchor> getAnchorElement()
- Returns:
anchor(An optional indicator for how the relationship is anchored to the related action. For example "before the start" or "before the end" of the related action.). This is the underlying object with id, value and extensions. The accessor "getAnchor" gives direct access to the value
-
hasAnchorElement
public boolean hasAnchorElement()
-
hasAnchor
public boolean hasAnchor()
-
setAnchorElement
public ActionDefinition.ActionDefinitionRelatedActionComponent setAnchorElement(Enumeration<ActionDefinition.ActionRelationshipAnchor> value)
- Parameters:
value-anchor(An optional indicator for how the relationship is anchored to the related action. For example "before the start" or "before the end" of the related action.). This is the underlying object with id, value and extensions. The accessor "getAnchor" gives direct access to the value
-
getAnchor
public ActionDefinition.ActionRelationshipAnchor getAnchor()
- Returns:
- An optional indicator for how the relationship is anchored to the related action. For example "before the start" or "before the end" of the related action.
-
setAnchor
public ActionDefinition.ActionDefinitionRelatedActionComponent setAnchor(ActionDefinition.ActionRelationshipAnchor value)
- Parameters:
value- An optional indicator for how the relationship is anchored to the related action. For example "before the start" or "before the end" of the related action.
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classElement
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classElement- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public ActionDefinition.ActionDefinitionRelatedActionComponent copy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classElement
-
isEmpty
public boolean isEmpty()
-
-