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=b2d881d5f06878a1b61879884ed9f4b2a2b1e6aa;hp=0000000000000000000000000000000000000000;hb=b044ded26417f6c8bba39a781f34aadc93a00d42;hpb=f7ef7136ab18af5d913f23185dacacf9e1800384 diff --git a/nucalgen/src/main/java/jp/satomichan/nucalgen/addition/AcCell.java b/nucalgen/src/main/java/jp/satomichan/nucalgen/addition/AcCell.java new file mode 100644 index 0000000..b2d881d --- /dev/null +++ b/nucalgen/src/main/java/jp/satomichan/nucalgen/addition/AcCell.java @@ -0,0 +1,49 @@ +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; + } +}