Coverage Report - org.apache.archiva.web.xmlrpc.api.beans.Artifact
 
Classes in this File Line Coverage Branch Coverage Complexity
Artifact
0%
0/24
N/A
0
 
 1  
 package org.apache.archiva.web.xmlrpc.api.beans;
 2  
 
 3  
 /*
 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
 11  
  *
 12  
  *   http://www.apache.org/licenses/LICENSE-2.0
 13  
  *
 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
 19  
  * under the License.
 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  
     //private Date whenGathered;
 42  
     
 43  
     public Artifact()
 44  0
     {
 45  
 
 46  0
     }
 47  
 
 48  
     public Artifact( String repositoryId, String groupId, String artifactId, String version, String type )
 49  
 //                     String type, Date whenGathered )
 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  
         //this.whenGathered = whenGathered;
 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  
     /*public Date getWhenGathered()
 85  
     {
 86  
         return whenGathered;
 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  
     /*@ServiceBeanField( "whenGathered" )
 120  
     public void setWhenGathered( Date whenGathered )
 121  
     {
 122  
         this.whenGathered = whenGathered;
 123  
     }*/    
 124  
 }