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