001/** 002 * Copyright 2005-2018 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.kew.api.repository.type; 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 022import java.util.List; 023 024public interface KewTypeDefinitionContract extends Identifiable, Inactivatable, 025 Versioned { 026 027 /** 028 * This is the name for the KEWType 029 * 030 * <p> 031 * It is a name of a KEW type. 032 * </p> 033 * 034 * @return name for KEW type. 035 */ 036 public String getName(); 037 038 /** 039 * This is the namespace code. 040 * 041 * <p> 042 * It provides scope of the KEW type. 043 * </p> 044 * 045 * @return the namespace code of the KEW type. 046 */ 047 public String getNamespace(); 048 049 /** 050 * This is the name of the KEW KewType service 051 * 052 * @return the service name of the KEW type 053 */ 054 public String getServiceName(); 055 056 /** 057 * This method returns a list of attributes associated with the KewType 058 * 059 * @return a list of KewTypeAttribute objects. 060 */ 061 public List<? extends KewTypeAttributeContract> getAttributes(); 062}