All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.focus_shift.jollyday.jackson.mapping.RelativeToWeekdayInMonth Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
package de.focus_shift.jollyday.jackson.mapping;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

public class RelativeToWeekdayInMonth extends Holiday {

  @JacksonXmlElementWrapper(localName = "FixedWeekdayInMonth", useWrapping = false)
  protected FixedWeekdayInMonth fixedWeekday;
  @JacksonXmlProperty(localName = "weekday", isAttribute = true)
  protected Weekday weekday;
  @JacksonXmlProperty(localName = "when", isAttribute = true)
  protected When when;

  /**
   * Gets the value of the fixedWeekday property.
   *
   * @return possible object is
   * {@link FixedWeekdayInMonth }
   */
  public FixedWeekdayInMonth getFixedWeekday() {
    return fixedWeekday;
  }

  /**
   * Sets the value of the fixedWeekday property.
   *
   * @param value allowed object is
   *              {@link FixedWeekdayInMonth }
   */
  public void setFixedWeekday(FixedWeekdayInMonth value) {
    this.fixedWeekday = value;
  }

  /**
   * Gets the value of the weekday property.
   *
   * @return possible object is
   * {@link Weekday }
   */
  public Weekday getWeekday() {
    return weekday;
  }

  /**
   * Sets the value of the weekday property.
   *
   * @param value allowed object is
   *              {@link Weekday }
   */
  public void setWeekday(Weekday value) {
    this.weekday = value;
  }

  /**
   * Gets the value of the when property.
   *
   * @return possible object is
   * {@link When }
   */
  public When getWhen() {
    return when;
  }

  /**
   * Sets the value of the when property.
   *
   * @param value allowed object is
   *              {@link When }
   */
  public void setWhen(When value) {
    this.when = value;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy