diff options
author | Olivier Lamy <olamy@apache.org> | 2012-06-13 12:16:24 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-06-13 12:16:24 +0000 |
commit | 235030c2bdc5a4e6218c5137ace6ec982cd9f066 (patch) | |
tree | 65aba9f83ea07960e519c366b5973a3c698d9d83 /archiva-modules/archiva-web/archiva-rest/archiva-rest-api | |
parent | 0db6c1faa2d8410c50c812dea0f62864e4bcdc07 (diff) | |
download | archiva-235030c2bdc5a4e6218c5137ace6ec982cd9f066.tar.gz archiva-235030c2bdc5a4e6218c5137ace6ec982cd9f066.zip |
fix download link in jsp webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1349787 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rest/archiva-rest-api')
-rw-r--r-- | archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/Artifact.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/Artifact.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/Artifact.java index 027aca7de..9f975e46a 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/Artifact.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/Artifact.java @@ -140,6 +140,17 @@ public class Artifact */ private String size; + /** + * @since 1.4-M3 + */ + private String type; + + + /** + * @since 1.4-M3 + */ + private String path; + public Artifact() { @@ -374,6 +385,26 @@ public class Artifact this.size = size; } + public String getType() + { + return type; + } + + public void setType( String type ) + { + this.type = type; + } + + public String getPath() + { + return path; + } + + public void setPath( String path ) + { + this.path = path; + } + @Override public String toString() { @@ -400,6 +431,9 @@ public class Artifact sb.append( ", classifier='" ).append( classifier ).append( '\'' ); sb.append( ", packaging='" ).append( packaging ).append( '\'' ); sb.append( ", fileExtension='" ).append( fileExtension ).append( '\'' ); + sb.append( ", size='" ).append( size ).append( '\'' ); + sb.append( ", type='" ).append( type ).append( '\'' ); + sb.append( ", path='" ).append( path ).append( '\'' ); sb.append( '}' ); return sb.toString(); } |