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.active.Inactivatable;
020
021
022public interface KewTypeAttributeContract extends Identifiable, Inactivatable {
023
024        /**
025         * This is the KewType to which the attribute applies 
026         *
027         * <p>
028         * It is a id of a KEW type related to the attribute.
029         * </p>
030         * @return id for KEW type related to the attribute.
031         */
032        public String getTypeId();
033
034        /**
035         * This is the id of the definition of the attribute. 
036         *
037         * <p>
038         * It identifies the attribute definition
039         * </p>
040         * @return the attribute definition id.
041         */
042        public String getAttributeDefinitionId();
043
044        /**
045         * This is the sequence number of the attribute
046         * 
047         * @return the service name of the KewTypeAttribute
048         */
049        public Integer getSequenceNumber();
050
051        /**
052         * This is the definition of the attribute
053         */
054        public KewAttributeDefinitionContract getAttributeDefinition();
055}