Package be.ehealth.business.mycarenetdomaincommons.domain

# Class Period

java.lang.Object
be.ehealth.business.mycarenetdomaincommons.domain.Period

All Implemented Interfaces:
  `Serializable`

public class Period extends Object implements Serializable
maps to the mycarenet PeriodType. cfr documentation from mycarenet :

     •   Period: If the business request has a fixed period length, this can be omitted.  In case the business request has a variable period it must be provided.  See the relevant service catalogue for the specific rules.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Period(Instant begin, Instant end)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Instant`
  `getBegin()`
  `Instant`
  `getEnd()`
  `void`
  `setBegin(Instant begin)`
  `void`
  `setEnd(Instant end)`

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

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

- ## Constructor Details

  - ### Period

    public Period(Instant begin, Instant end)
    Parameters:
      `begin` -
      `end` -

- ## Method Details

  - ### getBegin

    public Instant getBegin()
    Returns:
      the begin

  - ### setBegin

    public void setBegin(Instant begin)
    Parameters:
      `begin` - the begin to set

  - ### getEnd

    public Instant getEnd()
    Returns:
      the end

  - ### setEnd

    public void setEnd(Instant end)
    Parameters:
      `end` - the end to set