1 /** 2 * Copyright 2010 The Kuali Foundation Licensed under the Educational 3 * Community License, Version 2.0 (the "License"); you may not use 4 * this file except in compliance with the License. You may obtain a 5 * copy of the License at 6 * 7 * http://www.osedu.org/licenses/ECL-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 12 * implied. See the License for the specific language governing 13 * permissions and limitations under the License. 14 */ 15 16 package org.kuali.student.contract.model.test.source; 17 18 19 /** 20 * A common interface pattern for service entities. 21 * 22 * @author tom 23 * @Since Tue Apr 05 14:22:34 EDT 2011 24 */ 25 26 public interface Entity 27 extends HasPrimaryKey, 28 HasType, 29 HasState, 30 HasAttributesAndMeta { 31 32 /** 33 * A display name for this entity. 34 * @name Name 35 */ 36 37 public String getName(); 38 39 40 /** 41 * A description of the entity. 42 * @name Description 43 */ 44 45 public RichTextInfo getDescr(); 46 }