Package org.hl7.fhir
Class ActionDefinitionRelatedAction
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.ActionDefinitionRelatedAction
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ActionDefinitionRelatedAction 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 ActionDefinition.RelatedAction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ActionDefinition.RelatedAction"> <complexContent> <extension base="{http://hl7.org/fhir}Element"> <sequence> <element name="actionIdentifier" type="{http://hl7.org/fhir}Identifier"/> <element name="relationship" type="{http://hl7.org/fhir}ActionRelationshipType"/> <choice minOccurs="0"> <element name="offsetQuantity" type="{http://hl7.org/fhir}Duration"/> <element name="offsetRange" type="{http://hl7.org/fhir}Range"/> </choice> <element name="anchor" type="{http://hl7.org/fhir}ActionRelationshipAnchor" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected IdentifieractionIdentifierprotected ActionRelationshipAnchoranchorprotected DurationoffsetQuantityprotected RangeoffsetRangeprotected ActionRelationshipTyperelationship
-
Constructor Summary
Constructors Constructor Description ActionDefinitionRelatedAction()
-
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)IdentifiergetActionIdentifier()Gets the value of the actionIdentifier property.ActionRelationshipAnchorgetAnchor()Gets the value of the anchor property.DurationgetOffsetQuantity()Gets the value of the offsetQuantity property.RangegetOffsetRange()Gets the value of the offsetRange property.ActionRelationshipTypegetRelationship()Gets the value of the relationship property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetActionIdentifier(Identifier value)Sets the value of the actionIdentifier property.voidsetAnchor(ActionRelationshipAnchor value)Sets the value of the anchor property.voidsetOffsetQuantity(Duration value)Sets the value of the offsetQuantity property.voidsetOffsetRange(Range value)Sets the value of the offsetRange property.voidsetRelationship(ActionRelationshipType value)Sets the value of the relationship property.java.lang.StringtoString()ActionDefinitionRelatedActionwithActionIdentifier(Identifier value)ActionDefinitionRelatedActionwithAnchor(ActionRelationshipAnchor value)ActionDefinitionRelatedActionwithExtension(java.util.Collection<Extension> values)ActionDefinitionRelatedActionwithExtension(Extension... values)ActionDefinitionRelatedActionwithId(java.lang.String value)ActionDefinitionRelatedActionwithOffsetQuantity(Duration value)ActionDefinitionRelatedActionwithOffsetRange(Range value)ActionDefinitionRelatedActionwithRelationship(ActionRelationshipType value)-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
actionIdentifier
protected Identifier actionIdentifier
-
relationship
protected ActionRelationshipType relationship
-
offsetQuantity
protected Duration offsetQuantity
-
offsetRange
protected Range offsetRange
-
anchor
protected ActionRelationshipAnchor anchor
-
-
Method Detail
-
getActionIdentifier
public Identifier getActionIdentifier()
Gets the value of the actionIdentifier property.- Returns:
- possible object is
Identifier
-
setActionIdentifier
public void setActionIdentifier(Identifier value)
Sets the value of the actionIdentifier property.- Parameters:
value- allowed object isIdentifier
-
getRelationship
public ActionRelationshipType getRelationship()
Gets the value of the relationship property.- Returns:
- possible object is
ActionRelationshipType
-
setRelationship
public void setRelationship(ActionRelationshipType value)
Sets the value of the relationship property.- Parameters:
value- allowed object isActionRelationshipType
-
getOffsetQuantity
public Duration getOffsetQuantity()
Gets the value of the offsetQuantity property.- Returns:
- possible object is
Duration
-
setOffsetQuantity
public void setOffsetQuantity(Duration value)
Sets the value of the offsetQuantity property.- Parameters:
value- allowed object isDuration
-
getOffsetRange
public Range getOffsetRange()
Gets the value of the offsetRange property.- Returns:
- possible object is
Range
-
setOffsetRange
public void setOffsetRange(Range value)
Sets the value of the offsetRange property.- Parameters:
value- allowed object isRange
-
getAnchor
public ActionRelationshipAnchor getAnchor()
Gets the value of the anchor property.- Returns:
- possible object is
ActionRelationshipAnchor
-
setAnchor
public void setAnchor(ActionRelationshipAnchor value)
Sets the value of the anchor property.- Parameters:
value- allowed object isActionRelationshipAnchor
-
withActionIdentifier
public ActionDefinitionRelatedAction withActionIdentifier(Identifier value)
-
withRelationship
public ActionDefinitionRelatedAction withRelationship(ActionRelationshipType value)
-
withOffsetQuantity
public ActionDefinitionRelatedAction withOffsetQuantity(Duration value)
-
withOffsetRange
public ActionDefinitionRelatedAction withOffsetRange(Range value)
-
withAnchor
public ActionDefinitionRelatedAction withAnchor(ActionRelationshipAnchor value)
-
withExtension
public ActionDefinitionRelatedAction withExtension(Extension... values)
- Overrides:
withExtensionin classElement
-
withExtension
public ActionDefinitionRelatedAction withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classElement
-
withId
public ActionDefinitionRelatedAction 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
-
-