VariableInfo.java 798 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.aemfd.watchfolder.workflow;

import com.adobe.aemfd.watchfolder.workflow.api.payload.WorkflowVariable;

class VariableInfo
implements WorkflowVariable {
    String name;
    int propertyType;
    boolean isMultiple;
    Object value;

    VariableInfo() {
    }

    VariableInfo(VariableInfo def, Object newVal) {
        this.name = def.name;
        this.propertyType = def.propertyType;
        this.isMultiple = def.isMultiple;
        this.value = newVal;
    }

    public String getName() {
        return this.name;
    }

    public Object getValue() {
        return this.value;
    }

    public int getType() {
        return this.propertyType;
    }

    public boolean isMultiValued() {
        return this.isMultiple;
    }
}