]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/core/execution/PrimitiveSpecAttribute.java
Improve execution specs
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.simple / src / main / java / org / argeo / slc / core / execution / PrimitiveSpecAttribute.java
1 package org.argeo.slc.core.execution;
2
3 public class PrimitiveSpecAttribute extends AbstractSpecAttribute {
4 // public enum Type {
5 // string, integer
6 // }
7
8 public final static String TYPE_STRING = "string";
9 public final static String TYPE_INTEGER = "integer";
10 public final static String TYPE_LONG = "long";
11 public final static String TYPE_FLOAT = "float";
12 public final static String TYPE_DOUBLE = "double";
13 public final static String TYPE_BOOLEAN = "boolean";
14
15 private String type = "string";
16 private Object value = null;
17
18 public Object getValue() {
19 return value;
20 }
21
22 public void setValue(Object value) {
23 this.value = value;
24 }
25
26 public String getType() {
27 return type;
28 }
29
30 public void setType(String type) {
31 this.type = type;
32 }
33
34 }