Package be.fgov.ehealth.dics.protocol.v4

# Class ConsultVirtualIngredientType

java.lang.Object
be.fgov.ehealth.dics.core.v4.virtual.common.VirtualIngredientKeyType
be.fgov.ehealth.dics.protocol.v4.ConsultVirtualIngredientType

All Implemented Interfaces:
  `Serializable`

@Generated(value="com.sun.tools.xjc.Driver", date="2025-09-16T05:17:33+02:00", comments="JAXB RI v4.0.5") public class ConsultVirtualIngredientType extends VirtualIngredientKeyType implements Serializable

Java class for ConsultVirtualIngredientType complex type

.

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

     <complexType name="ConsultVirtualIngredientType">
       <complexContent>
         <extension base="{urn:be:fgov:ehealth:dics:core:v4:virtual:common}VirtualIngredientKeyType">
           <sequence>
             <element name="Type" type="{urn:be:fgov:ehealth:dics:core:v4:core}IngredientTypeType"/>
             <element name="Strength" type="{urn:be:fgov:ehealth:dics:core:v4:core}StrengthRangeType" minOccurs="0"/>
             <element name="Substance" type="{urn:be:fgov:ehealth:dics:protocol:v4}SubstanceWithStandardsType"/>
             <element name="RealVirtualIngredient" type="{urn:be:fgov:ehealth:dics:protocol:v4}ConsultRealVirtualIngredientType" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attGroup ref="{urn:be:fgov:ehealth:dics:protocol:v4}validityPeriod"/>
         </extension>
       </complexContent>
     </complexType>

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ConsultVirtualIngredientType()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Instant`
  `getEndDate()`
  Gets the value of the endDate property.
  `List<ConsultRealVirtualIngredientType>`
  `getRealVirtualIngredients()`
  Gets the value of the realVirtualIngredients property.
  `Instant`
  `getStartDate()`
  Gets the value of the startDate property.
  `StrengthRangeType`
  `getStrength()`
  Strength of the specified substance.
  `SubstanceWithStandardsType`
  `getSubstance()`
  Gets the value of the substance property.
  `String`
  `getType()`
  Type of use for the specified substance (given by the link to the reference entity Substance).
  `void`
  `setEndDate(Instant value)`
  Sets the value of the endDate property.
  `void`
  `setStartDate(Instant value)`
  Sets the value of the startDate property.
  `void`
  `setStrength(StrengthRangeType value)`
  Sets the value of the strength property.
  `void`
  `setSubstance(SubstanceWithStandardsType value)`
  Sets the value of the substance property.
  `void`
  `setType(String value)`
  Sets the value of the type property.

  ### Methods inherited from class be.fgov.ehealth.dics.core.v4.virtual.common.VirtualIngredientKeyType

  `getRank, setRank`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ConsultVirtualIngredientType

    public ConsultVirtualIngredientType()

- ## Method Details

  - ### getType

    public String getType()
    Type of use for the specified substance (given by the link to the reference entity Substance). Possible values : - ACTIVE_SUBSTANCE: the substance participates in the medicinal product effect ; - EXCIPIENT: not active substance used to make the medicinal product more attractive.
    Returns:
      possible object is `String`

  - ### setType

    public void setType(String value)
    Sets the value of the type property.
    Parameters:
      `value` - allowed object is `String`
    See Also:
      - `getType()`

  - ### getStrength

    public StrengthRangeType getStrength()
    Strength of the specified substance. Some substance quantities cannot be specified exactly, so a range is provided. If an exact quantity is known, minimum and maximum will have the same value.
    Returns:
      possible object is `StrengthRangeType`

  - ### setStrength

    public void setStrength(StrengthRangeType value)
    Sets the value of the strength property.
    Parameters:
      `value` - allowed object is `StrengthRangeType`
    See Also:
      - `getStrength()`

  - ### getSubstance

    public SubstanceWithStandardsType getSubstance()
    Gets the value of the substance property.
    Returns:
      possible object is `SubstanceWithStandardsType`

  - ### setSubstance

    public void setSubstance(SubstanceWithStandardsType value)
    Sets the value of the substance property.
    Parameters:
      `value` - allowed object is `SubstanceWithStandardsType`

  - ### getRealVirtualIngredients

    public List<ConsultRealVirtualIngredientType> getRealVirtualIngredients()
    Gets the value of the realVirtualIngredients 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 realVirtualIngredients property.

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

         getRealVirtualIngredients().add(newItem);

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

    Returns:
      The value of the realVirtualIngredients property.

  - ### getStartDate

    public Instant getStartDate()
    Gets the value of the startDate property.
    Returns:
      possible object is `String`

  - ### setStartDate

    public void setStartDate(Instant value)
    Sets the value of the startDate property.
    Parameters:
      `value` - allowed object is `String`

  - ### getEndDate

    public Instant getEndDate()
    Gets the value of the endDate property.
    Returns:
      possible object is `String`

  - ### setEndDate

    public void setEndDate(Instant value)
    Sets the value of the endDate property.
    Parameters:
      `value` - allowed object is `String`