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.typerelation; 017 018import org.kuali.rice.core.api.mo.common.Identifiable; 019import org.kuali.rice.core.api.mo.common.Versioned; 020import org.kuali.rice.core.api.mo.common.active.Inactivatable; 021 022/** 023 * Defines the contract for a {@link TypeTypeRelation} 024 * 025 * @see TypeTypeRelation 026 * 027 * @author Kuali Rice Team (rice.collab@kuali.org) 028 */ 029public interface TypeTypeRelationContract extends Identifiable, Inactivatable, Versioned { 030 /** 031 * This is the FromTypeId of the TypeTypeRelation 032 * <p> 033 * The FromTypeId of the TypeTypeRelation 034 * </p> 035 * @return the FromTypeId of the TypeTypeRelation 036 */ 037 String getFromTypeId(); 038 /** 039 * This is the ToTypeId of the TypeTypeRelation 040 * <p> 041 * The ToTypeId of the TypeTypeRelation 042 * </p> 043 * @return the ToTypeId of the TypeTypeRelation 044 */ 045 String getToTypeId(); 046 /** 047 * This is the RelationshipType of the TypeTypeRelation 048 * <p> 049 * The RelationshipType of the TypeTypeRelation 050 * </p> 051 * @return the RelationshipType of the TypeTypeRelation 052 */ 053 RelationshipType getRelationshipType(); 054 055 Integer getSequenceNumber(); 056}