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

com.sap.ipe.ble.irp.handler.messages.ExtensionMessage Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package com.sap.ipe.ble.irp.handler.messages;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.stereotype.Component;
import java.util.List;

/***
 * ExtensionMessage class is used to show the messages returned from the Remote Handler on th UI
 */
@Component
@JsonIgnoreProperties(ignoreUnknown = true)
public class ExtensionMessage{

    @JsonProperty("Messages")
    private List messages;

    /**
     * This method is used to specify as default constructor
     */
    public ExtensionMessage() {
    }

    /**
     * This method is used to get all the messages
     * @return messages to be shown
     */
    public List getMessages() {
        return messages;
    }

    /***
     * This method is used to set all the messages
     * @param messages setting messages to show on UI
     */
    public void setMessages(List messages) {
        this.messages = messages;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy