View Javadoc

1   /**
2    * Copyright 2010-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.common.util;
17  
18  /**
19   * Simple pojo uniquely identifying a physical software artifact. Strongly modeled after Maven's Artifact object
20   */
21  public class Artifact {
22  
23  	String groupId;
24  	String artifactId;
25  	String version;
26  	String classifier;
27  	String type;
28  
29  	public String getGroupId() {
30  		return groupId;
31  	}
32  
33  	public void setGroupId(String groupId) {
34  		this.groupId = groupId;
35  	}
36  
37  	public String getArtifactId() {
38  		return artifactId;
39  	}
40  
41  	public void setArtifactId(String artifactId) {
42  		this.artifactId = artifactId;
43  	}
44  
45  	public String getVersion() {
46  		return version;
47  	}
48  
49  	public void setVersion(String version) {
50  		this.version = version;
51  	}
52  
53  	public String getClassifier() {
54  		return classifier;
55  	}
56  
57  	public void setClassifier(String classifier) {
58  		this.classifier = classifier;
59  	}
60  
61  	public String getType() {
62  		return type;
63  	}
64  
65  	public void setType(String packaging) {
66  		this.type = packaging;
67  	}
68  
69  }