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