001    /**
002     * Copyright 2010-2013 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.common.util;
017    
018    /**
019     * Simple pojo uniquely identifying a physical software artifact. Strongly modeled after Maven's Artifact object
020     */
021    public class Artifact {
022    
023            String groupId;
024            String artifactId;
025            String version;
026            String classifier;
027            String type;
028    
029            public String getGroupId() {
030                    return groupId;
031            }
032    
033            public void setGroupId(String groupId) {
034                    this.groupId = groupId;
035            }
036    
037            public String getArtifactId() {
038                    return artifactId;
039            }
040    
041            public void setArtifactId(String artifactId) {
042                    this.artifactId = artifactId;
043            }
044    
045            public String getVersion() {
046                    return version;
047            }
048    
049            public void setVersion(String version) {
050                    this.version = version;
051            }
052    
053            public String getClassifier() {
054                    return classifier;
055            }
056    
057            public void setClassifier(String classifier) {
058                    this.classifier = classifier;
059            }
060    
061            public String getType() {
062                    return type;
063            }
064    
065            public void setType(String packaging) {
066                    this.type = packaging;
067            }
068    
069    }