]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/PrimitiveSpecAttribute.java
bba3be7a0e2d65cb9fa228867894956f3c0f07be
1 package org
.argeo
.slc
.core
.execution
;
3 import org
.argeo
.slc
.SlcException
;
5 public class PrimitiveSpecAttribute
extends AbstractSpecAttribute
implements
7 private String type
= "string";
8 private Object value
= null;
10 public Object
getValue() {
14 public void setValue(Object value
) {
18 public String
getType() {
22 public void setType(String type
) {
23 // check whether type is recognized.
24 if (PrimitiveUtils
.typeAsClass(type
) == null)
25 throw new SlcException("Unrecognized type " + type
);