]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/RefSpecAttribute.java
Execution attribute of type ref now supported (break data model)
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / core / execution / RefSpecAttribute.java
index 524979af2b8b87a584a49170d4d5d00f4cefbdef..c6c5b035d08f601c77647f15d673d6fa5e13acb8 100644 (file)
@@ -20,10 +20,11 @@ import java.util.List;
 
 public class RefSpecAttribute extends AbstractSpecAttribute implements
                Cloneable {
-       private Class<?> targetClass;
+       private static final long serialVersionUID = -3427797452955753574L;
+       private transient Class<?> targetClass;
        /** Read only. */
        private String targetClassName;
-       private Object value = null;
+       private transient Object value = null;
 
        private List<RefValueChoice> choices = null;
 
@@ -67,7 +68,8 @@ public class RefSpecAttribute extends AbstractSpecAttribute implements
 
        @Override
        public String toString() {
-               return "Ref spec attribute [" + targetClass + "]";
+               return "Ref spec attribute [" + targetClass + "]"
+                               + (value != null ? "=" + value : "");
        }
 
 }