001/** 002 * Copyright 2005-2015 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 */ 016package edu.sampleu.travel.options; 017 018import org.kuali.rice.core.api.mo.common.Coded; 019 020/** 021 * This enum provides location based trip options for travel destinations 022 * 023 * @author Kuali Rice Team (rice.collab@kuali.org) 024 */ 025public enum TripType implements Coded { 026 027 IS("IS", "In State"), IN("IN", "International"), OS("OS", "Out of State"); 028 029 private final String code; 030 private final String label; 031 032 TripType(String code, String label) { 033 this.code = code; 034 this.label = label; 035 } 036 037 @Override 038 public String getCode() { 039 return code; 040 } 041 042 public String getLabel() { 043 return label; 044 } 045 046}