001/**
002 * Copyright 2005-2016 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 org.kuali.rice.krms.api.repository.term;
017
018import org.kuali.rice.core.api.mo.common.Identifiable;
019import org.kuali.rice.core.api.mo.common.Versioned;
020
021/**
022 * <p>The contract for a {@link TermParameterDefinition} which defines a term parameter.  This is simply
023 * a name and a value that is associated with a term by an identifier.
024 * </p>
025 * 
026 * @author Kuali Rice Team (rice.collab@kuali.org)
027 * @see TermParameterDefinition
028 */
029public interface TermParameterDefinitionContract extends Identifiable, Versioned {
030
031    /**
032     * Gets the identifier for the term that this parameter belongs to.  May be null, must not be empty.
033     *
034     * @return the term identifier
035     */
036        String getTermId();
037
038    /**
039     * Gets the name of this parameter.  Must not be null or empty.
040     *
041     * @return the name of this parameter
042     */
043        String getName();
044
045    /**
046     * Gets the value of this parameter.  May be null.
047     *
048     * @return the value of this parameter
049     */
050        String getValue();
051
052}