X-Git-Url: https://satomichan.jp/gitweb/?p=nucalgen;a=blobdiff_plain;f=nucalgen%2Fsrc%2Fmain%2Fjava%2Fjp%2Fsatomichan%2Fnucalgen%2Faddition%2FAcCell.java;fp=nucalgen%2Fsrc%2Fmain%2Fjava%2Fjp%2Fsatomichan%2Fnucalgen%2Faddition%2FAcCell.java;h=20a07dfcfca8b2ccc19444071a3b5b55629583ff;hp=b2d881d5f06878a1b61879884ed9f4b2a2b1e6aa;hb=5ead7185b8b04d74757dd3a9b07caf0f9eca4e63;hpb=b044ded26417f6c8bba39a781f34aadc93a00d42 diff --git a/nucalgen/src/main/java/jp/satomichan/nucalgen/addition/AcCell.java b/nucalgen/src/main/java/jp/satomichan/nucalgen/addition/AcCell.java index b2d881d..20a07df 100644 --- a/nucalgen/src/main/java/jp/satomichan/nucalgen/addition/AcCell.java +++ b/nucalgen/src/main/java/jp/satomichan/nucalgen/addition/AcCell.java @@ -2,11 +2,11 @@ package jp.satomichan.nucalgen.addition; public class AcCell { private String value; - private AcCellType type; + private String formula; private String alias; public AcCell(){ - //System.out.println("Cell#Cell()"); + // } public String getValue() { @@ -16,28 +16,7 @@ public class AcCell { 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; @@ -46,4 +25,12 @@ public class AcCell { public void setAlias(String alias) { this.alias = alias; } + + public String getFormula() { + return formula; + } + + public void setFormula(String formula) { + this.formula = formula; + } }