「付加行」機能 実装(いちおう)完了。
[nucalgen] / nucalgen / src / main / java / jp / satomichan / nucalgen / addition / AcCell.java
index b2d881d5f06878a1b61879884ed9f4b2a2b1e6aa..20a07dfcfca8b2ccc19444071a3b5b55629583ff 100644 (file)
@@ -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;
+       }
 }