View Javadoc

1   /**
2    * Copyright 2004-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
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  }