de.focus_shift.jollyday.jackson.mapping.MoveableHoliday Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jollyday-jackson Show documentation
Show all versions of jollyday-jackson Show documentation
Jackson based jollyday implementation
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