Class FunctionDef

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    public class FunctionDef
    extends ExpressionDef
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    The FunctionDef type defines a named function that can be invoked by any expression in the artifact. Function names must be unique within the artifact. Functions may take any number of operands.

    Java class for FunctionDef complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="FunctionDef">
       <complexContent>
         <extension base="{urn:hl7-org:elm:r1}ExpressionDef">
           <sequence>
             <element name="operand" type="{urn:hl7-org:elm:r1}OperandDef" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="external" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="fluent" type="{http://www.w3.org/2001/XMLSchema}boolean" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • operand

        protected java.util.List<OperandDef> operand
      • external

        protected java.lang.Boolean external
      • fluent

        protected java.lang.Boolean fluent
    • Constructor Detail

      • FunctionDef

        public FunctionDef()
    • Method Detail

      • getOperand

        public java.util.List<OperandDef> getOperand()
        Gets the value of the operand property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the operand property.

        For example, to add a new item, do as follows:

            getOperand().add(newItem);
         

        Objects of the following type(s) are allowed in the list OperandDef

      • isExternal

        public java.lang.Boolean isExternal()
        Gets the value of the external property.
        Returns:
        possible object is Boolean
      • setExternal

        public void setExternal​(java.lang.Boolean value)
        Sets the value of the external property.
        Parameters:
        value - allowed object is Boolean
      • isFluent

        public java.lang.Boolean isFluent()
        Gets the value of the fluent property.
        Returns:
        possible object is Boolean
      • setFluent

        public void setFluent​(java.lang.Boolean value)
        Sets the value of the fluent property.
        Parameters:
        value - allowed object is Boolean
      • withExternal

        public FunctionDef withExternal​(java.lang.Boolean value)
      • withFluent

        public FunctionDef withFluent​(java.lang.Boolean 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)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class ExpressionDef
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class ExpressionDef
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
        Overrides:
        hashCode in class ExpressionDef
      • append

        public java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                              java.lang.StringBuilder buffer,
                                              org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class ExpressionDef
      • 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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class ExpressionDef