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

com.silanis.esl.api.model.ConditionalField Maven / Gradle / Ivy

The newest version!
package com.silanis.esl.api.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class ConditionalField extends Field {

    @JsonIgnore
    private static final String FIELD_CONDITIONS = "conditions";

    private List conditions;

    public ConditionalField() { }

    public Field setConditions(List value) {

        this.conditions = value;
        setDirty(FIELD_CONDITIONS);
        return this;
    }

    public List getConditions() {
        return conditions;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy