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

org.dajlab.laposte.domaine.LPShipment Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2020 Erik Amzallag
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.dajlab.laposte.domaine;

import java.util.Calendar;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Détail de l’objet.
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class LPShipment {

	/**
	 * Métier en charge de l'objet.
	 */
	private Integer holder;
	/**
	 * Identifiant métier de l'objet.
	 */
	private String idShip;
	/**
	 * URL vers le suivi web détaillé.
	 */
	private String urlDetail;
	/**
	 * Dénomination du produit.
	 */
	private String product;
	/**
	 * Objet est-il au statut final ?
	 */
	private boolean isFinal;
	/**
	 * Date de prise en charge.
	 */
	private Calendar entryDate;
	/**
	 * Date de livraison.
	 */
	private Calendar deliveryDate;

	/**
	 * Liste des évènements - Fournie selon un ordre anti-chronologique.
	 */
	private List event;

	/**
	 * Objet définissant la timeline.
	 */
	private List timeline;

	/**
	 * Informations supplémentaires.
	 */
	private LPContextData contextData;

	/**
	 * @return the holder
	 */
	public Integer getHolder() {
		return holder;
	}

	/**
	 * @param holder the holder to set
	 */
	public void setHolder(Integer holder) {
		this.holder = holder;
	}

	/**
	 * @return the idShip
	 */
	public String getIdShip() {
		return idShip;
	}

	/**
	 * @param idShip the idShip to set
	 */
	public void setIdShip(String idShip) {
		this.idShip = idShip;
	}

	/**
	 * @return the product
	 */
	public String getProduct() {
		return product;
	}

	/**
	 * @param product the product to set
	 */
	public void setProduct(String product) {
		this.product = product;
	}

	/**
	 * @return the isFinal
	 */
	public boolean isFinal() {
		return isFinal;
	}

	/**
	 * @param isFinal the isFinal to set
	 */
	public void setFinal(boolean isFinal) {
		this.isFinal = isFinal;
	}

	/**
	 * @return the entryDate
	 */
	public Calendar getEntryDate() {
		return entryDate;
	}

	/**
	 * @param entryDate the entryDate to set
	 */
	public void setEntryDate(Calendar entryDate) {
		this.entryDate = entryDate;
	}

	/**
	 * @return the event
	 */
	public List getEvent() {
		return event;
	}

	/**
	 * @param event the event to set
	 */
	public void setEvent(List event) {
		this.event = event;
	}

	/**
	 * @return the timeline
	 */
	public List getTimeline() {
		return timeline;
	}

	/**
	 * @param timeline the timeline to set
	 */
	public void setTimeline(List timeline) {
		this.timeline = timeline;
	}

	/**
	 * @return the contextData
	 */
	public LPContextData getContextData() {
		return contextData;
	}

	/**
	 * @param contextData the contextData to set
	 */
	public void setContextData(LPContextData contextData) {
		this.contextData = contextData;
	}

	/**
	 * @return the urlDetail
	 */
	public String getUrlDetail() {
		return urlDetail;
	}

	/**
	 * @param urlDetail the urlDetail to set
	 */
	public void setUrlDetail(String urlDetail) {
		this.urlDetail = urlDetail;
	}

	/**
	 * @return the deliveryDate
	 */
	public Calendar getDeliveryDate() {
		return deliveryDate;
	}

	/**
	 * @param deliveryDate the deliveryDate to set
	 */
	public void setDeliveryDate(Calendar deliveryDate) {
		this.deliveryDate = deliveryDate;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy