1 package org.apache.archiva.web.xmlrpc.api.beans;
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
22 import java.io.Serializable;
23 import java.util.Date;
25 import com.atlassian.xmlrpc.ServiceBean;
26 import com.atlassian.xmlrpc.ServiceBeanField;
30 implements Serializable
32 private String repositoryId;
34 private String groupId;
36 private String artifactId;
38 private String version;
42 private Date whenGathered;
49 public Artifact( String repositoryId, String groupId, String artifactId, String version,
50 String type, Date whenGathered )
52 this.repositoryId = repositoryId;
53 this.groupId = groupId;
54 this.artifactId = artifactId;
55 this.version = version;
57 this.whenGathered = whenGathered;
60 public String getGroupId()
65 public String getArtifactId()
70 public String getVersion()
75 public String getType()
80 public Date getWhenGathered()
85 @ServiceBeanField( "groupId" )
86 public void setGroupId( String groupId )
88 this.groupId = groupId;
91 @ServiceBeanField( "artifactId" )
92 public void setArtifactId( String artifactId )
94 this.artifactId = artifactId;
97 @ServiceBeanField( "version" )
98 public void setVersion( String version )
100 this.version = version;
103 @ServiceBeanField( "type" )
104 public void setType( String type )
109 @ServiceBeanField( "whenGathered" )
110 public void setWhenGathered( Date whenGathered )
112 this.whenGathered = whenGathered;
115 public String getRepositoryId()
120 public void setRepositoryId( String repositoryId )
122 this.repositoryId = repositoryId;