001 /** 002 * Copyright 2009-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.codehaus.mojo.properties; 017 018 public class Version { 019 020 String major; 021 String minor; 022 String incremental; 023 String qualifier; 024 boolean snapshot; 025 026 public String getMajor() { 027 return major; 028 } 029 030 public void setMajor(String major) { 031 this.major = major; 032 } 033 034 public String getMinor() { 035 return minor; 036 } 037 038 public void setMinor(String minor) { 039 this.minor = minor; 040 } 041 042 public String getIncremental() { 043 return incremental; 044 } 045 046 public void setIncremental(String incremental) { 047 this.incremental = incremental; 048 } 049 050 public String getQualifier() { 051 return qualifier; 052 } 053 054 public void setQualifier(String qualifier) { 055 this.qualifier = qualifier; 056 } 057 058 public boolean isSnapshot() { 059 return snapshot; 060 } 061 062 public void setSnapshot(boolean snapshot) { 063 this.snapshot = snapshot; 064 } 065 066 }