]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/deploy/ModuleDescriptor.java
Introduce JCR agent. Client agent not needed anymore.
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / deploy / ModuleDescriptor.java
index 84608a15c432506709ca9195b7a68fc661b18d54..0a36002fb605151323a727077ed2e6df97aa7d24 100644 (file)
@@ -18,17 +18,18 @@ package org.argeo.slc.deploy;
 
 import org.argeo.slc.BasicNameVersion;
 
+/** The description of a versioned module. */
 public class ModuleDescriptor extends BasicNameVersion {
-       private static final long serialVersionUID = 3703329250058821882L;
-       private String label;
+       private static final long serialVersionUID = 4310820315478645419L;
+       private String title;
        private String description;
 
-       public String getLabel() {
-               return label;
+       public String getTitle() {
+               return title;
        }
 
-       public void setLabel(String label) {
-               this.label = label;
+       public void setTitle(String title) {
+               this.title = title;
        }
 
        public String getDescription() {
@@ -39,4 +40,14 @@ public class ModuleDescriptor extends BasicNameVersion {
                this.description = description;
        }
 
+       /** @deprecated use {@link #getTitle()} instead */
+       public String getLabel() {
+               return title;
+       }
+
+       /** @deprecated use {@link #setTitle(String)} instead */
+       public void setLabel(String label) {
+               this.title = label;
+       }
+
 }