1 | |
package org.apache.archiva.web.xmlrpc.api.beans; |
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
import java.io.Serializable; |
23 | |
|
24 | |
import com.atlassian.xmlrpc.ServiceBean; |
25 | |
import com.atlassian.xmlrpc.ServiceBeanField; |
26 | |
|
27 | |
@ServiceBean |
28 | |
public class Artifact |
29 | |
implements Serializable |
30 | |
{ |
31 | |
private String repositoryId; |
32 | |
|
33 | |
private String groupId; |
34 | |
|
35 | |
private String artifactId; |
36 | |
|
37 | |
private String version; |
38 | |
|
39 | |
private String type; |
40 | |
|
41 | |
|
42 | |
|
43 | |
public Artifact() |
44 | 0 | { |
45 | |
|
46 | 0 | } |
47 | |
|
48 | |
public Artifact( String repositoryId, String groupId, String artifactId, String version, String type ) |
49 | |
|
50 | 0 | { |
51 | 0 | this.repositoryId = repositoryId; |
52 | 0 | this.groupId = groupId; |
53 | 0 | this.artifactId = artifactId; |
54 | 0 | this.version = version; |
55 | 0 | this.type = type; |
56 | |
|
57 | 0 | } |
58 | |
|
59 | |
public String getGroupId() |
60 | |
{ |
61 | 0 | return groupId; |
62 | |
} |
63 | |
|
64 | |
public String getArtifactId() |
65 | |
{ |
66 | 0 | return artifactId; |
67 | |
} |
68 | |
|
69 | |
public String getVersion() |
70 | |
{ |
71 | 0 | return version; |
72 | |
} |
73 | |
|
74 | |
public String getType() |
75 | |
{ |
76 | 0 | return type; |
77 | |
} |
78 | |
|
79 | |
public String getRepositoryId() |
80 | |
{ |
81 | 0 | return repositoryId; |
82 | |
} |
83 | |
|
84 | |
|
85 | |
|
86 | |
|
87 | |
|
88 | |
|
89 | |
@ServiceBeanField( "groupId" ) |
90 | |
public void setGroupId( String groupId ) |
91 | |
{ |
92 | 0 | this.groupId = groupId; |
93 | 0 | } |
94 | |
|
95 | |
@ServiceBeanField( "artifactId" ) |
96 | |
public void setArtifactId( String artifactId ) |
97 | |
{ |
98 | 0 | this.artifactId = artifactId; |
99 | 0 | } |
100 | |
|
101 | |
@ServiceBeanField( "version" ) |
102 | |
public void setVersion( String version ) |
103 | |
{ |
104 | 0 | this.version = version; |
105 | 0 | } |
106 | |
|
107 | |
@ServiceBeanField( "type" ) |
108 | |
public void setType( String type ) |
109 | |
{ |
110 | 0 | this.type = type; |
111 | 0 | } |
112 | |
|
113 | |
@ServiceBeanField( "repositoryId" ) |
114 | |
public void setRepositoryId( String repositoryId ) |
115 | |
{ |
116 | 0 | this.repositoryId = repositoryId; |
117 | 0 | } |
118 | |
|
119 | |
|
120 | |
|
121 | |
|
122 | |
|
123 | |
|
124 | |
} |