package jp.satomichan.nucalgen.addition; public class AcCell { private String value; private AcCellType type; private String alias; public AcCell(){ //System.out.println("Cell#Cell()"); } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public AcCellType getCellType() { return type; } public String getType() { return type.getId(); } public void setType(String type) { AcCellType[] types = AcCellType.values(); for(AcCellType aType : types) { if(aType.getId().equals(type)){ this.setType(aType); } } } private void setType(AcCellType type) { this.type = type; } public String getAlias() { return alias; } public void setAlias(String alias) { this.alias = alias; } }