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

de.focus_shift.jollyday.jackson.mapping.MoveableHoliday 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 java.util.ArrayList;
import java.util.List;

public abstract class MoveableHoliday extends Holiday {

  @JacksonXmlElementWrapper(localName = "MovingCondition", useWrapping = false)
  protected List movingCondition;

  /**
   * Gets the value of the movingCondition 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 Jakarta XML Binding object. * This is why there is not a set method for the movingCondition property. * *

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

   *    getMovingCondition().add(newItem);
   * 
* * *

* Objects of the following type(s) are allowed in the list * {@link MovingCondition } */ public List getMovingCondition() { if (movingCondition == null) { movingCondition = new ArrayList<>(); } return this.movingCondition; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy