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

group.rober.base.param.model.ParamEntry Maven / Gradle / Ivy

The newest version!
package group.rober.base.param.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by luyu on 2018/1/17.
 */
public class ParamEntry implements Serializable {

    private String code;
    private String name;
    private String nameI18nCode;
    private String sortCode;
    private String intro;

    private Map itemMap = new LinkedHashMap();

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNameI18nCode() {
        return nameI18nCode;
    }

    public void setNameI18nCode(String nameI18nCode) {
        this.nameI18nCode = nameI18nCode;
    }

    public String getSortCode() {
        return sortCode;
    }

    public void setSortCode(String sortCode) {
        this.sortCode = sortCode;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }


    public ParamItemEntry getItem(String itemCode) {
        return itemMap.get(itemCode);
    }

    public void setItemMap(Map itemMap) {
        this.itemMap = itemMap;
    }

    public List getItems() {
        List itemList = new ArrayList();
        itemList.addAll(itemMap.values());
        return itemList;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy