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

com.github.siwenyan.si.model.SiModelCommand Maven / Gradle / Ivy

There is a newer version: 1.25.1.0
Show newest version
package com.github.siwenyan.si.model;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

public class SiModelCommand {
    private String id = UUID.randomUUID().toString();
    private String comment = "";
    private String command = "";
    private String target = "";
    private List> targets = new ArrayList>();
    private String value = "";
    private Boolean opensWindow = null;
    private String windowHandleName = null;
    private Long windowTimeout = null;

    @Override
    public String toString() {
        return this.command;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public List> getTargets() {
        return targets;
    }

    public void setTargets(List> targets) {
        this.targets = targets;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Long getWindowTimeout() {
        return windowTimeout;
    }

    public void setWindowTimeout(Long windowTimeout) {
        this.windowTimeout = windowTimeout;
    }

    public String getWindowHandleName() {
        return windowHandleName;
    }

    public void setWindowHandleName(String windowHandleName) {
        this.windowHandleName = windowHandleName;
    }

    public Boolean getOpensWindow() {
        return null == opensWindow ? false : opensWindow;
    }

    public void setOpensWindow(Boolean opensWindow) {
        this.opensWindow = opensWindow;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy