X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.api.slc%2Fsrc%2Forg%2Fargeo%2Fapi%2Fslc%2Fprimitive%2FPrimitiveValue.java;fp=org.argeo.api.slc%2Fsrc%2Forg%2Fargeo%2Fapi%2Fslc%2Fprimitive%2FPrimitiveValue.java;h=136eaf7a1b9b42f3a71128d5011585f36ef7ab44;hb=09c9e5093fe1353aaac344ac8a8caf2e1dcc0778;hp=0000000000000000000000000000000000000000;hpb=8ff996a3380166be2ae9cf0ef0fa22c58e11746a;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.api.slc/src/org/argeo/api/slc/primitive/PrimitiveValue.java b/org.argeo.api.slc/src/org/argeo/api/slc/primitive/PrimitiveValue.java new file mode 100644 index 000000000..136eaf7a1 --- /dev/null +++ b/org.argeo.api.slc/src/org/argeo/api/slc/primitive/PrimitiveValue.java @@ -0,0 +1,39 @@ +package org.argeo.api.slc.primitive; + +import org.argeo.api.slc.execution.AbstractExecutionValue; + +/** Primitive value to be used by an execution. */ +public class PrimitiveValue extends AbstractExecutionValue implements + PrimitiveAccessor { + private static final long serialVersionUID = 533414290998374166L; + + private String type; + + private Object value; + + public PrimitiveValue() { + } + + public PrimitiveValue(String type, Object value) { + super(); + this.type = type; + this.value = value; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public Object getValue() { + return value; + } + + public void setValue(Object value) { + this.value = value; + } + +}