]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.api/src/org/argeo/slc/primitive/PrimitiveValue.java
Upgrade all classpaths to Java 11
[gpl/argeo-slc.git] / org.argeo.slc.api / src / org / argeo / slc / primitive / PrimitiveValue.java
1 package org.argeo.slc.primitive;
2
3 import org.argeo.slc.execution.AbstractExecutionValue;
4
5 /** Primitive value to be used by an execution. */
6 public class PrimitiveValue extends AbstractExecutionValue implements
7 PrimitiveAccessor {
8 private static final long serialVersionUID = 533414290998374166L;
9
10 private String type;
11
12 private Object value;
13
14 public PrimitiveValue() {
15 }
16
17 public PrimitiveValue(String type, Object value) {
18 super();
19 this.type = type;
20 this.value = value;
21 }
22
23 public String getType() {
24 return type;
25 }
26
27 public void setType(String type) {
28 this.type = type;
29 }
30
31 public Object getValue() {
32 return value;
33 }
34
35 public void setValue(Object value) {
36 this.value = value;
37 }
38
39 }