X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.core%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fcore%2Fexecution%2FAbstractSpecAttribute.java;h=109c0335e0446d3b48088c7cfae2623c8f7796ab;hb=6de9c4036be9e318f59a0ffa187570f5999c53cb;hp=abe0451148edf725a0713a3892ee425a6de3d0d5;hpb=3781dcd363f0f6265fae0ac758fd40cf4254ebc9;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/AbstractSpecAttribute.java b/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/AbstractSpecAttribute.java index abe045114..109c0335e 100644 --- a/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/AbstractSpecAttribute.java +++ b/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/AbstractSpecAttribute.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Mathieu Baudier + * Copyright (C) 2007-2012 Argeo GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.argeo.slc.core.execution; import java.io.Serializable; @@ -28,6 +27,8 @@ public abstract class AbstractSpecAttribute implements ExecutionSpecAttribute, private Boolean isConstant = false; private Boolean isHidden = false; + private String description; + /** Has to be set at instantiation */ public Boolean getIsImmutable() { return isImmutable; @@ -78,4 +79,12 @@ public abstract class AbstractSpecAttribute implements ExecutionSpecAttribute, this.isConstant = isFrozen; } + public void setDescription(String description) { + this.description = description; + } + + public String getDescription() { + return description; + } + }